Saturday, June 2, 2012

What is the WHM Autofixer?

The Autofixer is a collection of scripts that can be run from WHM to fix some common issues not otherwise fixable or accessible from command line. i.e. SSH access is not available by some reason.


Few common autofixers:-


- test — Test autofixer on your system, nothing gets changed.
- bsdbindfix — Resolve port issue with BIND 9.
- compresszlibfix — Fix for compress zlib error.
- dbdmysql — DBD::mysql fix for older version of Red Hat (i.e. 7.3).
- fpindexfile — Fix for FrontPage index.
- iptablesflush — Flush iptables rules from WHM if you are firewalled from SSH access.
- libxml64fix — Fix for libXML on 64-bit systems.
- resellerresourceacctounts — Fix for reseller resource accounts.
- vfilterfix — Restores /etc/vfilters files.
- yumduprpmfix — This script will attempt to locate and resolve any duplicate RPMs.


- safesshrestart — Restores SSH Config and restarts SSH, should you be locked out.
>> This is one of the best fixer I have dealt with :) It just re-configures SSHD service on port 22


How to make use of it?


e.g.

https://xx.xx.xx.xx:2087/scripts2/doautofixer?autofix=safesshrestart
https://xx.xx.xx.xx:2087/scripts2/doautofixer?autofix=disable_cphulkd



xx.xx.xx.xx - replace with your server IP address


Autofixer scripts can always be found at http://httpupdate.cpanel.net/autofixer/




Ref - 
http://docs.cpanel.net/twiki/bin/view/AllDocumentation/AllFAQ/WHMsFAQ#What is the WHM Autofixer?