|
From: Gilles Y. <gi...@gm...> - 2005-05-13 05:11:20
|
Hi, Could you explain more about this command
/var/log/iptablelog.log 2>&1
My log file is found at /var/log/iptableslog and i am confused abot the=20
2>1???
Thanks
gy
On 5/12/05, Andy McDade <red...@gm...> wrote:
>=20
> I had to change the startup script myself. This is what it looks like
> now - only a minor change:
>=20
> #!/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
> #
>=20
> 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'
>=20
> set -e
>=20
> # 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
>=20
> On 5/12/05, Gilles Yue <gi...@gm...> wrote:
> > Hi everyone,
> > 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 ru=
n
> > /etc/init.d/iptablelog start, nothing happens, i can't find any data on=
=20
> the
> > 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=
=20
> the
> > installation guide at http://iptablesrocks.org.
> > Has anybody experienced this problem before, thanks.
> >
> > gy
> >
>=20
> -------------------------------------------------------
> This SF.Net <http://SF.Net> email is sponsored by Oracle Space Sweepstake=
s
> Want to be the first software developer in space?
> Enter now for the Oracle Space Sweepstakes!
> http://ads.osdn.com/?ad_ids93&alloc_id=16281&opclick
> _______________________________________________
> Iptablelog-users mailing list
> Ipt...@li...
> https://lists.sourceforge.net/lists/listinfo/iptablelog-users
>=20
--=20
Gilles Yue
gi...@gm...
|