Dropping connnection from 153.25.23.25 because of tcp_wrappers at cpsrvd-ssl line 3903

ARUN Posted in WHM BACKEND
0

Cannt access WHM and above error in cpanel error logs

/usr/local/cpanel/logs/error_log

Solution :

http://admin.webhostingdevelopment.com/viewtopic.php?f=82&t=143

Add custom php.ini for servers running FastCGI

ARUN Posted in PHP, WHM BACKEND
0

Solution :

http://admin.webhostingdevelopment.com/viewtopic.php?f=9&t=108&p=122#p122

sendmail: Not running with correct effective GID. Is sendmail binary setgid mailtrap?

ARUN Posted in MAIL, WHM BACKEND
0

[email protected] [/]# sendmail
sendmail: Not running with correct effective GID. Is sendmail binary setgid mailtrap?
sendmail: Not running with correct effective GID. Is sendmail binary setgid mailtrap?
[email protected] [/]#

Solution :

which sendmail

chown root:mailtrap /usr/sbin/sendmail

chmod 2755 /usr/sbin/sendmail

Account Creation Status: failed (Sorry, a mysql user with the name + already exists

ARUN Posted in MYSQL, WHM BACKEND, WHM FRONTEND
0

This mainly happens if you terminated a cpanel account and somehow the MySQL user was not deleted properly.

Solution :  Try deleting the mentioned user.

Delete the user :

mysql

mysql > use mysql;

mysql > drop user [email protected];

OR

mysql> delete from mysql.user where user=’testusr7′;

You can aslo check this using :

select User, Host from user where User like ‘%testusr7%’;

 

Now try restoring/recreating whatever you were trying to do and see if you still receive the error.

If yes do

grep testusr7 /var/cpanel/databases/users.db

grep testusr7 /etc/dbowners

If the user exist in the above files, delete that and try again.

OR

create a cpanel user with name “testusr7777″.

Modify account and rename that to “testusr7″

Terminate the account from WHM

It fixed for me!!!

Cannot allocate memory: couldn’t create child process: /opt/suphp/sbin/suphp for /home/xxxxx/xxxx/index.php

ARUN Posted in WHM BACKEND
0

First check if the server has cloudlinux installed

If yes, check the limit set serverwide, if its low increase that and see

Next check the individual user limit from within the lve manager for the particular domain. increase that and try

vipw lockfile (/etc/ptmp) is present. [2012-06-08 03:24:09 -0400] warn [whostmgr5] Attempt to repair system password files because we received an error while adding a user: signal=[0] code=[1]. at /usr/local/cpanel/Cpanel/SysAccounts.pm line 180

ARUN Posted in WHM BACKEND, WHM FRONTEND
0

Getting the below error in cpanel error logs   /usr/local/cpanel/logs/error_log when we try to create a new account :

vipw lockfile (/etc/ptmp) is present. [2012-06-08 03:24:09 -0400] warn [whostmgr5] Attempt to repair system password files because we received an error while adding a user: signal=[0] code=[1]. at /usr/local/cpanel/Cpanel/SysAccounts.pm line 180

Solution :

Remove the file named  /etc/ptmp and try to create the account.

/usr/local/cpanel/logs/error_log

How to install cpanel dnsonly

ARUN Posted in WHM BACKEND
0
Installing cPanel DNSONLY
 
cd /home 
wget -N http://httpupdate.cpanel.net/latest-dnsonly
sh latest-dnsonly

Logs to see if the email is created/deleted in cpanel server

ARUN Posted in LOG ANALYSIS, LOG FILES, MAIL, WHM BACKEND
0

[email protected] [/usr/local/cpanel/logs]# grep mytest ./access_log | grep addpop
208.46.180.9 – arunp [05/17/2012:04:57:57 -0000] “GET /cpsess4756242303/json-api/cpanel?cpanel_jsonapi_version=2&cpanel_jsonapi_module=Email&cpanel_jsonapi_func=addpop&email=mytest&password=__HIDDEN__&quota=250&domain=arunp.in&cache_fix=1337230678750 HTTP/1.1″ 200 0 “http://72.44.91.97:2082/cpsess4756242303/frontend/x3/mail/pops.html” “Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.168 Safari/535.19″
[email protected] [/usr/local/cpanel/logs]#

 

[email protected] [/usr/local/cpanel/logs]# grep mytest ./access_log | grep delpop
208.46.180.9 - arunp [05/17/2012:05:01:00 -0000] “GET /cpsess4756242303/json-api/cpanel?cpanel_jsonapi_version=2&cpanel_jsonapi_module=Email&cpanel_jsonapi_func=delpop&email=mytest&domain=arunp.in&cache_fix=1337230862987 HTTP/1.1″ 200 0 “http://72.44.91.97:2082/cpsess4756242303/frontend/x3/mail/pops.html” “Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.168 Safari/535.19″
[email protected] [/usr/local/cpanel/logs]#

Roundcube logo location path in cpanel server

ARUN Posted in MAIL, WHM BACKEND
0

/usr/local/cpanel/base/3rdparty/roundcube/skins/default/images/roundcube_logo.png

Cpanel shows incorrect disk space usage in emails

ARUN Posted in WHM BACKEND, WHM SCRIPTS
0

[      /scripts/generate_maildirsize --confirm --verbose USERNAME       ]

Path of toplog

ARUN Posted in FILE PATH ( conf, logs etc), LOG FILES, WHM BACKEND
0

/var/log/dcpumon/toplog…..

/usr/bin/perl: error while loading shared libraries: libc.so.6: failed to map segment from shared object: Cannot allocate memory

ARUN Posted in ERROR, WHM BACKEND
0

Getting the below error in apache error logs and the website giving a Internal server error 500

Solution :

Check  RLimitMEM is enabled. If so disable and restart apache.

vi /usr/local/apache/conf/httpd.conf

 

How to configure Litespeed to behave as suphp.

ARUN Posted in Lite Speed, WHM BACKEND, WHM FRONTEND
0

I have enabled suphp on our server with litespeed installed. But I can still access 777 file permission. How to fix this

Solution :

Login to litespeed admin panel   >> conf >> server >> security

Change below values to :

Script Restricted Permission Mask                    022

Script Restricted Directory Permission Mask       022

Restricted Permission Mask  0111

Disable mod_security on a domain in cpanel server.

ARUN Posted in MOD_SECURITY, WHM BACKEND
0

vi /usr/local/apache/conf/modsec2.user.conf

On top of that file insert the below rule

SecRule SERVER_NAME “domain.com” phase:1,nolog,allow,ctl:ruleEngine=off

How to transfer addon domain email accounts to a main domain in cpanel.

ARUN Posted in WHM BACKEND
0

Go to  cd /home/USERNAME/etc/domain.com/

rsync all the files under that folder to new account.

Copy all the mails to new account.

cp /home/USERNAME/mail/domain.com/ /home/NEW-USER/mail/