Sunday, January 25, 2009

when /cpanel /webmail shortcut came “Internal Server Error”

when /cpanel /webmail shortcut came “Internal Server Error”

Check ulimit inside httpd, otherwise add the line

# nano -w /etc/init.d/httpd

ulimit -n 1024
ulimit -n 4096
ulimit -l unlimited
ulimit -m unlimited
ulimit -s unlimited

# /etc/init.d/httpd restart

Try again. This should fix the problem.

Otherwise, execute this command to see if it is ‘semaphore’ problem

# for semid in `ipcs -s | grep apache | cut -f2 -d" "`; do ipcrm –s $semid; done

If it is ‘semaphore’

# /etc/init.d/httpd restart
# tail /usr/local/apache/logs/error_log
# /usr/local/apache/bin/apachectl startssl
# tail /usr/local/apache/logs/error_log

Otherwise, reboot server and it should be working & report issue to our technical support department

# shutdown –r now

0 comments: