Snort mailing list archives
snort won't start on boot
From: Donnie Green <dgreenjr () comcast net>
Date: Tue, 11 Mar 2003 15:54:58 -0500
Problem Description:When I attempt to start the service using "service snort start" I get the following error:
Starting Intrusion Database System: SNORT /etc/init.d/snort: pidof: command not found 1) I am running snort-1.9.1 on RH8.0 2) Default init is rc5 3) /etc/init.d/snort linked to /etc/init.d/rc5.d/S11snort 4) snort exec: /usr/local/bin/snort 5) snort.conf: /usr/local/snort/etc/snort.conf Additional Information: I am successful in starting snort from the command line using /usr/local/bin/snort -c /usr/local/snort/etc/snort.conf -i eth0 Configuration Files: /etc/init.d/snort (which has a symbolic link to S11snort in rc5.d) #!/bin/bash # $Id: S99snort,v 1.1 2001/12/18 22:14:37 cazz Exp $ # /etc/init.d/snort : start or stop the SNORT Intrusion Database System # # Written by Lukasz Szmit <ptashek () scg gliwice pl> # # Configuration # set config file & path to snort executable SNORT_PATH=/usr/local/bin CONFIG=/usr/local/snort/etc/snort.conf # set interface IFACE=eth0 # set GID/Group Name SNORT_GID=nid # other options OPTIONS="-D" # End of configuration test -x $SNORT_PATH/snort || exit 0 case "$1" in start) echo "Starting Intrusion Database System: SNORT" $SNORT_PATH/snort -c $CONFIG -i $IFACE -g $SNORT_GID $OPTIONS if [ "`pidof $SNORT_PATH/snort`" ]; then echo "SNORT is up and running!" else exit 0 .......skipping..... -------------------------------------------------------This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ 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://www.geocrawler.com/redir-sf.php3?list=snort-users
Current thread:
- snort won't start on boot Donnie Green (Mar 12)
- Re: snort won't start on boot Alberto Gonzalez (Mar 12)
- <Possible follow-ups>
- Re: snort won't start on boot Kevin Peuhkurinen (Mar 12)