How to add custom FTP account in Cpanel server

ARUN Posted in CPANEL FRONTEND, FTP, WHM BACKEND
0

How to add an FTP account to have access outside the home folder for the user.

Running easy apache status

ARUN Posted in HTTPD, WHM BACKEND
0

pstree -apuc | grep easy

ll /proc/22013/fd

tail -f /usr/local/cpanel/logs/easy/apache/build.1269862294

Forcefull exim reinstall

ARUN Posted in MAIL, WHM BACKEND
0

[  /scripts/eximup --force --source --latest  ]

Fatal! Write Failure: /etc/valiases/webhostingdevelopment.com Ignore any messages of success this can only result in failure!

ARUN Posted in WHM BACKEND, WHM FRONTEND
0

Getting following error while trying to add email forwarders in cpanel :

Fatal! Write Failure: /etc/valiases/ + Ignore any messages of success this can only result in failure!

Solution :

Check whether the file /etc/valiases/mydomain.co.uk exist on your server.

If not create that, and change permission of that file to :

chown UN:mail /etc/valiases/domain.com

This should fix the forwarder error.

Reset bandwidth

ARUN Posted in WHM BACKEND, WHM FRONTEND
0

Bandwidth Limit Exceeded

How to reset bandwidth for a single whm account

cd /var/cpanel/bandwidth.cache/

vi domainname.com

Change the value inside to 0

If that didnt change the “Bandwidth exeeded message” then open

WHM >> Account Functions >> Limit Bandwidth Usage

Select the user and make a slight change in his bandwidth limit. Update that and check. The error should vanish.

Error login to cpanel

ARUN Posted in WHM BACKEND, WHM FRONTEND
0

Error

Unable to understand response from admin binary: /usr/local/cpanel/bin/resellerwrap sent: [SORTEDRESELLERSUSERS xdollarx] received:[There was an error setting gids: 1 (Operation not permitted)
] error:[] at /usr/local/cpanel/Cpanel/AdminBin.pm line 195.
Cpanel::AdminBin::adminfetch(‘reseller’, ‘ARRAY(0x9e32cb8)’, ‘SORTEDRESELLERSUSERS’, ‘storable’, ‘xdollarx’) called at /usr/local/cpanel/Cpanel/Resellers.pm line 28
Cpanel::Resellers::Resellers_accountlistopt(”) called at (eval 62) line 1
eval ‘Cpanel::Resellers::Resellers_accountlistopt(@{$argref});’ called at cpanel line 918
main::real_exectag(‘<cpanel Resellers=”accountlistopt()”>’) called at cpanel line 3982
main::dotag_finished_headers(‘<cpanel Resellers=”accountlistopt()”>’, 0) called at cpanel line 3835
main::cpanel_parseblock(‘<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “…’) called at cpanel line 3811
main::cpanel_parse(‘GLOB(0x957b0e0)’) called at cpanel line 2126

Solution :

touch /var/cpanel/skipparentcheck

Its fixed.

Reseller skel directory

ARUN Posted in WHM BACKEND, WHM FRONTEND
0

Put an file inside this folder and when a new account is created under the reseller it copies the files from here.

/home/UN/cpanel3-skel/public_html/

The password for ‘username’ could not be changed because:

ARUN Posted in WHM BACKEND, WHM FRONTEND
0

The password for ‘username’ could not be changed because:

After that there is no error message.

Solution :

/scripts/upcp –force

/scripts/checkperlmodules

service cpanel restart

Download and install perl module from cpanel

http://layer1.cpanel.net/

tar -xzf perl588installer.tar.gz
cd perl588installer
./install

service cpanel restart

Getting error ” Fatal error or timeout occurred while processing this directive ” when accessing cpanel.

ARUN Posted in WHM BACKEND
0

Execute following commands in /home
chown UN.UN UN -R
chown UN.mail UN/etc -R
chown UN.nobody UN/public_html
rm -rf UN/.cpanel

If its not fixed use

chmod 555 /sbin/ifconfig

File size limit exceeded(core dumped) $HTTPD -DSSL

ARUN Posted in WHM BACKEND
0

If you see the above error .. in  /var/log/messages

Check for log files which are more that 2GB in size.

Custom nameserver in WHM

ARUN Posted in DNS, WHM BACKEND, WHM FRONTEND
0

ns1   IN   A  MAIN SERVER IP ADDRESS

ns2  IN   A  IP ADDRESS

WHM Chkservd not working

ARUN Posted in WHM BACKEND, WHM FRONTEND
0

If you have a file named /var/run/chkservd.suspend please remove that and try.

Error after cpanel install ” The requested URL could not be retrieved “

ARUN Posted in WHM BACKEND, WHM FRONTEND
0

Following error occur after the cpanel installation is complete and when we try to access

IP:2086  or  IP through the browser

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

ERROR

The requested URL could not be retrieved

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

Solution :

Please make sure there is no firewall installed. If so stop that and check.

Also you should stop iptables and check

service iptables stop
/etc/init.d/iptables status

This should fix the case

To view if upcp is still running

ARUN Posted in WHM BACKEND
0

pstree -apuc

To view the process running
pstree -apuc | grep “name”

Eg : root@sv5 [~]# pstree -apuc | grep easy
?                       ??grep,22013 easy

ll /proc/22013/fd

tail -f /usr/local/cpanel/logs/easy/apache/build.1269862294

Error ” Error from park wrapper: domain.com is owned by another user. “

ARUN Posted in WHM BACKEND
0

Getting error while trying to add a domain as addon domain

” Error from park wrapper: domain.com is owned by another user. ”

Solution:

Enable the option  WHM >> Tweak settings

Allow Creation of Parked/Addon Domains that are not registered
Then edit cpanel.config
vi /var/cpanel/cpanel.config
autocreateaentries=0
Save the file.

And try adding the domain.