Read the back traffic on the list - sounds like you need the work-around
set - see configureextra/LINUXredhat9 (IIRC it's in that one).

-----Burton

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of
> Barton L. Phillips
> Sent: Wednesday, November 17, 2004 9:09 PM
> To: [EMAIL PROTECTED]
> Subject: [Ntop] Can't start in daemon mode
>
>
> When I start ntop without -d I get the following and it works okay:
> Nov 17 19:01:16 bartonphillips ntop[3300]:   INITWEB: Initializing web
> server
> Nov 17 19:01:16 bartonphillips ntop[3300]:   INITWEB: Initializing
> tcp/ip socket connections for web server
> Nov 17 19:01:16 bartonphillips ntop[3300]:   INITWEB: Initialized
> socket, port 3000, address (any)
> Nov 17 19:01:16 bartonphillips ntop[3300]:   INITWEB: Waiting for HTTP
> connections on port 3000
> Nov 17 19:01:16 bartonphillips ntop[3300]:   INITWEB: Starting web server
> Nov 17 19:01:16 bartonphillips ntop[3300]:   THREADMGMT: web connections
> thread (3300) started...
> Nov 17 19:01:16 bartonphillips ntop[3300]:   THREADMGMT: Started thread
> (1150528304) for web server
>
> When I start it with -d (ntop -w 3000 -D bartonphillips.com -i
> "eth0,eth1" -L --w3c -W 0 -d) I get an error:
> Nov 17 18:57:52 bartonphillips ntop[3157]:   INITWEB: Initializing web
> server
> Nov 17 18:57:52 bartonphillips ntop[3157]:   INITWEB: Initializing
> tcp/ip socket connections for web server
> Nov 17 18:57:52 bartonphillips kernel: application bug: ntop(3157) has
> SIGCHLD set to SIG_IGN but calls wait().
> Nov 17 18:57:52 bartonphillips ntop[3157]:   **FATAL_ERROR** INITWEB:
> Unable to create a new socket - returned 0, error is 'Success'(0)
> Nov 17 18:57:52 bartonphillips kernel: (see the NOTES section of 'man 2
> wait'). Workaround activated.
> Nov 17 18:57:52 bartonphillips kernel: device eth0 left promiscuous mode
>
> And the daemon exits.
> Any ideas?
>
>
> --
> ----------------
> Barton L. Phillips
> Applied Technology Resources, Inc.
> Tel: (818)652-9850
> Web: http://www.applitec.com
>
>
> _______________________________________________
> Ntop mailing list
> [EMAIL PROTECTED]
> http://listgateway.unipi.it/mailman/listinfo/ntop

_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to