Important cPanel Scripts

WHM/cPanel Scripts are located in /scripts/ /scripts/adddns – Adds a DNS zone. /scripts/addnetmaskips – Add the netmask 255.255.255.0 to all IPs that have no netmask. /scripts/addnobodygrp – Adds the group nobody and activates security. /scripts/addpop – Add a Pop Account. /scripts/addservlets – Add JSP support to an account (requires tomcat). /scripts/adduser – Add a user […]

Perl error while running weblogs on the server

Error : error: List::Util object version 1.14 does not match bootstrap parameter 1.18 at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/XSLoader.pm line 92 Solution: If you are getting perl error while running /scripts/runweblogs do as follows : 1) Check the perl version on the server using following command Perl -v 2)  If you are getting following error while running runweblogs script […]

How to udpate stats?

To update stasts on cPanel server for particular user, use following steps. 1. Restart Cpanel service service cpanel restart 2. Restart crond service service crond restart 3. Update stats using following script. /scripts/runweblogs username It will update the stats.