cPanel AutoFix Scripts

cPanel comes with a number of hidden autofix commands that allow for administrators to fix common problems simply by logging into WHM and going to a special URL. Two of the most useful ones I’ve seen are flushing iptables and restarting SSH in safe mode.

You will not find the ‘scripts2’ directory in your server. To run your hidden cpanel commands you will have to login to the WHM. Then you may go to the URL

http://serverIP:2086/scripts2/autofixer

From there you can type the autofixer scripts name.

You will get the autofix commands from the link: http://httpupdate.cpanel.net/autofixer/

Here are some examples:

Reset the Firewall Settings   https://serverIP:2087/scripts2/doautofixer?autofix=iptablesflush

Reset the SSH Settings        http://serverIP:2086/scripts2/doautofixer?autofix=safesshrestart

bsdbindfix                    http://serverIP:2086/scripts2/doautofixer?autofix=bsdbindfix

Autorepair                    http://serverIP:2086/scripts2/doautofixer?autofix=autorepair

compress Zlib                  http://serverIP:2086/scripts2/doautofixer?autofix=Compress-Zlib-1.42.tar.gz

compresszlibfix                 http://serverIP:2086/scripts2/doautofixer?autofix=compresszlibfix

dbdmysql                         http://serverIP:2086/scripts2/doautofixer?autofix=dbdmysql

diagnose_apache_conf      http://serverIP:2086/scripts2/doautofixer?autofix=diagnose_apache_conf

fpindexfile                 http://serverIP:2086/scripts2/doautofixer?autofix=fpindexfile

libxml2-2.6.28.tar.gz              http://serverIP:2086/scripts2/doautofixer?autofix=libxml2-2.6.28.tar.gz

libxml64fix                 http://serverIP:2086/scripts2/doautofixer?autofix=libxml64fix

pro                            http://serverIP:2086/scripts2/doautofixer?autofix=pro

spamd_dbm_fix         http://serverIP:2086/scripts2/doautofixer?autofix=spamd_dbm_fix

test                            http://serverIP:2086/scripts2/doautofixer?autofix=test

vfilterfix                         http://serverIP:2086/scripts2/doautofixer?autofix=vfilterfix

yumduprpmfix                 http://serverIP:2086/scripts2/doautofixer?autofix=yumduprpmfix

resellerresourceacctounts   http://serverIP:2086/scripts2/doautofixer?autofix=resellerresourceacctounts

horde_sqmail_current_fix   http://serverIP:2086/scripts2/doautofixer?autofix=horde_sqmail_current_fix


Comments

Popular posts from this blog

SVN: File remains in conflict

HowTo: Enable extended logging for exim

12 tweakings for WHM/cPanel to speed up WordPress