Wednesday, June 24, 2009

/tmp directory full by mysql

If you experience this kind of things, please do the following steps:

1. Run ‘lsof +L1’

2. Determine PID of which process/file that consume the largest disk usage

3. Run ‘ps -ef | grep xxx” (xxx=PID)

4. Restart the services that output from command no 3

5. If the problem still happen, reboot it. /tmp will be cleared after reboot

shell_exec() has been disabled for security reasons in /tmp

If this thing happen when you want to install or update something in Fantastico De Luxe, please follow the instruction below:

1) Go into WHM as root, click on Tweak Settings, scroll down to the PHP section and make sure the IONCUBE PHP Loader is selected. Save changes if needed.
2) Log into your server as root via SSH and execute the following command:
/scripts/makecpphp

Refer to this link for more information:

http://www.netenberg.com/forum/index.php?PHPSESSID=04c012add69074f069be3dc640274ef5&topic=6795.0