On Wednesday 08 Oct 2003 14:52, Thomas Schneider wrote:
> Hi List,
>
> got a problem here on my router.
> I wanted to use ntop for watching my internet connection, but when
> running, this nice little tool always crashes after a couple of
> minutes. I can't reproduce these crashes with a special action, but
> they appear every time and I have some log-outputs here:
>
> Oct  8 15:17:32 pomserv ntop[26896]: **FATAL_ERROR** webserver:
> caught signal 13 SIGPIPE
> Oct  8 15:17:32 pomserv ntop[26896]: **FATAL_ERROR** webserver:
>    BACKTRACE:     backtrace is:
> Oct  8 15:17:32 pomserv ntop[26896]: **FATAL_ERROR** webserver:
>    BACKTRACE:           1./lib/libpthread.so.0 [0x4046403c]
> Oct  8 15:17:32 pomserv ntop[26896]: **FATAL_ERROR** webserver:
>    BACKTRACE:           2. /lib/libc.so.6[0x40666db8]
> Oct  8 15:17:32 pomserv ntop[26896]: **FATAL_ERROR** webserver:
>    BACKTRACE:
>    3./usr/lib/libntopreport-2.2c.so(sendString+0x2e)[0x40056c6e]
> Oct  8 15:17:32 pomserv ntop[26896]: **FATAL_ERROR** webserver:
>    BACKTRACE:          4. /usr/lib/libntopreport-2.2c.so [0x400594ea]
> Oct  8 15:17:32 pomserv ntop[26896]: **FATAL_ERROR** webserver:
>    BACKTRACE:
> 
> 5./usr/lib/libntopreport-2.2c.so(handleHTTPrequest+0x2eb)[0x40058a2b]
> Oct 8 15:17:32 pomserv ntop[26896]: **FATAL_ERROR** webserver:
> BACKTRACE:      6. /usr/lib/libntopreport-2.2c.so [0x4008e496] Oct  8
> 15:17:32 pomserv ntop[26896]: **FATAL_ERROR** webserver: BACKTRACE:
> 7./usr/lib/libntopreport-2.2c.so(handleWebConnections+0x2bc)[0x4008e2
>0c] Oct  8 15:17:32 pomserv ntop[26896]: **FATAL_ERROR** webserver:
> BACKTRACE:           8. /lib/libpthread.so.0 [0x4045ed40] Oct  8
> 15:17:32 pomserv ntop[26896]: **FATAL_ERROR** webserver: BACKTRACE:  
>        9. /lib/libc.so.6(__clone+0x57) [0x40717d97]
>
> pomserv root # cat /etc/conf.d/ntop
> # Config file for /etc/init.d/ntop
>
> # Set preferred options here
> NTOP_OPTS="--http-server 9876 --https-server 9875 --interface \
>   \"eth0,ppp0\" --domain infstud.shacknet.nu --no-interface-merge"
>
> pomserv root # ntop -V
> Wait please: ntop is coming up...
> ntop v.2.2c MT (SSL) [i686-pc-linux-gnu] (10/08/03 02:17:23 PM build)
>
> Maybe anyone knows what I'm doing wrong here?
> Thanks for your suggestions,
>
Hi Thomas,
I wasn't aware of ntop until I read your mail, so thanks for that.  I 
emerged it and once I worked out how to run the thing it works 
beautifully here.

/etc/conf.d/ntop:
NTOP_OPTS="--http-server 3000 --interface eth0,ppp0,lo -m 192.168.0.0/24 
-q"

I start the daemon with /etc/init.d/ntop start, then I use a small bash 
script to see the results:

#!/bin/sh
ntop &
mozilla http://localhost:3000

Without the second instance of ntop I couldn't access localhost:3000.

Peter
-- 
======================================================================
Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 
2.4.22_pre2-gss)
i686 AMD Athlon(tm) XP 3200+
======================================================================


--
[EMAIL PROTECTED] mailing list

Reply via email to