LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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: 552

Rep: Reputation: 41
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
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Try
shutdown -r
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:25 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration