|
From: Andy M. <red...@gm...> - 2005-05-12 17:00:49
|
I had to change the startup script myself. This is what it looks like
now - only a minor change:
#!/bin/sh
#
# System V init script for iptables logfile analyzer
#
# (c) Thomas Vallaitis <bon...@gm...>
#
# pid isn't saved by iptables logfile analyzer (afaik)
# we have two processes -> more difficult
#
PATH=3D"/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin"
LONGNAME=3D"iptables logfile analyzer"
NAME=3D"iptablelog"
DAEMON=3D'/usr/local/bin/feed_db.pl'
set -e
# Main Loop
case $1 in
start)
echo -n "Starting $LONGNAME: ";
#$DAEMON --background
nohup $DAEMON & > /var/log/iptablelog.log 2>&1
echo $NAME;
;;
stop)
echo -n "Stopping $LONGNAME: "
#/var/run/$NAME.pid || true
kill $(cat /var/run/$NAME.pid )
rm -f /var/run/$NAME.pid > /dev/null
echo $NAME
;;
*)
N=3D/etc/init.d/$NAME
# echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
echo "Usage: $N {start|stop}" >&2
exit 1
;;
esac
=20
exit 0
=20
# EOF
On 5/12/05, Gilles Yue <gi...@gm...> wrote:
> Hi everyone,=20
> I have a linux box with FEDORA CORE 3 and iptables version 1.2.11
> installed.
> I have installed iptables Log Analyzer v0.4, however, when i run the run
> /etc/init.d/iptablelog start, nothing happens, i can't find any data on t=
he
> webpage and even worse, i cannot find any iptablelog daemon running. I
> don't get any error messages and i have followed exactly as written on th=
e
> installation guide at http://iptablesrocks.org.
> Has anybody experienced this problem before, thanks.
> =20
> gy
>
|