You can run exim on another port by going to ‘Service Manager’ option in WHM. Below are the exact steps: # Log into WHM # Click Service Manager # Check the enable box for Exim on Another Port. # Set the port to 26 (recommended) # Click save
Author Archive
How to disable direct root login for ProFTP?
You can disable direct root login for ProFTP by modifying the proftpd.conf file. Modify /etc/proftpd.conf Add RootLogin off Restart ProFTP /sbin/service proftpd stop /sbin/service proftpd start
/usr partition 100% full in Control Panel.
The /usr partition on this server is running out of disk space. WHM operation has been temporarily suspended to prevent something bad from happening. Please ask your system admin to remove any files not in use on that partition. You can check the size of error_logs and access_logs on your Linux server and in case […]
How to run cgi/perl file outside cgi-bin in cpanel server?
To run cgi/perl file outside cgi-bin in cPanel server you will need to add following lines in .htaccess files so it executes cgi scripts in any folder outside cgi-bin folder. AddHandler cgi-script .pl .cgi Options Includes ExecCGI
Starting MySQL couldn’t find MySQL Manager
While doing a mysql start you may sometimes get the following error: Starting MySQLCouldn’t find MySQL manager (/var/lib/bin/mysql) or server (/var/lib/bin/mysqld_safe) To fix this you need to comment out or remove the basedir directive line from /etc/my.cnf file [mysql.server ] server=mysql #basedir=/var/lib Now restart mysql # service mysql restart
Addon Domain vs. Parked Domains.
In case if you have ever wondered the difference between Addon Domain and a Parked Domain when adding them from within cPanel, here is what will help you understand: Characteristic Addon Domains Parked Domains Main domain appears in the address bar Yes No Separate stats Yes No Apache directive used VirtualHost ServerAlias Separate logs […]
Mysql gives error of access denied for root@localhost on cPanel Servers
The most possible cause of this error is an incorrect password. You can usually find the correct password in this file: /root/.my.cnf. The file will contain the first root password the server was given once cPanel is installed. If it still does not work, you will need to reset the mysqld root password. To do so […]
How do I uninstall / remove Tomcat
You can use the following commands to uninstall Tomcat. cd /usr/sbin/stoptomcat rm -f /usr/sbin/starttomcat rm -f /usr/sbin/startomcat rm -f /usr/sbin/stoptomcat It is important that you remove all mod_jk lines from httpd.conf, includingaddmodule, loadmodule, and include line.
How to change SMTP port number
To set an alternate SMTP port in Microsoft Outlook Express: In Microsoft Outlook Express go to Tools > Accounts Click the Mail tab. Click the account and then click Properties. Click the Advanced tab Change “Outgoing mail (SMTP)“. The alternate port will be provided to you by your host, which is generally 25 or 587 Click Apply and then OK. To set an alternate SMTP […]
Method to take mysql dump of table structures
In order to take the dump of a database table structure you can use the option “-d” of mysqldump. The syntax is given below. $ mysqldump -u USERNAME -p -d DATABASENAME –tables TABLENAME1 TABLENAME2 > FILENAME.sql Replace the USERNAME, DATABASENAME, TABLENAME, FILENAME with the original one. You can verify the file for the table structures. […]








