LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 09-26-2007, 08:26 PM   #1
3rdKey
Member
 
Registered: Feb 2007
Location: United States
Distribution: Fedora , Knoppix
Posts: 60

Rep: Reputation: 15
Question Unable to Reboot/Shutdown


Hey everyone,

Whenever I go to reboot/shutdown Fedora 7 (Kernel v2.6.22.5-760), as the verbose mode displays the processes, the reboot/shutdown process freezes when it gets to:

Flushing firewall rules: [ OK ]
Setting chains to policy ACCEPT:filter [ OK ]
Unloading ip6tables modules: [ OK ]
Flushing firewall rules: [ OK ]
Setting chains to policy ACCEPT:filter [ OK ]
Unloading iptables modules:



...at which point nothing happens. The last line never displays "[ OK ]" and the computer never reboots/shutsdown.

Any ideas?
 
Old 09-26-2007, 08:46 PM   #2
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Yes, I have an idea..

I suspect the problem is that the machine is becoming hung when the firewall script attempts to remove the networking & ipfiltering modules before stopping its services.

My firewall script does the same thing (I use LutelWall) and I found that any time I issued a shutdown (STOP) command to the firewall, it would hang my machine 90% of the time when it tried to modprobe -r or rmmod the kernel modules.

My solution was to edit my firewall script itself, and comment out the module removal section. Now, when I shut it down, it does everything else it does (clear out filter rules, etc..) but leaves the kernel modules inserted. There should be no harm in doing this as far as I know (and besides, if you're shutting down or shutting off the firewall, it makes no difference.), and if you have the KMOD cronjob in your hourly cron folder, the modules will be removed within the hour anyways.

If you're unsure how to go about editing the firewall script, should you like to try this, just let us know. I'll post the section of my firewall I commented out for you.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Reboot on Shutdown david7812 Linux - Newbie 10 11-19-2004 05:14 PM
help with shutdown and reboot Paxmaster Fedora 2 09-26-2004 05:01 PM
Reboot Shutdown netlink Mandriva 2 06-13-2004 01:13 AM
Immediate shutdown/reboot Creep Linux - Hardware 4 03-07-2004 05:56 AM
unable to 'shutdown' from x... need to shutdown using 'halt' guitarnix Linux - Newbie 5 11-24-2003 02:00 AM


All times are GMT -5. The time now is 05:31 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration