Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 15
Running Fedora 10 and it worked ok up until a couple of days ago. Since then unable to shutdown using the System shutdown tab or the restart tab. Tried using ...
  1. #1
    Just Joined!
    Join Date
    Apr 2009
    Posts
    6

    Angry Unable to shutdown Fedora 10

    Running Fedora 10 and it worked ok up until a couple of days ago. Since then unable to shutdown using the System shutdown tab or the restart tab.

    Tried using the shutdown -r now command as root but it says the shutdown command unknown. No sign of the shutdown command in the /sbin/ directory.

    Anyone any ideas? as the only way out is to turn the power off.

    MacW

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Quote Originally Posted by MacW
    Running Fedora 10 and it worked ok up until a couple of days ago. Since then unable to shutdown using the System shutdown tab or the restart tab.

    Tried using the shutdown -r now command as root but it says the shutdown command unknown. No sign of the shutdown command in the /sbin/ directory.

    Anyone any ideas? as the only way out is to turn the power off.

    MacW
    Hi and Welcome !

    How did you gain root privileges in Terminal?
    Execute this
    Code:
    su -
    /sbin/shutdown -h now
    Make sure to type hyphen ( - ) with su.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined!
    Join Date
    Apr 2009
    Posts
    6
    Quote Originally Posted by devils casper View Post
    Hi and Welcome !

    How did you gain root privileges in Terminal?
    Execute this
    Code:
    su -
    /sbin/shutdown -h now
    Make sure to type hyphen ( - ) with su.
    I did that and it came back with

    bash: /sbin/shutdown: No such file or directory

    Did have a look in the sbin folder but no sign of shutdown file

    Any more suggestions?

    Ta

    MacW

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Moved posts of nujinini to this new thread. I would suggest nujinini to continue there only.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #5
    Just Joined!
    Join Date
    Apr 2009
    Posts
    6
    Hi
    It would appear that the shutdown, reboot and halt commands have gone away, departed to the great depository in the sky. Is there any way one can extract the shutdown file from the installation disc? or from anywhere else for that matter?

    Ta MacW

  6. #6
    Linux Newbie rituraj.goswami's Avatar
    Join Date
    Aug 2008
    Location
    Guwahati
    Posts
    133
    use "showdown" if you are a non previledged user. does the samething.

  7. #7
    Just Joined!
    Join Date
    Apr 2009
    Posts
    6
    Hi

    Tried the showdown command but it came back with

    bash: showdown: command not found

    Like I say all these commands like shutdown, reboot and Halt have gone, do not know why or how they went but gone they have. So if you have any ideas as to how one gets them back, would be happy.

    Ta MacW

  8. #8
    Linux Enthusiast meton_magis's Avatar
    Join Date
    Oct 2006
    Location
    arizona
    Posts
    665
    su -
    init 0


    If that doesn't work

    su -
    halt


    if that doesn't work, do

    su -
    halt -f

    this WILL work, but is not something you want to do.


    those SHOULD work, but something is very wrong if you're shutdown file is missing in fedora. It could indicate a virus or rootkit. Have you installed any suspicious software as root lately?
    New to the internet, technical forums, or the hacker / open source community??
    Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html

    RHCE for RHEL version 5
    RHCT for RHEL version 4

  9. #9
    Trusted Penguin jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    4,071
    Quote Originally Posted by MacW View Post
    bash: showdown: command not found
    I just want to make sure that was a typo. But if shutdown doesn't work, have you tried
    Code:
    /sbin/shutdown
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.

  10. #10
    Just Joined!
    Join Date
    Apr 2009
    Posts
    6
    meton_magis

    init 0 does try and shut system down but tries to find the halt command but says it does not exist, and running the halt command returns the information that halt command does not exist. I can find no reference to the following command reboot, shutdown, halt in sbin folder. The only software I have installed is the updates to the system and that was done about 1 week prior to the problem becoming apparent. I understand rootkit problems are hard to decode and require an intimate knowledge of the underlying operating system, which is probably beyond my capabilities.
    Are there any programs about which can easily detect rootkit problems?

    jayd512

    I thought showdown was bit odd but gave it a go in case it was a command I had not heard about.
    /sbin/ shutdown does not work. See above.



    MacW

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...