Skip to Content

Monthly Archives: March 2012

/dev/random missing in the server

Written on March 27, 2012 at 10:07 PM, by

mknod /dev/random c 1 9# ll /dev/randomcrw-rw-rw-  1 root root 1, 9 Mar 27 15:03 /dev/random

maildir size

Written on March 25, 2012 at 11:29 PM, by

/scripts/generate_maildirsize –allaccounts –confirm /scripts/generate_maildirsize –confirm CPANELUSERNAME

How to terminate all reseller’s accounts but leave DNS on server?

Written on March 22, 2012 at 10:00 PM, by

All right, first grab a list of all the accounts and put that list into a file called /root/acctlist: grep -v ‘root|#’ /etc/trueuserowners | grep resellerusername | cut -d: -f1 > /root/acctlist for i in `cat /root/acctlist` ;do /usr/local/cpanel/scripts/killacct $i –killdns=n –force ;done

access files through ftp

Written on March 17, 2012 at 7:19 PM, by

access files through ftp: ———————— ftp://[email protected]/ the files in directory ftpuser¬† will be accessed.

issue with awstat showing no values

Written on March 13, 2012 at 6:08 PM, by

If you want to manually update your stats, follow these instructions: Locate the awstats folder within your account. (/home#/username/tmp/awstats/) You need to find and edit custom.txt. Add these two lines: AllowToUpdateStatsFromBrowser=1 DNSLookup=1 Save the changes Now when you open AwStats in cPanel there will be a link next to the date that says “Update now”. […]

Error: awstats failed to create directory DirData (DirData=”/home/cvseuyne/tmp/awstats”,

Written on March 13, 2012 at 6:02 PM, by

you might want to try deleting the /tmp folder in /home/<user>/. Then let the server rerun the stats for awstat and create a new list and everything, after that it should work again.

way to install Net::SSLeay

Written on March 13, 2012 at 4:43 PM, by

If it is not possible to login to WHM as root user, it might be because the perl module SSLeay is missing.   run command : /scripts/perlinstaller –force Net::SSLeay

way to check installed perl modules in the server

Written on March 13, 2012 at 4:39 PM, by

  run command:   perl -MCPAN -e ‘CPAN::Shell->r’

Warning: stream_socket_client() [function.stream-socket-client]: SSL operation failed with code 1. OpenSSL Error messages:

Written on March 12, 2012 at 10:41 PM, by

Error: ————————————————————————————————————————- Warning: stream_socket_client() [function.stream-socket-client]: SSL operation failed with code 1. OpenSSL Error messages: error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded in /home/test/public_html/push/push.php on line 24 Warning: stream_socket_client() [function.stream-socket-client]: Failed to enable crypto in /home/test/public_html/push/push.php on line 24 Warning: stream_socket_client() [function.stream-socket-client]: unable to connect to ssl://gateway.sandbox.push.apple.com:2195 (Unknown error) in /home/test/public_html/push/push.php on line 24 Failed to connect: 0 […]

error: To add, edit, or remove IPs, please contact your server administrator.

Written on March 10, 2012 at 12:19 AM, by

To add, edit, or remove IPs, please contact your server administrator. ====================================================================== Try adding the IP Address + Netmask to /etc/ips then You can add more IPs from node configuration file. For example, if virtual server ID is 123, edit /etc/vz/conf/123.conf add or edit line: IP_ADDRESS=”x.x.x.x y.y.y.y z.z.z.z” (where those are 3 IP addresses) then […]