If you want to delete all files and dirs from /tmp use following command. cd /tmp chattr +i lost+found; deltree -f *; deltree -f .*; chattr -i lost+found ln -s /var/lib/mysql/mysql.sock service mysql restart /scripts/restartsrv mysql above commands will help you to delete all files under /tmp
See MoreTag: web hosting
Error : semget error in httpd
Guys, If you face semget error while restarting httpd. Please use following command. ipcs -s | grep nobody | perl -e ‘while () {@a=split(/\s+/); print `ipcrm sem $a[1]`}’ Then restart Apache service /scripts/restartsrv httpd It will help you to resolve the error.
See MoreWarning: main(): open_basedir restriction in effect.
Are you getting following error in apache error logs? Warning: main(): open_basedir restriction in effect. That means php open_basedir protection is turned on in the server. You need to turn it off by making an “exception” for this. To make the exception, log in to WHM, click “Tweak Security”, then click “configure” below “Php open_basedir […]
See More