Saturday, March 8, 2008

Dlink DI-624 disconnects

Problem:
DI-624 disconnects every few minutes. The problem escalates with more wireless clients, or when a BitTorrent software runs in the background.

Solution:
It seems that the issue can be resolved by simply disabling the UPnP function in the router.
Note that the router still couldn't handle high amount of simultaneous connections, so please tune your BitTorrent application accordingly.

Saturday, March 1, 2008

Sharepoint search crawl failed

Problem:
Sharepoint's indexing service unable to crawl site. Error given as follows.
[To be updated]

Possible Solutions:
1) In my scenario, the problem was caused by a impersonate="false" setting in web.config. Somehow, the Indexing service requires impersonation to be true. However, some custom Sharepoint pages may require impersonation to be disabled. If impersonation cannot be enabled for your application, try the following alternative.

In Sharepoint's Central administration, you can extend the web application. By doing this, you are essentially creating a second web app site (with a different port number) for your application. However, the content source are shared with the original web app. Thus both sites are actually identical. Now, the newly created web app site would have impersonation enabled by default.

In your crawler settings, replace the original site path with the new port number.
Eg: Original is http://mysite, New is http://mysite:2434

The indexing/crawling will now function and search results will be redirected to http://mysite.

[Detailed steps to be updated]

Tuesday, December 25, 2007

VMware tools not running


Problem:
Cannot install VMware tools by selecting the install on the menu

Possible Solutions:
1) VMware tools run by loading an ISO image into the CD drive, if autorun is disabled, it cannot install automatically.
In the VM, go to the CD drive, it should be loaded with VMware tools setup. Run setup.exe manually from there.

2) The VM OS could be hardened. Windows Installer may be disabled, thus VMware tools setup can't run.
Run the following command
msiexec.exe /regserver
Ensure that the service Windows Installer is up and running. Try running VMware tools again.

Trick - Locking a windows folder

Trick:
Locking a windows folder

Solution:
I got this somewhere on the net.
1) Consider you want to lock a folder named caclub in your f:\, whose path is f:\caclub
2) Now open the Notepad and type the following ren caclub caclub.{21EC2020-3AEA-... More»1069-A2DD-08002B30309D}
3) Where caclub is your folder name. Save the text file as loc.bat in the same drive.
4) Open another new notepad text file and type the following ren caclub.{21EC2020-3AEA-1069-A2DD-08002B30309D} caclub
5) Save the text file as unloc.bat in the same drive. --------- Usage: ---------
6) To lock the caclub folder, simply click the loc.bat and it will transform into control panel icon which is inaccessible.
7) To unlock the folder click the unloc.bat file. Thus the folder will be unlocked and the contents are accessible.

Oracle OEM wrong password

Problem:
Although you are damn sure the password is right, but OEM simply doesn't agree.

Solution:
You might have changed your security policies (hardened??).
GO local security policy, add the windows/AD user to 'Log on as batch job'

Oracle OEM died


Problem:
I only changed my Oracle server's IP or hostname and the whole Oracle Enterprise Manager thing died on me!

Solution:
Oracle OEM depends on the IP and Hostname that is during the installation. So if its changed, things will go wrong.

Soln:

Perform the following steps.
1) Run the following, this will remove entire OEM setup from Oracle
emca -deconfig dbcontrol db -repos drop

2) RUn the following, this will remove the orphaned OEM console service
sc delete consoleServiceName

3) Remove the existing listener with Net Configuration Assistant.

4) Change listener.ora and tnsnames.ora to fit the current IP and hostname settings.

5) Restart the remaining oracle services. (Restart comp if not sure)

6) Add new listeneer with Net Config Assistant

7) Ensure Listener and Database instance are up
Run the following, this will reinstall the entire OEM setup for oracle.
emca -config dbcontrol db -repos create


8) Open the Enterprise Manager Console and try again

Oracle database cannot start


Problem:
Oracle database 10g simply refuse to start.

Possible solutions:
1) The listener may not be working properly. If sample database was not created during first database creation, then a listener is not included in installation. Run Net Configuration Manager to create a new listener.

2) System just rebooted, services has not started yet. Type services.msc and check if the oracle services are up.