LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 06-04-2008, 06:18 AM   #1
ajeetraina
Member
 
Registered: Jun 2007
Location: India
Distribution: Ubuntu,Red Hat, Fedora
Posts: 292

Rep: Reputation: 30
Unable to run reboot command???


Hello Guys,

I have a redhat EL 4 machine in which I cant run reboot command.
How to enable that?
For now,I can only run #poweroff and then hard boot it.
Pls help.
 
Old 06-04-2008, 06:33 AM   #2
watcher69b
Member
 
Registered: Nov 2007
Location: /home/watcher69b
Distribution: RH, Fedora & CentOS
Posts: 539

Rep: Reputation: 39
If you are root and cannot reboot make sure you are a member of the wheel group

Can you run 'init 6' instead of the reboot command?
what is your $PATH?


Also try:
For a normal user
vi /etc/sudoers

near the bottom there is a line that says
## Allow members of the users group to shutdown this system
# %users localhost=/sbin/shutdown -h now

Last edited by watcher69b; 06-04-2008 at 06:35 AM.
 
Old 06-05-2008, 08:58 AM   #3
ubyt3m3
Member
 
Registered: Apr 2008
Distribution: Slackware64 13.37, Solaris 10, RHEL5/6
Posts: 92

Rep: Reputation: 19
Any error message when you type 'reboot'?
I don't think a regular user can run reboot by default.
You might want to set sudo as watcher69b suggested if this is for regular users.
 
Old 06-05-2008, 06:37 PM   #4
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,261

Rep: Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028
Try
shutdown -r
 
  


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
Unable to Reboot/Shutdown 3rdKey Linux - General 1 09-26-2007 07:46 PM
Unable to boot Fedora 5 after reboot wsykes79 Fedora 3 01-23-2007 11:07 AM
reboot freezes after yast update run, reboot for kernel update sparkbot Linux - Software 2 11-15-2006 06:34 PM
unable to connect to the net after reboot xxx_anuj_xxx Linux - Networking 4 05-20-2005 01:07 PM
Volume control is unable to run correctly. Unable to open audio device '/dev/mixer'. sevenreams Slackware 1 05-16-2003 07:29 PM


All times are GMT -5. The time now is 02:23 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