Thursday, November 8, 2012

USERADD command HANGES or not responding + LINUX

Hi All,

Today first time faced an issue related to "useradd" and "groupadd" command. the command were hanging and not reponding or giving no response for long duration. that we need to do CTRL+C to come out at prompt.

What i learnt :-

1. we should first always check "dmesg" and "/var/adm/messages".
2. to check these #dmesg and then check for any issues there or errors.
3. To read #cat /var/adm/messages.
4. follow up the errors and conclusion found.
5. screnshot for errors are below.
6. LDAP as shown in error.
7. Disable need to be done through SETUP which was enabled on the server or #setup
8. just unselect the LDAP option in setup > authentication configuration.
9. save the configuration.
10. now run useradd or groupadd command. it will run for sure.
9. A good link i found on net by some internet friend on net or forum. thanks. 

Thanks, please share if any other error u find regarding this. we will work out. thanks for the visit.


1 comment:

Shashank Srivastava said...

Genius! Thanks pal for this post. Worked like charm! :)