I've also entered a PR with the FreeBSD folk, looking for some help/guidance on the real problem (i.e. the hang in the select() call). See http://www.freebsd.org/cgi/query-pr.cgi?pr=56339
-----Burton -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Burton Strauss Sent: Tuesday, September 02, 2003 7:49 AM To: [EMAIL PROTECTED] Subject: Re: [Ntop-dev] Re: R66TXWB (FreeBSD web server death) I've gotten a smidge further - in config.h, comment out the HAVE_SEMAPHORE_H line, but it still doesn't work. Worse, because lthreads uses separate processes (vs. FreeBSD's threads), it's hard to debug. -----Burton ---------- Original Message ---------------------------------- From: Stanley Hopcroft <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] Date: Tue, 2 Sep 2003 17:29:51 +1000 >Dear Sir, > >I am writing to thank you for your letter and say, > >On Sun, Aug 31, 2003 at 08:45:36AM -0500, Burton M. Strauss III wrote: >> Oh, man, that's going to get UGLY if we have to check the details of the >> release and say, 'Sorry, this version of FreeBSD doesn't run ntop'. >> >> What's you feelings about using the LinuxThreads port?? >> > >that this sounds like a splendid idea (partic since the FreeBSD pthread >lib seems at least partly broken). > >It's also in a FreeBSD package. > > >Unfortunately, I am not sure if I can buil ntop with it without some >help. > >After building ntop (putting in the symlinks for libpthread as suggested >by the README.FreeBSD) it SEGVs > >pc09011# tail -20 /var/log/messages >Sep 2 17:22:25 pc09011 /kernel: pid 72198 (ntop), uid 65534: exited on >signal 11 >Sep 2 17:22:25 pc09011 /kernel: fxp0: promiscuous mode disabled >Sep 2 17:23:21 pc09011 su: anwsmh to root on /dev/ttyp5 >Sep 2 17:24:37 pc09011 /kernel: fxp0: promiscuous mode enabled >Sep 2 17:24:37 pc09011 ntop[72210]: Now running as a daemon >Sep 2 17:24:37 pc09011 ntop[72210]: I18N: This instance of ntop does >not support multiple languages >Sep 2 17:24:37 pc09011 ntop[72210]: IP2CC: Looking for IP address <-> >Country code mapping file >Sep 2 17:24:37 pc09011 ntop[72210]: IP2CC: reading file >'/usr/local/ntop-2.2.94/etc/ntop/p2c.opt.table.gz' >Sep 2 17:24:38 pc09011 ntop[72210]: IP2CC: 47455 records read >Sep 2 17:24:38 pc09011 ntop[72210]: Initializing external >applications >Sep 2 17:24:38 pc09011 ntop[72210]: Initializing semaphores, mutexes >and threads >Sep 2 17:24:38 pc09011 ntop[72210]: NOTE: atfork() handler registered >for mutexes, rc 0 >Sep 2 17:24:38 pc09011 ntop[72210]: THREADMGMT: Started thread (1026) >for network packet analyser >Sep 2 17:24:38 pc09011 ntop[72212]: THREADMGMT: Packet processor >thread running... >Sep 2 17:24:38 pc09011 /kernel: pid 72212 (ntop), uid 65534: exited on >signal 11 >Sep 2 17:24:38 pc09011 /kernel: pid 72210 (ntop), uid 65534: exited on >signal 11 >Sep 2 17:24:38 pc09011 /kernel: fxp0: promiscuous mode disabled > > >I will try again. > >Yours sincerely. > > >> -----Burton >> > >-- >------------------------------------------------------------------------ >Stanley Hopcroft >------------------------------------------------------------------------ > >'...No man is an island, entire of itself; every man is a piece of the >continent, a part of the main. If a clod be washed away by the sea, >Europe is the less, as well as if a promontory were, as well as if a >manor of thy friend's or of thine own were. Any man's death diminishes >me, because I am involved in mankind; and therefore never send to know >for whom the bell tolls; it tolls for thee...' > >from Meditation 17, J Donne. >_______________________________________________ >Ntop-dev mailing list >[EMAIL PROTECTED] >http://listgateway.unipi.it/mailman/listinfo/ntop-dev > ____________________________________________________________ Free 20MB Web Site Hosting and Personalized E-mail Service! Get It Now At Doteasy.com http://www.doteasy.com/et/ _______________________________________________ Ntop-dev mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop-dev _______________________________________________ Ntop-dev mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop-dev
