On Thu, Dec 06, 2007 at 03:30:42AM +0200, Oded Arbel wrote: > Hi people. I have here a real conundrum for you: > > I'm operating an IBM server (an X306, I think ? not sure). Anyway it has > a weird setup which is mostly my fault - I wanted to run Fedora on it > but the driver for the Adaptec controler it uses only works with the > RHEL/CentOS 5 kernel, so I installed CentOS 5 and then upgraded > everything but the kernel to Fedora 7. But never mind that - Yesterday I > upgraded to Fedora 8 and after that the server went caput - I can't log > in through SSH or through the console and almost no service manages to > start. > > Looking closely, it appears that it doesn't recognize any user - not > regular users and not system users, and as such most services break. > Surprisingly, I can get the system recognize users by simply accessing > the /etc/passwd file. It looks something like this: > > # getent passwd root > <no output here> > # ls -l /etc/passwd > -rw-r--r-- 1 root root ... /etc/passwd > # getent passwd root > root:x:0:0:root:/root:/bin/bash
I really have no idea, but: 1. You might get a clue from diffing the output of strace -f -o outfile getent passwd root before and after accessing /etc/passwd. 2. If you have nscd running, you might want to stop it. In the past I had problems with it, but not something like this. -- Didi ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]