Archive for August, 2010

User Account – Domain Does Not Show In cPanel/WHM Accounts List

Tuesday, August 31st, 2010

Solution: Run


View emails and emails Qouta using command in linux WHM

Tuesday, August 31st, 2010
cat ~username/.cpanel/email_accounts.yaml

How to disable Suhosin in linux server WHM

Tuesday, August 31st, 2010

add the code below in then restart apache

suhosin.simulation = On

Shut down and restart windows using command prompt

Tuesday, August 31st, 2010

For a shortcut to RESTART Windows XP:
SHUTDOWN -r -t 01

For a shortcut to SHUT DOWN Windows XP:
SHUTDOWN -s -t 01


Thank you.

how to know MSSQL 2008 Edition

Sunday, August 29th, 2010

YOu need to run the command below then you will get the edition

SELECT SERVERPROPERTY(‘productversion’), SERVERPROPERTY (‘productlevel’), SERVERPROPERTY (‘edition’)

Thank you.

How can I find out where all a user’s files are? WHM

Thursday, August 26th, 2010

If there is a discrepancy between quotas and a du -sh /home/username, chances are, some other files on the system are owned by that user’s UID. To find these, type:

  • find / -user username -ls

Run that and you will get a long list of all files owned by that user. It might be wise to redirect the output to a file to browse through later.

Depending on the files, it’s usually better to chown them to the root user rather than delete them.

ndc can’t connect, connection refused |WHM

Thursday, August 26th, 2010

ndc is the name daemon control program. If you are getting that error, run the following script as the root user:

  • /scripts/fixndc

How can I debug problems with ProFTPD? WHM

Thursday, August 26th, 2010
  1. Shut it down from the init script.
    • /etc/rc.d/init.d/proftpd stop
  2. Start it up from the shell with:
    • proftpd -nd9

How can I disable the SMART errors? WHM

Thursday, August 26th, 2010

Run the following from a command line:

  1. touch /var/cpanel/disablesmartcheck
  2. /scripts/updatenow

How do I enable anonymous uploads with Pure-FTPd? WHM

Thursday, August 26th, 2010

Find this in the Pure-FTPd configuration file (/etc/sysconfig/pure-ftpd):

  • # disallow uploads for anonymous users
  • #–anonymouscantupload

Make sure the second line has the # in front of it, then restart PureFTPd.