Tuesday, January 1, 2013

WHM/cPanel 500 error

Internal Server Error 500
No response from subprocess (whostmgr (cpanel)) with exit signal: 0

# tail -f /usr/local/cpanel/logs/error_log
warn [whostmgr10] Unable to write datastore file: /root/.cpanel/datastore/_usr_local_cpanel_cpanel_-F: target directory does not match uid 0 at /usr/local/cpanel/Cpanel/CachedCommand/Save.pm line 24
        Cpanel::CachedCommand::Save::_savefile('/root/.cpanel/datastore/_usr_local_cpanel_cpanel_-F', SCALAR(0x100ed20)) called at /usr/local/cpanel/Cpanel/CachedCommand.pm line 210
        Cpanel::CachedCommand::_cached_cmd('binary', '/usr/local/cpanel/cpanel', 'args', ARRAY(0x10479f0), 'mtime', 1356972302) called at /usr/local/cpanel/Cpanel/CachedCommand.pm line 27

I have seen some root files are in wrong file permission. After correcting this i have restarted my cPanel service in the server fixed my issue.

service cpanel restart

2 comments:

  1. What are those files buddy, what did you try to Fix it...

    It looks a worst post

    ReplyDelete
    Replies
    1. In my case the wrong permission found in /root directory , and i have changed to root:root

      Delete