You can do some cron script, that will check some file existence.
For example it could check if /var/dopowerdown exist. If no - do nothing. If
yes - remove that file and do poweroff.
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com
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
Many thanks for all your suggestions. I think I have somehow damaged
the Linux installation beyond my ability to repair it and will have to
reinstall it. I hate it when this happens.
I did find one other clue - I get different logout menus on this PC and
my server PC. Both are Mandrake 8.1
Roger wrote:
Many thanks for all your suggestions. I think I have somehow damaged
the Linux installation beyond my ability to repair it and will have to
reinstall it. I hate it when this happens.
I did find one other clue - I get different logout menus on this PC
and my server PC.
Doing research for something unrelated I came across something that may be related to
your problem. Bad Ram, Check out this HowTo
http://badmem.sourceforge.net/docu/BadMEM-HOWTO.html#BEFORESTART
the software is at http://badmem.sourceforge.net/
Some of what he describes in the HowTo sounds
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
Webmin does it pretty well.
when you were using telnet, were u using the Super User account?
The unit will not reboot (or hasn't for me) when not in SU, or selected
AT the unit.
NB
On Sun, 2001-12-30 at 18:27, Roger wrote:
Hi,
I am trying to make an old PC into a keyboardless, mouseless,
Did you type the command as root? If you aren't root, you can't shutdown
the machine. I've had several times where I have issued the shutdown
command via ssh as root, and had no problems (although it does
occassionally take up to 5 minutes to fully shutdown).
Michael
--
Michael Viron
when you su to root, use su - so you inherit roots environment.
BillK
On Mon, 2001-12-31 at 07:27, Roger 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
Here is my tenet session going from Windows/me to Mandrake 8.1:
'''
...
[roger@penguin roger]$ su
Password:
[root@penguin roger]# shutdown -h now
Broadcast message from root (pts/0) Sun Dec 30 19:57:35 2001...
The system is going down for system halt NOW !!
[root@penguin roger]# su roger
do an 'su -' which will make sure that you get root's full environment.
Michael
--
Michael Viron
Registered Linux User #81978
Senior Systems Administration Consultant
Web Spinners, University of West Florida
At 08:19 PM 12/30/2001 -0700, you wrote:
Here is my tenet session going from
I just experimented with this situation myself.
I logged into my server (which is keyboard and mouse and monitor less),
and logged in as one of my ftp users.
I then typed su, entered in my root password, and then typed in shutdown
-r now. The system rebooted itself properly, then when it was
I saw the note and tried su - as well. Now I know why Linux makes such
a bulletproof server - it refuses to go down!
'''
...
login: root
Password:
Login incorrect
login: roger
Password:
Last login: Sun Dec 30 19:56:58 from stupid
[roger@penguin roger]$ su -
Password:
[root@penguin root]#
I saw the note and tried su - as well. Now I know why Linux makes such
a bulletproof server - it refuses to go down!
'''
[root@penguin root]# shutdown -hf now
Broadcast message from root (pts/0) Sun Dec 30 20:47:12 2001...
The system is going down for system halt NOW !!
...
'''
Is it possible that there is some kind of alias defined which is setting
the -k option on shutdown? Check with 'alias' command to see list of
defined aliases.
On Sun, 30 Dec 2001 21:12:24 -0700
Roger [EMAIL PROTECTED] wrote:
Roger I saw the note and tried su - as well. Now I know why Linux
15 matches
Mail list logo