I typed "who" under Freebsd4.5, the information showed as below:

stdout: Broken pipe ...... but showed "test ttyp0 Sep 20 20:39 (192.X.X.8)"last line.

and exec command ps, it returns "ps:bad namelist".

Is there any way to trace the problem? Any help is ok~

link|improve this question
feedback

migrated from stackoverflow.com Sep 21 '11 at 4:30

This question came from our site for professional and enthusiast programmers.

1 Answer

up vote 1 down vote accepted

as ps:bad namelist, there is a way to solve it. following next steps:

# cd /dev
# rm null
# mknod null c 2 2
# chmod 666 null

as "who" and uptime error ,please check /var/run/utmp to see whether there's some garbage information.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.