Archive for the ‘cpanel’ Category

How to set E-mail size in exim?

You can set the E-mail size limit from your WHM. First login into WHM Second select “Exim Configuration Editor”  present unde ” Service Configuration” section. Third scroll down and  click on  “Advanced Editor” optoin. You will see  the empty box (remember select first empty box) where you can type  (right underneath where you see #!!# […]

Database sizes shows zero in cPanel?

Once we upgrade from cPanel 11.24 to 11.25 version. We are receiving lots bug. One of them is database size showing zero in cPanel. To resolve this issue you have to edit following file /var/cpanel/cpanel.config root@support[~]vi /var/cpanel/cpanel.config Search line “disk_usage_include_sqldbs” in file “ /var/cpanel/cpanel.config “and change it From   disk_usage_include_sqldbs=0 to disk_usage_include_sqldbs=1 And run script -/scripts/update_db_cache  

Ownership wrong for cPanel users.

Sometime when we migrate the servers by using rsync we face ownership problems for cPanel users files/directories. At that time we can use following command from shell to resolve issue within few minutes. —— for i  in `cat /etc/trueuserdomains   | awk ‘{print $2}’` do chown $i.$i /home/$i -R; chown $i.mail /home/$i/etc -R; chown $i.nobody /home/$i/public_html; […]

Internal Server Error “cPanel user” is over quota.

Some time we receive following error message while browsing webmail etc. Internal Server Error User ‘test ‘ is over quota ——————————— cpsrvd/11.25  server at xx.xx.xx.xx.   Solution : To resolve above error refer following steps. root@server[~]#cd /var/cpanel/overquota/ root@server [/var/cpanel/overquota]#ll | grep your_cpanel_user_name Once you found out file for your cPanel user name either remove the […]

New subdomain missing cgi-bin directory.

While creating new subdomain from cPanel we are missing cgi-bin directory. At that time refer following steps. Login in to WHM and check the domains hosting account package allow “CGI Privilege” or not. If not then enable “CGI Privilege” by editing packages. WHM >> Account Functions >> Modify An Account and select the user from […]

Rename package names on cPanel server.

Many time we like to rename package name for our hosting accounts but as hosting account is assigned to large number of user and we can’t reassign package one by one to all users as its time consuming process at that time we can refer following steps to secure time. First login in to shell […]

Nameserver IPs not showing in WHM?

In recent cPanel version “Nameserver IPs” section won’t show ips. All ips are present in /etc/nameserverips file but still ips missing. root@root[~]# cat /etc/nameserverips 198.168.0.1=ns1.test.com 198.168.0.2=ns2.test.com In that case correct ips entry in the following /var/cpanel/nameserverips.yaml file. root@root [~]# cat /var/cpanel/nameserverips.yaml — ns1.test.com: “198.168.0.1?: 1 count: 1 zones: test.com ns2,.test.com: 198.168.0.2: 1 count: 1 zones: […]

How to install the imagick on cPanel server

Login in to the server as root user and run the commands one by one and if you have any problem then let us know.. server@root[~]# cd /usr/local/src server@root[/usr/local/src]#wget http://pecl.php.net/get/imagick-2.2.0.tgz server@root[/usr/local/src]#tar -zxvf imagick-2.2.0.tgz server@root[/usr/local/src]#cd imagick-2.2.0 server@root[/usr/local/src/imagick-2.2.0]#phpize server@root[/usr/local/src/imagick-2.2.0]#./configure server@root[/usr/local/src/imagick-2.2.0]#make server@root[/usr/local/src/imagick-2.2.0]#make install    

Update the webalizer logs manually

To update the webalizer for the single domain refer the following steps, for your kind information if domlogs are rotated on the server then it could be possible that you will miss the existing stats therefore run the command after taking all the essential files backups. root@server [~]#/usr/local/cpanel/3rdparty/bin/webalizer /usr/local/apache/domlogs/DomainName -n DomainName For example we are […]

Squirrelmail error – cannot sending mails

If you are getting an error while sending mails using the webmail client ‘Squirrel mail’; Server replied: 451 Temporary local problem – please try later. SOLUTION  This error is due to the missing entry of the recipient domain in ‘/etc/localdomains’. $ vi   /etc/localdomains ( Add the domain name in this file) Then restart the Exim […]