From owner-freebsd-questions@FreeBSD.ORG Wed Dec 21 00:10:07 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 285DA16A41F for ; Wed, 21 Dec 2005 00:10:07 +0000 (GMT) (envelope-from drew@mykitchentable.net) Received: from relay04.roc.ny.frontiernet.net (relay04.roc.ny.frontiernet.net [66.133.182.167]) by mx1.FreeBSD.org (Postfix) with ESMTP id 77D9D43D49 for ; Wed, 21 Dec 2005 00:10:06 +0000 (GMT) (envelope-from drew@mykitchentable.net) Received: from filter07.roc.ny.frontiernet.net (filter07.roc.ny.frontiernet.net [66.133.183.74]) by relay04.roc.ny.frontiernet.net (Postfix) with ESMTP id C5DE63583CE; Wed, 21 Dec 2005 00:10:05 +0000 (UTC) Received: from relay04.roc.ny.frontiernet.net ([66.133.182.167]) by filter07.roc.ny.frontiernet.net (filter07.roc.ny.frontiernet.net [66.133.183.74]) (amavisd-new, port 10024) with LMTP id 27340-05-12; Wed, 21 Dec 2005 00:10:05 +0000 (UTC) Received: from blacklamb.mykitchentable.net (67-137-46-178.dsl2.elk.ca.frontiernet.net [67.137.46.178]) by relay04.roc.ny.frontiernet.net (Postfix) with ESMTP id 41C093581F0; Wed, 21 Dec 2005 00:10:04 +0000 (UTC) Received: from [192.168.25.6] (unknown [192.168.25.6]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by blacklamb.mykitchentable.net (Postfix) with ESMTP id 5BCA215345C; Tue, 20 Dec 2005 16:10:00 -0800 (PST) Message-ID: <43A89D55.3060702@mykitchentable.net> Date: Tue, 20 Dec 2005 16:09:57 -0800 From: Drew Tomlinson User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: kurt.buff@gmail.com References: <43A88665.4090205@mykitchentable.net> <43A88E84.2070403@gmail.com> <43A89858.80709@mykitchentable.net> <43A899EB.2060209@gmail.com> In-Reply-To: <43A899EB.2060209@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-2.3.2 (20050629) at filter07.roc.ny.frontiernet.net Cc: FreeBSD Questions Subject: Re: Ntop on 6.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Dec 2005 00:10:07 -0000 On 12/20/2005 3:55 PM Kurt Buff wrote: >Drew Tomlinson wrote: > > >>On 12/20/2005 3:06 PM Kurt Buff wrote: >> >> >>>Drew Tomlinson wrote: >>> >>> >>> >>>>I installed ntop 3.2_1 from the ports on a machine running FBSD 6.0. It >>>>appeared to install fine and seems OK when I start it. However whenever >>>>I try and access it via a browser, I just get a blank page. ntop >>>>reports the following warning: >>>> >>>>Tue Dec 20 14:20:58 2005 **WARNING** gzflush error -2(stream error) >>>> >>>>It does this with each access attempt. I've googled and learned that >>>>ntop creates compressed files and uses zlib to uncompress them on the >>>>fly. I assume my problem has something to do with this process? >>>> >>>>Any ideas on what to check or how to resolve? >>>> >>>>Thanks, >>>> >>>>Drew >>>> >>>> >>>Is this a fresh install of 6.0? I've got a fresh install of FBSD 6.0 and >>>ntop 3.2_1 from ports, and don't have this problem. >>> >>> >>> >>Thanks for your reply. Yes, it's fairly fresh. >> >>FreeBSD blacksheep.mykitchentable.net 6.0-STABLE FreeBSD 6.0-STABLE #4: >>Thu Dec 1 11:33:29 PST 2005 >> >>Any ideas? >> >>Thanks, >> >>Drew >> >> > >This isn't an upgrade of FBSD 4.x or 5.x, is it? Or an upgrade of an >older version of ntop? > No. This box had a hard drive failure. Since I had to replace the drive, I upgraded to 6.0 at that time. >The reason I ask is that this was a problem that >was noted in ntop 2.something under 4.x and 5.x. If you google for the >specific error message: > >http://www.google.com/search?hl=en&lr=&q=ntop+freebsd+%22gzflush+error%22&btnG=Search > > Been Googling all day and I've seen those posts. However I just realized it was you. :) >you'll see stuff like that talked about in several places. > >I just flattened the box when I upgraded the OS, starting from a fresh >install of 6.0, then cvsupping the ports to get ntop current, and all >has been well since. > > I just edited the Makefile to add --without-zlib and am recompiling now. We'll see if that works around this problem for now. But I'd sure like to know why things aren't working on my machine? AFAIK, I did a standard install and haven't done much with the box since. It just serves as my gateway router for my home network so there's not much on it. Thanks, Drew -- Visit The Alchemist's Warehouse Magic Tricks, DVDs, Videos, Books, & More! http://www.alchemistswarehouse.com