user related commands hang on open("/etc/localtime", O_RDONLY) = 4 in CentOS 5.5

Posted by fuzzy lollipop on Server Fault See other posts from Server Fault or by fuzzy lollipop
Published on 2011-06-20T15:31:37Z Indexed on 2011/06/20 16:25 UTC
Read the original article Hit count: 189

Filed under:
|
|

I am logged in as root when doing a strace -etrace=open adduser git

it hangs on open("/etc/localtime", O_RDONLY) = 4 for like 2 minutes then continues on.

Also when I try and strace -etrace=open su git it just hangs at the same place as well, I can't login via ssh as the git user either.

Some other users I created work just fine, like su tomcat and I can ssh in as tomcat as well.

I deleted the file that was at /etc/localtime and replaced it with a symlink to ln -s /usr/share/zoneinfo/US/Eastern /etc/localtime and it didn't change the behavior in any way.

© Server Fault or respective owner

Related posts about ssh

Related posts about login