Monthly Archives: August 2010

Premature end of script headers: /usr/local/cpanel/cgi-sys/FormMail.cgi

If you get the following error while accessing FormMail in a cpanel server, Premature end of script headers: /usr/local/cpanel/cgi-sys/FormMail.cgi Make sure the file FormMail.cgi has 755 permission and ownership as follows: -rwxr-xr-x 1 root wheel 1219000 Aug 3 03:52 FormMail.cgi … Continue reading

Posted in cPanel | Leave a comment

Disk Inode usage

To find the disk inode usage in a server, run the following command: df -i To calculate the disk inode usage by all users. repquota -a To find the number of files in a folder & subfolders, run the following … Continue reading

Posted in Linux- HOWTOs and FAQs | Leave a comment

How to find mailman version in a cpanel server

To find the mailman version, run the following commands: cd /usr/local/cpanel/3rdparty/mailman/bin/ ./version To update mailman cd /usr/local/cpanel/3rdparty/mailman/bin/ ./update To reset mailman password, use the script ./change_pw with the following options. -a Change password of all lists. -d domain.com Change the … Continue reading

Posted in cPanel | Leave a comment

Webmail-Internal server error – user is over quota

If you get the following error when you access an email account via webmail. Internal Server Error User ‘cpanel_user’ is over quota. Make sure the cpanel account is not over quota. If account is over quota, remove unwanted files to … Continue reading

Posted in cPanel | Leave a comment

Display date and time in history command

Just add the following line in /root/.bashrc HISTTIMEFORMAT=”%Y-%m-%d %H:%M:%S ” Output will be as follows: 1005  2010-08-09 01:21:38 history

Posted in Linux- HOWTOs and FAQs | Leave a comment

Setting Phusion Passenger on cpanel

In cpanel, mongrel is used as web server for ROR (ruby on rails) applications.  We can use Apache itself for RoR applications by using Phusion Passenger. I have used the following steps to run ROR application using Phusion Passenger in … Continue reading

Posted in cPanel | 1 Comment

Default mail address in cpanel

By default, if you set default mail address in cpanel account to ‘fail’, you won’t be able to send/receive mails by the main cpanel user. You can send/receive mail by the main cpanel account with ‘fail’ option by adding the … Continue reading

Posted in cPanel | Leave a comment