LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 12-25-2004, 08:35 PM   #1
shams
Member
 
Registered: Jan 2004
Posts: 537

Rep: Reputation: 30
Unhappy how to know shorewall is runing?


hi,
i insalled the shorewall and run the 'shorewall start',the output was shorewall started,then i reboot the pc i didn't see the shorewall in the boot messages as the boot startup applications, then in a terminal i did 'ps aux' and didn't find the shorewall in the runing proceses,i can see the shorewall in /etc/init.d and /etc/rc.d/init.d,but don't know either it is running or stopped?plz tell me how i can check the shorewall is it runing or no?
 
Old 12-26-2004, 05:37 AM   #2
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
Hello,

To manage startup services with RedHat based distro, use "service" and "chkconfig" command. the First to see status, to run it and the second one to enable/disable services at bootup

Oliv'
 
Old 12-26-2004, 09:41 AM   #3
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,084

Rep: Reputation: 54
The assumption that something "is running" is wrong. When started, Shorewall only loads and enables firewall rules, and then the kernel netfilter code does the rest. A good installation of Shorewall would provide a service script, which would give status output and which you can query and use like this:

chkconfig shorewall --list

to enable/disable it for next reboot or run-level change.

service shorewall start
service shorewall stop

See "service --help" and "man chkconfig".

There's a Shorewall package in http://fedora.us and http://fedoraproject.org/pre-extras/3/i386/
 
  


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
shorewall config question with /etc/shorewall/rules peter72 Linux - Networking 3 01-01-2007 09:33 PM
Runing commands in the background juanb General 4 09-22-2005 08:53 AM
runing .out files What Gives? 1337 Twinkie Fedora 4 07-26-2004 11:00 PM
Installing/Runing Wine Tenover Linux - Newbie 7 08-22-2003 04:42 PM
Runing the C program in Linux vbp1 Programming 1 05-31-2001 03:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 02:46 AM.

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