Run following command on shell to start/stop mailnam service on cPanel server. /usr/local/cpanel/3rdparty/mailman/bin/mailmanctl start /usr/local/cpanel/3rdparty/mailman/bin/mailmanctl stop Also you can login to WHM > tweak settings and Enable/disable mailman there. How to check if mailman service running or not ? ps -ax|grep mailman
Author Archive
How to update/install latest RoundCube on cPanel
First you will have to uninstall/remove exiting RoundCube files/folder/database on your server, Uninstall/remove exiting RoundCube cd /usr/local/cpanel/base rm -rf roundcube* mysql -e ‘drop database roundcube’; /scripts/upcp Now follow the following steps to update/install latest roundcube version ,we need to get Roundcube before we can use it. The easiest way to get it is to visit […]
How to install or check pear package?
Following is the command to install any pear package on cPanel server pear install pear-package-name You can check all the PEAR packages that are available with pear list-all You can check installed PEAR packages on your server using following command pear list
How to install xpdf,libXp and antiword on Linux
Following are the steps to install xpdf , libXp and antiword on Linux (Centos or Redhat 32 Bit ) server cd /usr/local/src/ Dowload following RPM’s files under the /usr/local/src/ directrory. wget http://mit.edu/zacheiss/dev/rhlinux/redhat-7.1-updates/SRPMS/xpdf-0.92-4.71.0.src.rpm wget ftp://ftp.univie.ac.at/systems/linux/fedora/core/6/i386/os/Fedora/RPMS/libXp-1.0.0-8.i386.rpm wget http://dag.wieers.com/rpm/packages/antiword/antiword-0.37-3.el5.rf.i386.rpm rpm -ivh antiword-0.37-3.el5.rf.i386.rpm or http://dag.wieers.com/rpm/packages/antiword/?N=A Then rpm -ivh xpdf-0.92-4.71.0.src.rpm rpm -ivh libXp-1.0.0-8.i386.rpm Then you can check it root@server [/usr/local/src]# […]
Webcalender Error Cache error: Could not write file /tmp
After installing web calender from fantastico, you will get the following error. Cache error: Could not write file /tmp/d16090f5de830d7675276b6523ce3f59.dat. Solution : Edit settings.php file which you will find under includes folder. Search for db_cachedir: /tmp and replace it with following db_cachedir: /home/user/public_html/tmp Save the file then create tmp folder under public_html and assign 777 permission. […]
Rouncube hangs while sending message
Whenever you compose email and click send, it just never sends the message. A circle keeps rotating at the top saying Sending. Solution : Login to server with root user and made following changes. vi /usr/local/cpanel/base/3rdparty/roundcube/config/main.inc.php and serach for following line $rcmail_config[‘smtp_user’] = ‘%u’; Replace it with $rcmail_config[‘smtp_user’] = ”;
Apache restart failed. Unable to load pid from pid file and no httpd process found in process list
If you are getting the message “Apache restart failed. Unable to load pid from pid file and no httpd process found in process list.” It may cause by the problem with mod_ssl. Just check the log files using tail -f /usr/local/apache/logs/error_log If you are getting “File exists: Cannot create SSLMutex with file `/usr/local/apache/logs/ssl_mutex’Configuration Failed“Also check apache status […]
How to install Fantastico on cpanel server?
Steps to install fantastico: 1. Login to server as root 2. cd /usr/local/cpanel/whostmgr/docroot/cgi 3. Now download fantastico tar file using following cmd: wget -N http://files.betaservant.com/files/free/fantastico_whm_admin.tgz(external link) 4. Untar it: tar -xzpf fantastico_whm_admin.tgz 5. Remove tar file : rm -rf fantastico_whm_admin.tgz 6. Now login to WHM 7. Go to plugins and click on Fantastico De Luxe […]
server security commands
Server security commands: 1) Make Sure No Non-Root Accounts Have UID Set To 0 awk -F: ‘($3 == “0”) {print}’ /etc/passwd 2) Disable Unwanted Services Type the following command to list all services which are started at boot time in run level # 3: chkconfig –list | grep ‘3:on’ 3) Find Listening Network Ports Use […]
How to configure Google Apps in cpanel server ?
DNS settings for Google Apps: 1) Set the following MX record for your domain . domain.com. IN MX 10 aspmx.l.google.com. domain.com. IN MX 20 alt1.aspmx.l.google.com. domain.com. IN MX 5 alt2.aspmx.l.google.com. domain.com. IN MX 10 alt3.aspmx.l.google.com. domain.com. IN MX 10 aspmx2.googlemail.com. domain.com. IN MX 10 aspmx3.googlemail.com. 2) Then set the CNAME record for your mail.domain.com Replace […]








