Log into WHM and click on “Service Manager” under the Service Configuration grouping. Put a checkmark next to “exim on another port” (the default is port 26) then click “Save”.
cgi files generate Internal Server Error
This means that the cgi script did not execute properly. There are several causes that can generate this error so a few things would need to be checked. 1) check the /var/log/httpd/suexec_log. It contains any errors that would be as a result of not having correct permissions on the file. The file needs to be… Continue reading cgi files generate Internal Server Error
HOW-TO: Change Exim IP Address – cPanel
Change the IP exim uses to send mail – bypass sorbs (or other useless blacklists) On shared hosting server’s you’ll probably find yourself blocked by other mail providers because of high mail volume or one of your users spamming. To change your exim IP for outgoing mail, you can edit your /etc/exim.conf file and locate… Continue reading HOW-TO: Change Exim IP Address – cPanel
How to forward a website to another url using PHP
There are several ways to accomplish this task, but the simplest to understand is to use php. To do this, you need to create the page that will do the forwarding. This can be any page, as long as it ends in “.php”. If you are trying to redirect a domain, you’d create “index.php” inside… Continue reading How to forward a website to another url using PHP
Apache : Showing files in a directory
Showing files in a directory If you want to list all files in a directory that doesn’t use an index.html (or index.php) file, you can create an .htaccess file with the following contents: Options +Indexes This will tell apache that you want to list all files in the directory.
Securing CPanel
Running a WHM like Cpanel can sure make hosting easy, but unfortunately running a WHM often makes your server much less secure than it was before! We do not guaranty that the following steps will make your server hack proof, but it will greatly reduce your chances of compromise. Also note that Layered Technologies does… Continue reading Securing CPanel
Creating domain on a freshly added IP address fails in Parallels Panel for Windows
Symptoms Creating domain with hosting on the IP address that has just been added fails and the following error is returned: dnsmng::update() failed: dnsmng failed: Unknown error 0x80131501 (COM Error 80131501, Description: Generic failure ) at resetSecondaries ZoneName = ” transfer={ “” } notify={ “” } at (dnsmng::msdns::MsDnsManager::resetSecondaries line 385) at createPrimaryZone ZoneName = ”(dnsmng::msdns::MsDnsManager::createPrimaryZone… Continue reading Creating domain on a freshly added IP address fails in Parallels Panel for Windows
Parallels Power Panel show “Forbidden” error for all containers
Parallels Power Panel show “Forbidden” error for all containers, APPLIES TO: Virtuozzo Containers for Windows 4.0 Virtuozzo for Linux 3.x Virtuozzo Containers for Windows 4.5 Virtuozzo Containers for Linux 4.0 Virtuozzo for Windows 3.5.1 SP1 Symptoms The following error appears for all containers in the Parallels Power Panel: Forbidden The IP address of a physical… Continue reading Parallels Power Panel show “Forbidden” error for all containers
cPanel : UPCP error : Undefined subroutine &Cpanel::Update::automatic_updates_enabled called at /scripts/upcp line 273.
I have seen recent cPanel upgrade throwing errors are below : root@server [~]# /scripts/upcp /scripts/upcp syntax OK Running Futex Check/Fix……Done Undefined subroutine &Cpanel::Update::automatic_updates_enabled called at /scripts/upcp line 273. This can be fixed using below : wget -O /root/updatenow.static http://httpupdate.cpanel.net/cpanelsync/RELEASE/scripts/updatenow.static && perl /root/updatenow.static –manual Upgrade the cPanel : /scripts/upcp –force This should fix the issue 🙂
MySQL error ./eximstats/sends’ is marked as crashed
MySQL dies and logs shows error as below : [ERROR] /usr/sbin/mysqld: Table ‘./eximstats/sends’ is marked as crashed and last (automatic?) repair failed [ERROR] /usr/sbin/mysqld: Table ‘./eximstats/sends’ is marked as crashed and last (automatic?) repair failed A simple fix is to repair the tables using command : myisamchk -r /var/lib/mysql/eximstats/sends.MYI – recovering (with sort) MyISAM-table ‘/var/lib/mysql/eximstats/sends.MYI’… Continue reading MySQL error ./eximstats/sends’ is marked as crashed