Archive for August, 2005

Which bootloader am I using?

Monday, August 29th, 2005

Some of you have propably wondered many times, which bootloader you are using.

I prefer grub but sometimes systems come pre-installed with lilo.

On RHEL and clones, you may use the following command for information:

grubby --bootloader-probe

If you want to swap to grub, the following command may be of help:

grub-install /dev/hda

File Manager cant access httpdocs

Wednesday, August 17th, 2005

You receive the following error when accesing httpdocs through the control panel,

Unable to change directory to /httpdocs/: Invalid file name.

The problem is caused by invalid charachters in the files names uploaded, so fat it seems that the following could
cause the problem,

“&”, “`”, “‘ “, ” [ and ]”

The solution is to change the filenames.

Unable to remove sub domains from Plesk for windows

Monday, August 15th, 2005

The normal cause of this is that IIS lost the sub domain entry.

Without this entry you won’t be able to manage the sub domain in your Plesk Control Panel.

The entry must be re-created in IIS.

When creating the sub domain in IIS, the default path for the sub domain to use,

Once added log into the control panel and remove or edit the sub domain.

Moving tomcat4 logging on Plesk

Monday, August 8th, 2005

To add logging on a Plesk-Tomcat 4 server, to a domain name, add the following code to the server.xml file.

<logger className="org.apache.catalina.logger.FileLogger" directory="/home/httpd/vhosts/" suffix=".log" timestamp="true"/>

Make sure that the /home/httpd/vhosts/ directory have the following permissions:

drwxrwxr-x 2 root tomcat4 4096 Aug 8 17:35 tomcat4

Opensource Control Panels

Friday, August 5th, 2005