ERROR: This RRD was created on another architecture cpanel migration

ARUN Posted in WHM FRONTEND
0

Get the error  “ERROR: This RRD was created on another architecture” while trying to do a WHM-WHM transfer

Solution :

http://admin.webhostingdevelopment.com/viewtopic.php?f=39&t=71

While WHM-WHM transfer check “Skip Bandwidth data” for the domain that you get this error.

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!!!

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

The postgresql server is currently offline cpanel

ARUN Posted in CPANEL FRONTEND, WHM FRONTEND
0

Reset the postgress sql password from WHM.

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

Could not edit /home/username/etc/ftpquota

ARUN Posted in CPANEL FRONTEND, FTP, WHM FRONTEND
0

Could not edit /home/username/etc/ftpquota

Check permission for :   /home/username/etc/ftpquota

It should be   username:mail   /home/username/etc/

File  “ftpquota”  should  have  username:username permission.

WHM does not show the nameserverips

ARUN Posted in DNS, WHM BACKEND, WHM FRONTEND
0

Main >> DNS Functions >> Nameserver IPs   does not show the nameserverips

Solution :

cp -ar /var/cpanel/nameserverips.yaml /var/cpanel/nameserverips.yaml.bak

vi /var/cpanel/nameserverips.yaml

Should look like below :

**************************************************

---
ns1.arunp.in:
  226.58.71.189: 1
  count: '2'
zones: giftnfun.com,arunp.in
ns2.nandamurifans.com:
226.58.71.190: 1
  count: '2'
zones: giftnfun.com,arunp.in

**************************************************

Please make sure that “1″ marked in RED should be altered as well. default will be “0″.

Restart cpanel and relogin

How does ip/~username work in server

ARUN Posted in HTTPD, WHM BACKEND, WHM FRONTEND
0

How does ip/~username point to public_html instead of /home/username in server.

Solution : Its done by “UserDir”

httpd.conf might have an entry as below :

=================

[email protected] [~]# grep UserDir /usr/local/apache/conf/httpd.conf
UserDir public_html
[email protected] [~]#
=========================
Thats what is specifying the document root.
By default "UserDir" is enabled.
To disable we can use :
UserDir disabled user4 user5 user6
http://httpd.apache.org/docs/2.0/mod/mod_userdir.html

SSL install aborted due to error: The certificate is expired

ARUN Posted in SSL, WHM FRONTEND
0

Getting the below error while trying to install SSL on a DOMAIN :

SSL install aborted due to error: The certificate is expired

Solution :

1) Make sure in WHM while you are trying to install the certificate you are loggedin without ssl ie. IP:2086

2) If your WHM is not using a paid SSL, reset the self signed certificate from WHM again and then try installing SSL for the domain

 

rndc: connect failed: 127.0.0.1#953: connection refused

ARUN Posted in WHM BACKEND, WHM FRONTEND
0

When trying to restart named we are getting the below error

[email protected] [~]# rndc reload
rndc: connect failed: 127.0.0.1#953: connection refused
[email protected] [~]#

Solution :

/scripts/rebuildnamedconf

Getting following error while trying to access Fantastico : Warning: php_uname() has been disabled for security reasons in /tmp/cpanel_phpengine.1306989206.272778s_v9ctir4 on line 1013 Warning: shell_exec() has been disabled for security reasons in /tmp/cpanel_phpengine.1306989206.272778s_v9ctir4 on line 1029 Warning: shell_exec() has been disabled for security reasons in /tmp/cpanel_phpengine.1306989206.272778s_v9ctir4 on line 1030 Warning: shell_exec() has been disabled for security reasons in /tmp/cpanel_phpengine.1306989206.272778s_v9ctir4 on line 1031 Warning: shell_exec() has been disabled for security reasons in /tmp/cpanel_phpengine.1306989206.272778s_v9ctir4 on line 1032 Warning: shell_exec() has been disabled for security reasons in /tmp/cpanel_phpengine.1306989206.272778s_v9ctir4 on line 1033 Warning: shell_exec() has been disabled for security reasons in /tmp/cpanel_phpengine.1306989206.272778s_v9ctir4 on line 1034 Warning: shell_exec() has been disabled for security reasons in /tmp/cpanel_phpengine.1306989206.272778s_v9ctir4 on line 1035

