Posted by sibu on May 24, 2009
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
Posted by sibu on May 24, 2009
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 idle for some time, this method may not work.
2) This method is less than ideal, but if you know the IP address then you can tail -f /usr/local/cpanel/logs/access_log | grep ip.address to see what they are doing, again only if they are active within WHM or cPanel will this work.
You can check this from the login_log in /usr/local/cpanel/logs or /usr/local/cpanel/logs/access_log.
Posted by sibu on April 16, 2009
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 is configured on the whm that is
66.90.25.49
You might have got a range of ip address with the server. please let us know the range of ipaddress we will add those ipaddress to this server.
3. Registering the Nameservers
Now login to your domain management page for the domain you registered and register ns1.newdomain.com and ns2.newdomain.com as nameservers (registries normally have a special facility for doing that). The registry may also have a facility to propogate these nameservers around the foreign registries - if so, you should use this facility.
It may take upto 24 hours the nameserver propagation. once you done this you can configure this nameservers to your whm.
Go into WHM (Web Host Manager) and select Edit Setup from the Server Setup menu on the left. Enter ns1.newdomain.com in the Primary Nameserver field. Hit ‘Assign IP Address’, then hit ‘Add an A Entry for this nameserver’.
Repeat this process for the Secondary Nameserver field.
Posted by sibu on March 10, 2009
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
Posted by sibu on March 10, 2009
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
Posted by sibu on March 10, 2009
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
Posted by sibu on March 10, 2009
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 should be resolved.
Posted by sibu on March 10, 2009
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
Posted by sibu on March 10, 2009
Please make sure that the domain name listed in following files.
/etc/userdomains
/etc/localdomains
/etc/trueuserdomains
Posted by sibu on March 3, 2009
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 still valid, its simple… login to your server as root user and execute the command
/usr/local/cpanel/cpkeyclt
It will fix the issue else, you will have to pay for your license. Contact your license provider. It can either be your DC or the cPanel team itself.