LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 08-21-2003, 09:02 AM   #1
confusedchambo
LQ Newbie
 
Registered: Aug 2003
Location: Blacksburg, VA
Distribution: Redhat 7.3
Posts: 3

Rep: Reputation: 0
Angry "shutdown -r now" fails to reboot


on a pretty standard install of redhat 7.3 the "shutdown -r now" command has worked seemlessly for months. After upgrading some packages, removing a startup link from /etc/rc.3/, and adding a new S link in its place. I issued the aforementioned command from a remote ssh client. The machine jups to runlevel 6 and shutsdown as it always has with no signs of error in the logs. However, it fails to reboot. Ye' old 1-finger-salute (power button) is needed to stir the box back to life. I've scoured the web and all related posts suggest using the reboot command.....I will try that but would rather know why the shutdown command bombs out before rebooting. ANY IDEAS??
 
Old 08-21-2003, 12:52 PM   #2
lfur
Member
 
Registered: Jul 2003
Location: Slovenia
Distribution: Slackware & FreeBSD
Posts: 209

Rep: Reputation: 30
Have you checked the cahnged links, maybe the problem hides there. About reboot, it's just a symbolic link to shutdown and it does exactly what you are doing: shutdown -r now
 
Old 08-21-2003, 01:15 PM   #3
Robby
LQ Newbie
 
Registered: Aug 2003
Location: San Diego, CA
Distribution: Mandrake 9.1
Posts: 4

Rep: Reputation: 0
Isn't it shutdown now -r ? or are the results supposed to be the same...
 
Old 08-21-2003, 01:25 PM   #4
confusedchambo
LQ Newbie
 
Registered: Aug 2003
Location: Blacksburg, VA
Distribution: Redhat 7.3
Posts: 3

Original Poster
Rep: Reputation: 0
lfur.....thanks for the suggestion....I realize now that reboot calls shutdown.

the problem was that /etc/rc6.d/S01reboot was linked to ../init.d/halt and not ../init.d/reboot

should have been obvious but alas.....cest la vie (sp?)

Last edited by confusedchambo; 08-21-2003 at 01:26 PM.
 
Old 08-21-2003, 01:32 PM   #5
tcaptain
LQ Addict
 
Registered: Jul 2002
Location: Montreal
Distribution: Gentoo 2004 from stage 1 baby!
Posts: 1,403

Rep: Reputation: 45
On mine its shutdown -r now or reboot.
 
Old 08-21-2003, 04:46 PM   #6
lfur
Member
 
Registered: Jul 2003
Location: Slovenia
Distribution: Slackware & FreeBSD
Posts: 209

Rep: Reputation: 30
Quote:
lfur.....thanks for the suggestion....
It's nice to hear that my bits don't go straight to binary hell
 
Old 08-21-2003, 06:01 PM   #7
andrewlkho
Member
 
Registered: Jul 2003
Location: London
Posts: 548

Rep: Reputation: 30
Quote:
Originally posted by confusedchambo
alas.....cest la vie (sp?)
eh quoi?....c'est la vie, non?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"shutdown" and "halt" symlinks: poweroff, reboot. sud_crow Linux From Scratch 11 10-17-2006 11:03 PM
ShutDown/Reboot using "KDE graphical logout" and GDM ? tsiMental Ubuntu 2 08-08-2005 10:54 AM
Can't run "halt" or "reboot" as user, can somebody help? ro_nicu Slackware 4 11-01-2004 07:57 AM
Tiny Sofa 2.0 - I thought "halt", "reboot" were only root command ?? sorcerer Linux - Distributions 1 08-21-2004 03:28 PM
Removing "shutdown" and "reboot" in logout window nearfar Red Hat 1 10-07-2003 11:33 AM


All times are GMT -5. The time now is 05:43 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration