Archive

Posts Tagged ‘cpanel’

cpanel exim – not able to send mails

August 6, 2008 Leave a comment

Hello,

If your users are complaining that they are not able to send mails, a case where their internet is working, but when they try sending mail from their email client  like outlook, outlook express, thunderbird, eudora, etc.   and in their mail client they are getting an error like  ‘not able to connect to the smtp on the server ….’  

you may find that when you configure their email account , you may be able to send mails , but they are not, their email client is not even able to connect to your smtp server, and ehn you check , you may find that you are even able to telnet to your port 25 and 110

You may think that it may be the ISP’s issue at the customer’s end.

But its not the same always.

This time we figured outthat the relayd on exim was not working, we asked the user for their public ip address.

and entered the ip address in

# /etc/relayhosts

# /etc/relayhostsusers

then restart the exim.

This helped us, the issue was solved, the user was able to send mails  :)

Categories: cpanel, exim, Linux Tags: , ,

local MySQL server’s socket is not correctly configured

August 5, 2008 Leave a comment

The server is not responding (or the local MySQL server’s socket is not correctly configured)

check for the mysql first, if not running restart and check, if running

search for mysql.sock file

make sym link in /tmp folder

#ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock

Then restart the mysql and then the apache.

Categories: cpanel, Linux Tags: , , ,

cpanel stats not getting updated

If the cpanel webalizer stats are not getting updated, first check to see if none of the domain logs are upto 2GB, you need to check in /usr/local/apache/domlogs/, if that is ok, then try running :

# /scripts/runstatsonce domainname.com

if even this doesn’t work then try

# /scripts/runweblogs accountusername

if even this doesn’t work, then try the following script, But please take a backup of the existing stats and then only continue further. You can take the backup of the complete webalizer directory,

/home/username/tmp/webalizer

once you have ensured that the backup is taken then try running the following :

# /scripts/fixwebalizer

it will ask for account username enter the username and enter.

Categories: cpanel, Linux Tags: ,

how do you disable log analysis for just one account in cPanel ?

If you are reciving such kind of messages in your mails: —

“IMPORTANT: Do not ignore this email.
This is cPanel stats runner on **********.com!
While processing the log files for user **********, the cpu has been maxed out for more than a 6 hour period. The current load/uptime line on the server at the time of this email is 06:50:17 up 39 days, 21:02, 2 users, load average: 8.32, 1.70, 1.36 You should check the server to see why the load is so high and take steps to lower the load. If you want stats to continue to run even with a high load; Edit /var/cpanel/cpanel.config and change extracpus to a number larger then 0 (run /usr/local/cpanel/startup afterwards to pickup the changes). ”

Here’s how you do it:

* Go to the Packages section of the side menu in the root cPanel account.
* Select Feature Manager and create a new feature set.
* You get very granular control over the features available to an account and can create a set that does not offer any of the log analysis packages.
* Save this new feature set.
* Select Add Packages in the Packages section (where you already are) and create a hosting package that uses the feature set you just created.
* Go up the menu to the Account Functions section, and select the Upgrade/Downgrade An Account option.
* Select the account that’s been generating the problem and switch it to the hosting package you just created.

This should lower the daily CPU load of the account significantly and reduce or eliminate the cPanel “maxed out” warning messages.

you can also turn off these stats packages for all accounts. In the topmost menu of the root cPanel account (a.k.a. “WebHost Manager”), labeled “Server Configuration”, select the “Tweak Settings” option. This will let you enable or disable a number of packages that come standard with cPanel, including the stats packages, various anti spam tools, various webmail packages (like Horde and Squirrel Mail), etc.

Categories: cpanel, Linux Tags: ,
Follow

Get every new post delivered to your Inbox.