MilesWeb Hosting Forum

Web Hosting Technical Support => Errors and Solutions => Topic started by: Dipak Bhoi on May 18, 2014, 10:42:13 AM

Title: when going to open Cpanel getting following error: setuid() failed cpanel
Post by: Dipak Bhoi on May 18, 2014, 10:42:13 AM
Hello guys,

After login into cPanle display an error as below.

Quotesetuid() failed cpanel

To resolve this error follow the following steps.

- First check for other users also facing same issue if not then there no problem in server.

- Check for grep -i rlimit in file /usr/local/apache/conf/httpd.conf .

- Have a look on the domain and increase the RLimitNPROC .

-  First have a look on RLimitNPROC

Quote# grep -i rlimit /usr/local/apache/conf/httpd.conf

For example if you see RLimitNPROC 25, you should count the number of processes running under the specified username.
Quote
#top -u username

If you find the line exceeds 25 then kill all processes of this user.

Quote#killall -u username

Thus the issue should be resolved..

Enjoy !!!