Check emails in mail queue root@server [~]# exim -bp Count number of emails in mail queue root@server [~]# exim -bpc Count number of frozen emails in mail queue root@server [~]# exim -bp | grep frozen | wc -l Delete forzen emails from the mail queue exim -bp | awk ‘$6~”frozen” { print $3 }’ | [...]
LogView Install Instructions Login to your server as a root user wget http://www.logview.org/logview-install chmod +x logview-install ./logview-install Wait for install complete message rm -f logview-install LogView is now installed on your server! Login to WHM Go to Add-Ons >> LogView – File System Log Viewer Start using LogView
Cannot compressing files into zip format using the built in cPanel compressor: (internal death while parsing ./frontend/x3/filemanager/live_fileop.xml) Tue Aug 11 19:04:14 2009 [30234] error: open3: exec of zip -r /home/fxhost/public_html/player/hsplaylist.xspf.zip hsplaylist.xspf index.html mhsplaylist.xspf failed at /usr/local/cpanel/Cpanel/SafeRun/Errors.pm line 21 Carp::croak(‘open3: exec of zip -r /home/fxhost/public_html/player/hsplayli…’) called at /usr/lib/perl5/5.6.2/IPC/Open3.pm line 230 IPC::Open3::_open3(‘open3′, ‘Cpanel::SafeRun::Errors’, ‘<&RNULL’, ‘GLOB(0xb0e4500)’, ‘GLOB(0xb0e4500)’, ‘zip’, [...]
This is an exclusive! and free! add-on product for cPanel/WHM. The product provides you with a full featured Filesystem explorer and a Virtual Console to use within your web browser in WHM. It gives you root access from the top level of your disks and allows you to enter non-interactive commands and see the output. [...]
How to change cPanel theme for multiple accounts? The cPanel theme for an account is specified in the /var/cpanel/users/username file in the format RS=value For example: BWLIMIT=unlimited DEMO=0 DNS=domainname.com FEATURELIST=default HASCGI=1 IP=IPHERE LANG=english LOCALE=en MAXADDON=0 MAXFTP=0 MAXLST=0 MAXPARK=0 MAXPOP=5 MAXSQL=0 MAXSUB=0 MTIME=1271068514 OWNER=root PLAN=default STARTDATE=1228721668 USER=username RS=x3 where, x3 is the theme. WHM only provides [...]
April 29th, 2013 |
admin |
Following are the logs files on a cPanel server for different services: Apache Logs: /usr/local/apache/logs/access_log /usr/local/apache/logs/error_log Exim Logs: /var/log/exim_mainlog /var/log/exim_paniclog /var/log/exim_rejectlog Ftp Logs: /var/log/messages Mysql Logs: /var/lib/mysql/server.hostname.err ChkServd Logs: /var/log/chkservd.log Named (Bind) Logs: /var/log/messages Last logins to server: /var/log/wtmp (but to view the details, execute the command “last”) Domlogs of an Account: /usr/local/apache/domlogs/domainname.tld Mod [...]
April 25th, 2013 |
admin |
To add a swap file: Determine the size of the new swap file in megabytes and multiply by 1024 to determine the number of blocks. For example, the block size of a 64 MB swap file is 65536. At a shell prompt as root, type the following command with count being equal to the desired [...]
April 22nd, 2013 |
admin |
“DomainKeys” is an anti-spam software application that uses a public key, cryptography to authenticate the sender’s domain. cPanel offers a installer script “domain_keys_installer” using which the DomainKeys can be created and added automatically for a domain. By default the DomainKeys is not added when the account is created on the server, it has to be [...]
April 21st, 2013 |
admin |
There was an error when you login Cpanel Can’t locate GDBM_File.pm in @INC (@INC contains: /usr/local/cpanel /usr/local/cpanel/perl /usr/local/cpanel/Cpanel/CPAN/overload/__Digest /usr/local/cpanel/build-tools/stubs /usr/lib/perl5/5.6.2/i686-linux /usr/lib/perl5/5.6.2 /usr/lib/perl5/site_perl/5.6.2/i686-linux /usr/lib/perl5/site_perl/5.6.2 /usr/lib/perl5/site_perl .) at /usr/local/cpanel/Cpanel/Locale/Utils.pm line 14. Cpanel::Locale::Utils::BEGIN() called at GDBM_File.pm line 14 eval {…} called at GDBM_File.pm line 14 require Cpanel/Locale/Utils.pm called at /usr/local/cpanel/Cpanel/Locale.pm line 15 Cpanel::Locale::BEGIN() called at GDBM_File.pm line 14 [...]
April 14th, 2013 |
admin |
If you’re interesting in saving a copy of all incoming and outgoing mail for a particular domain, look no further! This can be expanded a little further to include all domains on the server or other stipulations, but I am going to include the config for a single domain. First we’ll need to make a [...]