A client recently rebooted his RH 6.2 system, and complained that samba wasn't coming up. I telnetted in and tried starting it via the "service" script and got errors - then found that even statusing it produced this output:
# service smb status usage: pidof [ -e ] name ... pidof -V -e require exact match for very long names; skip if the command line is unavailable -V display version information smbd is stopped usage: pidof [ -e ] name ... pidof -V -e require exact match for very long names; skip if the command line is unavailable -V display version information nmbd is stopped Tracing the script showed me the problem lines in /etc/rc.d/init.d/smb were: pidof -o 3522 -o 3516 -o %PPID -x smbd pidof -o 3522 -o 3516 -o %PPID -x nmbd ...which are perfectly LEGAL syntax according to the online man pages for pidof, but which produced the error messages above when run (as root). A google search showed that other people have gotten this error on RH, but no one so far as I can tell has posted a solution. Possibly vital notes: He's apparently got the "psmisc" package installed on this box, which replaces 'pidof' (aka 'killall5') with its own version that purportedly more SysV compatible. Could this be the problem, that the pidof/killall5 from this package has a different syntax than the stock one? (If so, why has the system worked fine for 10 months this way? And why would the online manpage not reflect the new, different syntax?) # pidof -V pidof from psmisc version 17 # uname -a Linux xxx.yyy.com 2.2.14-5.0smp #1 SMP Tue Mar 7 20:25:48 EST 2000 i686 unknown Kindof stumped on this one. Any pointers appreciated. /David/ _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list