Month: April 2006

Getting blank page on taking cpanel.

There are many issues associated with this. Steps to resolve the issue is

1 ) Check the cpanel error log to check what error comes up when taking a cpanel

2 ) If you get the below error

error: Unable to locate httpd.conf at /usr/local/cpanel/Cpanel/HttpUtils.pm line 64.

Then the solution is as below.

# chmod 755 /usr/local/apache/conf

Also check the permission of the httpd.conf file, it should ideally have the permission below

-rw——- 1 root wheel 400675 Apr 13 08:12 /usr/local/apache/conf/httpd.conf

Hope this helps you resolve the issue.

Semget: No space left on device here.

If you get the error “Semget: No space left on device here” in apache error log. Make sure that you are replacing nobody with corresponding apache user.

 # ipcrm sem `ipcs|grep nobody|awk ‘{print $2}’`

or

# ipcrm sem `ipcs|grep apache|awk ‘{print $2}’`

or

View the sem value using the below command

# ipcs -ls

or

 # cat /proc/sys/kernel/sem

and increase the value

 # echo “32000 32000 512 512″ > /proc/sys/kernel/sem

This happens on most of the server which has high apache actvity.