Did you do something stupid on your server, and now you’re locked out and can’t get back in to fix it?  Luckily cPanel bundled in some autofixer scripts that you can use to correct some common problems directly from WHM if you don’t have SSH access to the server, or you don’t know how to fix them.  All the scripts can be called by accessing the following URL:

https://yourserverip:2087/scripts2/autofixer

Below are the script names that you may find the most handy:

iptablesflush - resets iptables on your server in case your firewall has locked you out from SSH

safesshrestart - restores your SSH configuration and restarts sshd in safe mode in case a change you made to the service has locked you out of SSH

yumduprpmfix - attempts resolve duplicate RPM issues within yum

You can find some more scripts here:

http://httpupdate.cpanel.net/autofixer/

These files will need to be downloaded to /usr/local/cpanel/src on your server.

Leave a Reply

You must be logged in to post a comment.



Site Navigation