Archive for October, 2008

Microsoft Windows 2000 - Problem Starting Computer Management Console

Sunday, October 19th, 2008

When are you having problem to start up Computer Management Console, one of the error you will see in the Windows 2000 error log is;

“Temporary directory is not found or there is not enough disk space …”.

The error message means that Windows is unable to locate Temp Directory (temporary directory). In order to find out system default Temp Directory, Use “echo %TEMP%” to output System Default Temporary Directory folder configuration

If the Temporary Directory is not exist, create one at the sub folder.

Try again to launch your Computer Management Consol, it should works fine now :)

Apache and PHP Causes Horde Errors

Monday, October 13th, 2008

It’s always PITA when comes to situation where you want to upgrade an application on old / out dated Linux box. We came across to a situation where Horde is giving error, where actually PHP is the culprit who caused the problem.

Problem:

While configuring latest version of horde on an old Linux Box, test.php failed with error message shown in Apache Error Log:

PHP Fatal error:  Failed opening required ‘Horde/String.php’ (include_path=’/my/document/root/path/horde/libPATH_SEPARATOR/my/document/root/path/horde/lib:/my/document/root/path/horde:/my/document/root/path/horde/pear’) in /my/document/root/path/horde/lib/Horde/NLS.php on line 9″

Solution:

Link pear directory to /c/program/my_document/horde/ and add the following line to Apache Virtual Host :

php_admin_value include_path “.:/my/document/root/path/horde/lib:/my/document/root/path/horde:/my/document/root/path/horde/pear”

Guess it will temporary solve the problem but to solve it permanent it, upgrade the Linux box to FreeBSD ;)

ifconfig - NIC capabilities / functions

Friday, October 10th, 2008

find out what is the capability of an network interface, e.g. :

ifconfig -m vr0

configure / set media types of a NIC, e.g :

ifconfig vr0 media 100baseTX
ifconfig vr0 media autoselect

Network Time Protocol Sync with External Server on Windows Server

Thursday, October 9th, 2008

configure / set network time server :

net time /setsntp:0.pool.ntp.org

start the network time services :

net stop w32time

net start w32time

check whether network time is in sync :

net time /querysntp

windows 2000 - command line (cmd) command auto completion

Wednesday, October 8th, 2008

By default, windows 2k server does not activate this function. Do this to activate it :

  • start regedit
  • goto HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor
  • change the keyword “CompletionChar” from 64 to 9
  • close all command line window and start and new window

Voila!