Snort mailing list archives
cannot start snort service
From: "Donnie Green" <d_greenjr () hotmail com>
Date: Wed, 12 Mar 2003 06:22:19 -0500
Problem Description:When I attempt to start the service using the command "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 5
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.....
_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE*
http://join.msn.com/?page=features/virus
-------------------------------------------------------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:
- cannot start snort service Donnie Green (Mar 12)
- Re: cannot start snort service Joerg Weber (Mar 12)
- <Possible follow-ups>
- Re: cannot start snort service Donnie Green Jr (Mar 12)
