Hi all, > 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. hey, that sounds great...
> > /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. > ntop didn't let me start a second instance... 09/Oct/2003 23:23:44 ntop v.2.2c MT (SSL) [i686-pc-linux-gnu] (10/08/03 02:17:23 PM build) 09/Oct/2003 23:23:44 Copyright 1998-2003 by Luca Deri <[EMAIL PROTECTED]> 09/Oct/2003 23:23:44 Get the freshest ntop from http://www.ntop.org/ 09/Oct/2003 23:23:44 Initializing ntop 09/Oct/2003 23:23:44 SSL is present but https is disabled: use -W <https port> for enabling it 09/Oct/2003 23:23:44 Initializing gdbm databases 09/Oct/2003 23:23:44 **FATAL_ERROR** ....open of /var/lib/ntop/prefsCache.db failed: Can't be writer 09/Oct/2003 23:23:44 **FATAL_ERROR** Possible solution: please use '-P <directory>' this tip was good, but didn't help with my problem... I can access the webserver without this second ntop, but after some gets the whole ntop process dies. last log-output: Oct 9 22:51:26 pomserv ntop[31091]: **FATAL_ERROR** webserver: caught signal 13 SIGPIPE Oct 9 22:51:26 pomserv ntop[31091]: **FATAL_ERROR** webserver: BACKTRACE: backtrace is: Oct 9 22:51:26 pomserv ntop[31091]: **FATAL_ERROR** webserver: BACKTRACE: 1./lib/libpthread.so.0 [0x4046403c] Oct 9 22:51:26 pomserv ntop[31091]: **FATAL_ERROR** webserver: BACKTRACE: 2. /lib/libc.so.6[0x40666db8] Oct 9 22:51:26 pomserv ntop[31091]: **FATAL_ERROR** webserver: BACKTRACE: 3./usr/lib/libntopreport-2.2c.so(sendString+0x2e) [0x40056c6e] Oct 9 22:51:26 pomserv ntop[31091]: **FATAL_ERROR** webserver: BACKTRACE: 4. /usr/lib/libntopreport-2.2c.so(printHTMLheader+0x66)[0x40056ce6] Oct 9 22:51:26 pomserv ntop[31091]: **FATAL_ERROR** webserver: BACKTRACE: 5. /usr/lib/libntopreport-2.2c.so[0x40057651] Oct 9 22:51:26 pomserv ntop[31091]: **FATAL_ERROR** webserver: BACKTRACE: 6. /usr/lib/libntopreport-2.2c.so(returnHTTPpageNotFound+0x12) [0x40057532] Oct 9 22:51:26 pomserv ntop[31091]: **FATAL_ERROR** webserver: BACKTRACE: 7. /usr/lib/libntopreport-2.2c.so(handleHTTPrequest+0x425) [0x40058b65] Oct 9 22:51:26 pomserv ntop[31091]: **FATAL_ERROR** webserver: BACKTRACE: 8. /usr/lib/libntopreport-2.2c.so [0x4008e496] Oct 9 22:51:26 pomserv ntop[31091]: **FATAL_ERROR** webserver: BACKTRACE: 9./usr/lib/libntopreport-2.2c.so(handleWebConnections+0x2bc) [0x4008e20c] Oct 9 22:51:26 pomserv ntop[31091]: **FATAL_ERROR** webserver: BACKTRACE: 10. /lib/libpthread.so.0 [0x4045ed40] Oct 9 22:51:26 pomserv ntop[31091]: **FATAL_ERROR** webserver: BACKTRACE: 11. /lib/libc.so.6(__clone+0x57) [0x40717d97] hm... I really don't know what to do... at the time of this writing the know running try works fine till now, but i think not much longer... greets, Thomas -- "The education issue ought to be discussed about." George W. Bush December 15, 2000 Speaking to press during meeting with Louisiana Senator John Breaux in Austin, TX. -- "I told all four that there were going to be some times where we don't agree with each other. But that's OK. If this were a dictatorship, it'd be a heck of a lot easier -- just as long as I'm the dictator." George W. Bush December 18, 2000 Comment made during first trip to Washington, D.C. after winning the presidency.
pgp00000.pgp
Description: PGP signature
