Help - Search - Members - Calendar
Full Version: Snort
Linuxhelp > Support > Technical Support
sachin
Hello,

My snort daemon would not start. My daemon file looks as below:
# chkconfig: 2345 40 60
# Source function library.
. /etc/rc.d/init.d/functions

# Specify your network interface here
INTERFACE=eth0

# See how we were called.
case "$1" in
start)
echo -n "Starting snort: "
daemon /usr/local/bin/snort -u snort -g snort -d -D
-i $INTERFACE -c /etc/snort/snort.conf
touch /var/lock/subsys/snort
echo
;;
stop)
echo -n "Stopping snort: "
killproc snort
rm -f /var/lock/subsys/snort
echo
;;
restart)
$0 stop
$0 start
;;
status)
status snort
;;
*)
echo "Usage: $0 {start|stop|restart|status}"
exit 1
esac
exit 0
Even if i try to start using webmin console it does not start.
Please help.....
Thanks & regards
Sachin sad.gif
hughesjr
This should all be on one line:

daemon /usr/local/bin/snort -u snort -g snort -d -D -i $INTERFACE -c /etc/snort/snort.conf

--------------------------
what is the error? ... anything in /var/log related to snort?

How did you install the snort?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.