Disable Mod Security for a specific file or domain

There are several ways to disable Mod Security for a specific domain, or location within a domains pages. More often then not, when you add a new domain after installing mod_security, you will see apache 500 errors when you try to post or a client tries to post a response in a forum. This can…


Spamd keeps failing

If spamd keeps failing, SSH into the server and run the following commands (in order): ps auxfww | grep spamd kill -9 PID /scripts/perlinstaller –force Digest::SHA1 /scripts/fixspamassassinfailedupdate /etc/init.d/chkservd restart


View compiled apache modules

If Apache v2.x is installed on your server, you can view all of the modules compiled in with Apache by running the following command: httpd -l Also, you can use the following parameters. -v Print the version of httpd -L Output a list of directives together with expected arguments and places where the directive is…


Fatal error: Maximum execution time of 300 seconds exceeded with phpMyAdmin

PHPMyAdmin will not work for uploading large mysql databases. If you are working with phpMyAdmin and need to upload a large database you will often get the error “Fatal error: Maximum execution time of 300 seconds exceeded with phpMyAdmin”. This is because in the phpMyAdmin configuration there is a setting which causes phpMyAdmin to timeout…


Prosper202: The table ‘202_clicks_spy’ is full

I came across this error today when a client called and was having difficulty with his database while running Prosper202. Prosper202 is a pay per click affiliate marketing software. If you are getting the “The table ‘202_clicks_spy’ is full” error message, then you will want to run these command from phpMyAdmin; Login to WHM, then…


tmp folder 100% full

I recent came across an issue where the /tmp folder was being listed as 100% full df -H | grep -vE ‘^Filesystem|tmpfs|cdrom’ /dev/sda7 2.1G 514M 1.5G 27% / /dev/sda8 124G 2.5G 115G 3% /home /dev/sdb1 156G 1.2G 146G 1% /backup /dev/sda6 2.1G 2.1G 0M 100% /tmp <


cPanel access denied for user modsec at mysql localhost

cPanel access denied for user modsec at mysql localhost If you get this email: /etc/cron.hourly/modsecparse.pl: DBI connect(’modsec:localhost’,’modsec’,…) failed: Access denied for user ‘modsec’@’localhost’ (using password: YES) at /etc/cron.hourly/modsecparse.pl line 19 Unable to connect to mysql database at /etc/cron.hourly/modsecparse.pl line 19. and you are using old cPanel/Apache 1.3 just goto whm -> Plugins then remove and…


Phpmyadmin upload error

Fatal error: Maximum execution time of 300 seconds exceeded with phpMyAdmin In the past, when trying to upload a database, PHPMyAdmin will not work and will throw the error; ***Fatal error: Maximum execution time of 300 seconds exceeded*** This will usually occur when uploading very large mysql databases. To repair this issue, you will need…


cpHulk WHM locked out

Earlier a client was locked out of one of his server by cphulkd. When trying to access the servers WHM interface we were getting the following message: ————————————————————————————— This account is currently locked out because a brute force attempt was detected. Please wait 10 minutes and try again. Attempting to login again will only increase…


Cpanel warn: Attempt to free unreferenced scalar

This is in reference to the Cpanel Package creation warning message seen here: Attempt to free unreferenced scalar The client was attempting to create packages for a reseller via WHM. WHM was showing a blank page and it did not appears that the packages were being created. In checking the CPanel error logs, located in…