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
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
Solution :
http://admin.webhostingdevelopment.com/viewtopic.php?f=9&t=108&p=122#p122
root@server [/]# 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?
root@server [/]#
Solution :
which sendmail
chown root:mailtrap /usr/sbin/sendmail
chmod 2755 /usr/sbin/sendmail
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 testusr7@localhost;
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!!!
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
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
cd /home
wget -N http://httpupdate.cpanel.net/latest-dnsonly
sh latest-dnsonly
root@server [/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__"a=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″
root@server [/usr/local/cpanel/logs]#
root@server [/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″
root@server [/usr/local/cpanel/logs]#
/usr/local/cpanel/base/3rdparty/roundcube/skins/default/images/roundcube_logo.png
[ /scripts/generate_maildirsize --confirm --verbose USERNAME ]
/var/log/dcpumon/toplog…..
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
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
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
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/