Roger, I don't know for sure exactly what is happening but I can give you some tips on how to find out where and why the shutdown command dies. First question is ... does reboot work? Second just type shutdown. If it's being found correctly in your path it should spit a Usage message back at you. If nothing comes back it's not in your path. Use su - (the dash helps you inheret the root users properties instead of login user) try again with shutdown. I've had boxes where for some reason peculieur to them you had to type the full path for a certain command. (oh and that box has 302 days uptime, woulda been longer but it moved from LA to Berkley). Then open a second telnet window. In one widow cd to /var/log and then tail -f messages. This will give you a realtime session with system messages. Type the shutdown -h now and see what spits back at you. This may give you and indication where it fails. If this still doesn't help try strace shutdown -h now (if you have the! s! trace rpm on the box) This will spit a lot of junk out but what will be most important are maybe the last ten lines. It will either exit normally with a 0 or it will exit/halt and by backing up slightly from the last line you should be able to see what it was trying to do when it halted.
James On Sun, 30 Dec 2001 16:27:02 -0700 Roger <[EMAIL PROTECTED]> wrote: > Hi, > > I am trying to make an old PC into a keyboardless, mouseless, > monitorless server. It boots and starts up OK and I can access it from > telnet and vnc, but it refuses to shutdown. > > If I do a shutdown -h now from telnet, it broadcasts a message but > doesn't shutdown. On vnc, the logoff button doesn't show a halt or > reboot option. > > What are my options? > > TIA > > Roger > > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com > > >
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
