Home page logo
/

snort logo Snort mailing list archives

Re: error on /etc/rc.d/init.d/snort
From: Jeremy Hoel <jthoel () gmail com>
Date: Wed, 24 Apr 2013 18:48:50 +0000

It looks like there should be a line break in the stop section..


if ! rh_status_q; thenrm -f $lockfile
exit 0
stop
;;


Should be

stop)
if ! rh_status_q; then
rm -f $lockfile
exit 0
stop
;;


On Sun, Apr 21, 2013 at 5:19 PM, Gmail-manhtien <manhtien0307 () gmail com> wrote:
Hello,
I have a problem about source code of file /etc/rc.d/init.d/snort.
I read document:
http://s3.amazonaws.com/snort-org/www/assets/202/snort2945_CentOS6x.pdf.
I completed steps but When I creat file snort and input source code on
document. I start snort and I have a problem at line 151:

start)
rh_status_q && exit 0
start
;;
stop)
if ! rh_status_q; thenrm -f $lockfile
exit 0
stop
;;
Can you help me?

Thank you.

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://sourceforge.net/mailarchive/forum.php?forum_name=snort-users

Please visit http://blog.snort.org to stay current on all the latest Snort
news!

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://sourceforge.net/mailarchive/forum.php?forum_name=snort-users

Please visit http://blog.snort.org to stay current on all the latest Snort news!


  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]