Su: Cannot set user id: Resource temporarily unavailable

Error details:    # su – Password: su: cannot set user id: Resource temporarily unavailable Solution: Edit (add) or change the following values in /etc/security/limits.conf # vi /etc/security/limits.conf ————- * soft nproc 2047 * hard nproc 16384 * soft nofile 1024 * hard nofile 65536 ————- It should be okay now!

See More

Perl error while running weblogs on the server

Error : error: List::Util object version 1.14 does not match bootstrap parameter 1.18 at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/XSLoader.pm line 92 Solution: If you are getting perl error while running /scripts/runweblogs do as follows : 1) Check the perl version on the server using following command Perl -v 2)  If you are getting following error while running runweblogs script […]

See More
reseller_name_with_domains

Find out the reseller name with domains

How to find out the reseller name with domains? Ans : If you want to list all cPanel accounts under a specific reseller, then you can use the below simple shell script. 1) Crete the file reseller.sh and add the following code. vi /home/reseller.sh ========================================================== #!/bin/bash usage() { echo “Example : $0 domain.com or username” […]

See More