Featured Posts

Using DKIM with Exim and cPanel Similar to the intentions of SPF records and DomainKeys, DKIM is intended to authenticate a sender by using a public/private key pair to digitally sign email, therefore increasing deliverability. At this...

Readmore

Copy Outgoing Email on a cPanel Server with Exim A common request we get is how a user can automatically BCC outgoing email to another address. This is most often requested by law firms that need to be able to retain copies of communication. Forwarding...

Readmore

Do You Care About Your Customers' Data? I was working a case last week for a new client that's been hosting local business websites for over three years. As with all of my case studies, I did a short survey of the client's infrastructure, processes,...

Readmore

Tips to Reduce Your Customer Support Costs When hosting websites, whether as a mainstream hosting provider, a hobby, or to supplement another service, it's your job to make sure your customers have access to technical support in case they need...

Readmore

Roundcube: MySQL or SQLite? cPanel 11.25 introduces a new feature: The ability to have RoundCube use SQLite instead of MySQL. After benchmarking resource usage and performance, I've come to the conclusion that SQLite is definitely...

Readmore

The cPanel Admin Rss

The cPanel/WHM Autofixer

Posted by Vanessa | Tagged under , | Posted on January 12, 2010

0

Cpanel 11.24 comes with an Autofixer that allows you to fix common problems that may prevent access to certain parts of your system. The autofixer can be envoked two ways:

/scripts/autorepair <script name>

or in WHM:

https://example.com:2087/scripts2/doautofixer?autofix=test
https://your.server.ip.here:2087/scripts2/autofixer (and enter the name of the script)

The script argument would be the name of the script you are running through the autofixer. You can find a list of autofixer scripts here:

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

So for instance, if you wanted to repair a broken SSH configuration and you can’t access SSH on your server, there is a script called ‘safesshrestart‘ in the autofixer repository that you can run:

https://example.com:2087/scripts2/doautofixer?autofix=safesshrestart

Alternatively, you can pass the script through /scripts/autorepair.

Commonly used autofixers (taken from the cPanel Documentation)

  • 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.
  • safesshrestart — Restores SSH Config and restarts SSH, should you be locked out.
  • vfilterfix — Restores /etc/vfilters files.
  • yumduprpmfix — This script will attempt to locate and resolve any duplicate RPMs.


Liking this article? Share it and spread the word!
  • Print
  • PDF
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • DZone
  • LinkedIn
  • Live
  • MySpace
  • RSS
  • Reddit
  • Slashdot
  • StumbleUpon
  • Technorati
  • Twitter

Related posts:

Write a comment