Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Couple of "fix scripts" that can be helpful with cPanel/WHM issues.  (Read 4379 times)

0 Members and 1 Guest are viewing this topic.

akhils

  • Guest
Hi All,

Please find a couple of cPanel scripts that can be very helpful while dealing with different issues with cPanel/WHM.

Location for these scripts are under "/scripts/..."
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=
fixallcartswithsuexec - Fixes permissions on carts when using suexec.

fixallinterchangeperm - Fixes permissions on all users’ Interchange Shopping Carts.

fixbinpath - Makes sure all bin file paths are correct.

fixbuggynamed - Updates bind to solve any problems with bugs.

fixcommonproblems - Attempt to fix the most common problems.

fixetchosts - Fixes problems with /etc/hosts

fixeverything - Fix common problems and quotas.

fixfpwml - Fix for .wml errors with frontpage.

fixheaders - Run if nothing compiles errors with .h files on compile.

fixinterchange - Reinstall interchange Perl modules.

fixinterchangeperm - fix permissions on a user’s interchange cart.

fixipsnm - Same as addnetmask ips, but Perl though.

fixlibnet - Reinstall Bundle::libnet (Perl).

fixlocalhostwithphp - Change /etc/hosts to work better with PHP 4.2.0 + MySQL.

fixmailman - Updates and restarts mailman.

fixmailmanwithsuexec -

fixmuse - Reinstalls muse.

fixmysql - Fixes problems with mySQL.

fixmysqlbsd - Fixes problesm with mySQL on FreeBSD.

fixnamed - Updates bind to handle many DNS zones (more than 512).

fixndc - Repair redhat’s broken named.conf on 7.2.

fixoldlistswithsuexec - Run after enabling suexec on the server to change the URLs that Mailman gives out to ones that don’t give a 500 internal server error.

fixperl - Symlink /usr/local/bin/perl /usr/bin/perl.

fixperlscript - Makes sure a perlscript includes all corresponding modules.

fixpop - Fix a POP account and reset password.

fixproftpdconf - Fixes problems with /usr/local/etc/proftpd.conf

fixproftpddupes - Updates proftpd.

fixquotas - Fix quotas.

fixrndc - Fixes named.conf to prevent rndc staus failed.

fixspamassassinfailedupdate - Reinstalls a failed spamassassin update.

fixsubdomainlogs - Run if subdomain logs don’t show up in cPanel.

fixsuexeccgiscripts - Fix CGI scripts that are broken after suexec installed.

fixvaliases - Fix permisions on valiases.

fixwebalizer - Repair a Webalizer that has stopped updating.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Best Regards,

Akhil Sambasivan
System Engineer,
Admin-Ahead Server Technologies.
https://www.admin-ahead.com