Account Creation Failed

While creating an account via WHM, you may get an error stating that, cannot create new user.

You can check the cPanel logs for the error.

tail -f /usr/local/cpanel/logs/error_log

Sometimes, you may get the following error.

vipw lockfile (/etc/ptmp) is present!

This means that the “useradd” is locked. You will not be able to add new users unless you remove the following file.

You can also confirm it by executing the useradd command in the konsole. You will receive an error message stating the above.

useradd user1

Check if this file is present.

ls -l /etc/ptmp

/etc/ptmp >> This has a temporary copy of the password file. This file can be removed.

rm -f /etc/ptmp

Trackback URI | Comments RSS

Leave a Reply

You must be logged in to post a comment.