Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 09-26-2007, 07:26 PM   #1
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: which point nothing happens. The last line never displays "[ OK ]" and the computer never reboots/shutsdown.

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

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
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.


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 04:14 PM
help with shutdown and reboot Paxmaster Fedora 2 09-26-2004 04:01 PM
Reboot Shutdown netlink Mandriva 2 06-13-2004 12:13 AM
Immediate shutdown/reboot Creep Linux - Hardware 4 03-07-2004 04:56 AM
unable to 'shutdown' from x... need to shutdown using 'halt' guitarnix Linux - Newbie 5 11-24-2003 01:00 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:26 AM.

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