Skip to main content

Accidentally ran chown -R /

Comments

6 comments

  • hekg
    BTW, everything else including all websites on the server are running fine except that mail queue in whm is not automatically being delivered.
    0
  • cPanelMichael
    Hello :) It's very possible the ownership values are invalid and it might require a new installation of the OS and cPanel. You can review /usr/local/cpanel/logs/error_log to see the specific error message when accessing the mail queue. Also, review /var/log/exim_mainlog for additional error messages. Thank you.
    0
  • hekg
    Hi Michael, I tired to run both commands but I got a permission denied error for both :( -bash: /usr/local/cpanel/logs/error_log: Permission denied -bash: /var/log/exim_mainlog: Permission denied What can I do at this point? Thanks very much
    0
  • cPanelMichael
    Hello :) Those are log files as opposed to commands, so you have to view them with a command such as "tail -f". EX:
    tail -f /var/log/exim_mainlog
    Thank you.
    0
  • CODERNATION
    help my admin ran chown -R of the root now my site - Removed - has 500 error and my other sites on the same hosting down how do i fix this
    0
  • cPanelMichael
    help my admin ran chown -R of the root now my site - Removed - has 500 error and my other sites on the same hosting down how do i fix this

    That suggests the ownership for all files/directories on your system has been changed to "root". While you may find some manual commands that you can run to help resolve the issue, it's really a better idea to install a new OS and complete a new installation of cPanel. Then, restore the accounts on the new server from backup, or by using the transfer option in Web Host Manager if you have no previous backups available. Thank you.
    0

Please sign in to leave a comment.