LinuxHelps.com

A blog for Linux Lovers.

Archive for the 'Whm/cpanel' Category


Required permissions and directories for Fantastico

Sunday, May 24th, 2009
Whm/cpanel | No Comments »

Fantastico requires certain files and directories to have the following permissions:
NOTE: Depending on your server setup, the files may be in slightly different locations.
Files:
/bin/tar 0755
/bin/gzip 0755
/usr/bin/wget 0700
/bin/bash 0755
Directories (create if they do not exist):
/tmp 1777
/usr/local/cpanel/base/tmp 1777
/usr/local/cpanel/3rdparty/tmp 1777

How to check who are logged in whm/cpanel with ip and user name details?

Sunday, May 24th, 2009
Whm/cpanel | No Comments »

There are two ways you can check who is currently logged into WHM or cPanel.
1) Log in to the server via SSH and run ps aux | grep whostmgrd to see who’s currently active in WHM, and ps aux | grep cpaneld to see who’s currently active in cPanel. If the users have been [...]

Private Nameserver Setup.

Thursday, April 16th, 2009
Whm/cpanel | No Comments »

1.Register the domain name you would like to use. If you have already a domain name please create an account for this domain on server whm. This domain will be used as your nameservers.                                eg ns1.newdomain.com and ns2.newdomain.com
2. Additional IPs
Have 2 available IP addresses for your server that aren’t in use. currenlty only one ipaddress [...]

Upgrading Perl version on Cpanel server

Tuesday, March 10th, 2009
Whm/cpanel | No Comments »

To check to see the current version
perl -V
To upgrade your perl on the Cpanel server
1)
wget http://layer1.cpanel.net/perl587installer.tar.gz
tar -vzxf perl587installer.tar.gz
cd perl587installer
./install
2)
/usr/local/cpanel/bin/checkperlmodules
/scripts/upcp –force

Can’t update Cron Jobs from Cpanel

Tuesday, March 10th, 2009
Whm/cpanel | No Comments »

Cpanel logs shows the following error while updating cron from cpanel.
tail -f /usr/local/cpanel/logs/error_log
Error message
cron/tmp.XXXXctNJVe: Permission denied
Cause of the issue
The /usr/bin/crontab binary was not setuid so it was unable to write to cron/tmp
Solution to this problem
chmod 4755 /usr/bin/crontab

SpamAssasin failing with “Transport filter process failed (127): unable to execute command”

Tuesday, March 10th, 2009
Whm/cpanel | No Comments »

SpamAssassin was failing to deliver emails with the following message:
SMTP connection from USERNAME lost while reading message data (header)
1H4zGX-0000KH-FH == user@domain.com R=virtual_sa_user T=virtual_sa_userdelivery defer (-24): Transport filter process failed (127): unable to execute command
To fix force a reinstall of the perl module:
perl -MCPAN -e shell
clean Mail::SpamAssassin
install Mail::SpamAssassin

cPanel email inconsistent quota

Tuesday, March 10th, 2009
Whm/cpanel | No Comments »

If a cPanel email user quota does not match what is being reported by the system or a mail client run the following to determine how much space has been used for real:
du -hs /home/username/mail/userdomain.com/user/
then compare it with what cPanel reports for the disk usage, if they are different delete:
/home/username/mail/domain.com/user/maildirsize
finally re-login to cPanel and it [...]

Cpanel Image missing from whm list accounts.

Tuesday, March 10th, 2009
Whm/cpanel | No Comments »

Please make sure that the following option is uncheked in your WHM >> tweak settings under System tab
“Disable login with root or reseller password into the users’ cPanel interface. Also disable switch account dropdown in themes with switch account feature.”
Thank you
Sibu

Domain is not listing in whm ” list accounts”

Tuesday, March 10th, 2009
Whm/cpanel | No Comments »

Please make sure that the domain name listed in following files.

/etc/userdomains
/etc/localdomains
/etc/trueuserdomains

cPanel/ WHM license error

Tuesday, March 3rd, 2009
Whm/cpanel | No Comments »

Initially you will have to verify if the license has got expired or if it is just an issue occurred since you have changed any of your system information.
You can get this done by going to the site: http://verify.cpanel.net and enter your servers main IP over there. And, if you see that your license is [...]