LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 09-05-2006, 01:14 PM   #1
medic215
LQ Newbie
 
Registered: Jun 2006
Location: Grinnell, IA
Distribution: FC3, RH8
Posts: 5

Rep: Reputation: 0
HELP, cannot reboot! Hangs at "Starting Firewall"


i recently had to add some new firewall rules blocking all incoming and outgoing tcp packets for port 6000-7000. After doing so, I went to reboot and it hangs while trying to apply iptables firewall settings. I try to enter interactive mode at boot by pressing "I", but it doesn't work.
I am using Fedora Core 3.
NOW WHAT?

Last edited by medic215; 09-05-2006 at 01:18 PM.
 
Old 09-05-2006, 02:20 PM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
one thing you could do is boot your rescue cd, mount your / partition, and then remove the reference to iptables from the relevant startup file... if you have a startup script especially for iptables then just make it non-executable... sorry for not being able to be more specific, the thing is i don't have a clue about fedora... but i'm hoping this might at least push you in the right direction...

PS: i took a look at this: http://wiki.linuxquestions.org/wiki/IptablesFedora

so it seems the file you'd want to make non-executable is /etc/init.d/iptables

Last edited by win32sux; 09-05-2006 at 02:21 PM.
 
Old 09-05-2006, 03:56 PM   #3
benjithegreat98
Senior Member
 
Registered: Dec 2003
Location: Shelbyville, TN, USA
Distribution: Fedora Core, CentOS
Posts: 1,019

Rep: Reputation: 45
You can get into your setup without a boot cd. When the grub menu starts hit the key that will let you add additional arguements to the kernel. I believe the key is 'a'. You can then add the word 'single' to the line and you will enter into single mode.

If you were booting into graphical mode go to /etc/rc5.d/ after you successfully boot into single user mode. Look for a file with the word 'iptables' in it. It should be something like S92iptables. Rename the file to K92iptables (using whatever number is used in FC3).
Code:
mv S92iptables K92iptables
If you type 'exit' you should boot into run level 5 and then you can make changes to your firewall rules. Or you can just reboot. Don't forget to rename the file back to what it used to be when you are done.
 
Old 09-05-2006, 03:58 PM   #4
medic215
LQ Newbie
 
Registered: Jun 2006
Location: Grinnell, IA
Distribution: FC3, RH8
Posts: 5

Original Poster
Rep: Reputation: 0
Thank you very much for your reply. Whil waiting fro a reply on here, pulling my hair out, and searching the internet, I let it sit in the spot where it stalls. After about 1/2 hr it booted on it's own. Dunno why it took so long. When I go through webmin to make changes to Iptables, it allies new configurations in a normal amount of time. Thank you again, I will read through that site anywy to see if it can shed some light on this issue.
 
  


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
System hangs at "GRUB Loading stage 2" at reboot. jomyjose Linux - Software 1 04-21-2006 03:17 AM
SuSE Installation Hangs on Starting "hald" ... SUSE / openSUSE 2 11-30-2005 10:37 AM
Boot hangs for 3 minutes at "Starting syslogd daemons" DaneM Slackware 4 06-29-2005 11:52 PM
Fedora Core 3 hangs, freezes on "Starting sshd" ayrton Fedora 2 12-09-2004 10:11 PM
ES Hangs at "Starting Red Hat Network" miami311 Linux - General 0 07-03-2004 01:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

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