ARUN Posted in ERROR, FANTASTICO, WHM BACKEND, WHM FRONTEND
0

Warning: php_uname() has been disabled for security reasons in /tmp/cpanel_phpengine.1306989206.272778s_v9ctir4 on line 1013

Warning: shell_exec() has been disabled for security reasons in /tmp/cpanel_phpengine.1306989206.272778s_v9ctir4 on line 1029

Warning: shell_exec() has been disabled for security reasons in /tmp/cpanel_phpengine.1306989206.272778s_v9ctir4 on line 1030

Warning: shell_exec() has been disabled for security reasons in /tmp/cpanel_phpengine.1306989206.272778s_v9ctir4 on line 1031

Warning: shell_exec() has been disabled for security reasons in /tmp/cpanel_phpengine.1306989206.272778s_v9ctir4 on line 1032

Warning: shell_exec() has been disabled for security reasons in /tmp/cpanel_phpengine.1306989206.272778s_v9ctir4 on line 1033

Warning: shell_exec() has been disabled for security reasons in /tmp/cpanel_phpengine.1306989206.272778s_v9ctir4 on line 1034

Warning: shell_exec() has been disabled for security reasons in /tmp/cpanel_phpengine.1306989206.272778s_v9ctir4 on line 1035

 

Solution :  /scripts/makecpphp

Updating FTP Server…Updates for “ftp” are disabled because “/etc/ftpdisable” exists

ARUN Posted in FTP, WHM BACKEND, WHM FRONTEND
0

Getting the error : Updating FTP Server…Updates for “ftp” are disabled because “/etc/ftpdisable” exists    while trying to run upcp

One solution that worked :

http://forum.webhostingdevelopment.com/index.php/2011/05/pure-authd-usrsbinpure-authd-s-varrunftpd-sock-r-usrsbinpureauth-running-as-root-with-pid/

How to increase /tmp size in dedicated server with cpanel

ARUN Posted in WHM BACKEND, WHM FRONTEND, WHM SCRIPTS
0

cp -ar /scripts/securetmp /scripts/securetmpbak

Edit

In a cpanel server edit  /scripts/securetmp and give

“my $tmpdsksize = 4096000;”

and then run

[      /scripts/securetmp --auto  ]

to create the new tmp.

 

Missing HOST Config Line in /etc/wwwacct.conf, please reconfigure with Edit Setup.

ARUN Posted in WHM BACKEND, WHM FRONTEND
0

Getting the below error while trying to create an account using in cpanel server using WHM >> Create Account

Missing HOST Config Line in /etc/wwwacct.conf, please reconfigure with Edit Setup.

Solution :

Edit /etc/wwwacct.conf

vi /etc/wwwacct.conf

Edit the line called HOST as mentioned below :

HOST server.domain.com

====================================

[email protected] [~]# cat /etc/wwwacct.conf | grep HOST

HOST server.domain.com

[email protected] [~]#

====================================

Change WHM mail server IP address

ARUN Posted in MAIL, WHM BACKEND, WHM FRONTEND
0

How to change exim mail interface IP :

Login to WHM >> Exim Configuration Editor >> and check the below.

Automatically send outgoing mail from the account’s IP address instead of the main IP address. Warning: If you turn this setting on you should make sure reverse DNS entries match the ones in /etc/mail_reverse_dns.

Login to SSh

vi /etc/mailips

* :new_IP_address

For example :

[email protected] [~]# cat /etc/mailips

* :10.10.10.5

[email protected] [~]#

 

vi /etc/mailips

domain.com:IP address

# To send the email out from the particular IP for domain.com.

 

New cPanel requires

vi /etc/mailhelo to be changed as well. See below example

**********************

domain.com : domain.com
*: server.arun.net
*********************