Your message dated Wed, 9 Nov 2005 19:37:44 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Bug#269882: Permission issue
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 4 Sep 2004 04:06:51 +0000
>From [EMAIL PROTECTED] Fri Sep 03 21:06:51 2004
Return-path: <[EMAIL PROTECTED]>
Received: from master.debian.org [146.82.138.7]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1C3RpD-0000SV-00; Fri, 03 Sep 2004 21:06:51 -0700
Received: from cs6820428-202.austin.rr.com ([127.0.0.1]) [68.204.28.202]
by master.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1C3RpC-0003A3-00; Fri, 03 Sep 2004 23:06:50 -0500
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Alberto Alonso <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: ntop: Can't get web pages (gzflush error -2)
X-Mailer: reportbug 2.63
Date: Fri, 03 Sep 2004 23:06:58 -0500
X-Debbugs-Cc: [EMAIL PROTECTED]
Message-Id: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-7.5 required=4.0 tests=BAYES_00,HAS_PACKAGE,
HTML_MESSAGE,OUR_MTA_MSGID,X_DEBBUGS_CC autolearn=no
version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level:
Package: ntop
Version: 2:3.0-3
Severity: important
I can't get the content for the web pages. When I look
at the source I see: <html><body></body></html>
This happens even with: /Credits.html
The only page that I can see properly is the man page.
When I look in the syslog output I see the following error:
Sep 3 23:04:26 localhost ntop[2449]: **WARNING** gzflush error
-2(stream error)
The only thing I can think of would be a missing compression
library, but I have zlib1g installed.
Any ideas?
Thanks,
Alberto
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i586)
Kernel: Linux 2.6.7-1-386
Locale: LANG=C, LC_CTYPE=C
Versions of packages ntop depends on:
ii debconf 1.4.29 Debian configuration management sy
ii libc6 2.3.2.ds1-13 GNU C Library: Shared libraries an
ii libfreetype6 2.1.7-2.2 FreeType 2 font engine, shared lib
ii libgd2-xpm 2.0.28-2 GD Graphics Library version 2
ii libgdbm3 1.8.3-2 GNU dbm database routines (runtime
ii libglib1.2 1.2.10-9 The GLib library of C routines
ii libjpeg62 6b-9 The Independent JPEG Group's JPEG
ii libpcap0.7 0.7.2-7 System interface for user-level pa
ii libpng12-0 1.2.5.0-7 PNG library - runtime
ii libssl0.9.7 0.9.7d-4 SSL shared libraries
ii libxml2 2.6.11-3 GNOME XML library
ii zlib1g 1:1.2.1.1-5 compression library - runtime
-- debconf information:
* ntop/user: ntop
* ntop/interfaces: eth0
---------------------------------------
Received: (at 269882-done) by bugs.debian.org; 9 Nov 2005 18:37:45 +0000
>From [EMAIL PROTECTED] Wed Nov 09 10:37:44 2005
Return-path: <[EMAIL PROTECTED]>
Received: from c-adt-5.ataco.se (bixbite.opalsys.net) [213.115.168.248]
by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
id 1EZupM-0000vP-00; Wed, 09 Nov 2005 10:37:44 -0800
Received: from ola by bixbite.opalsys.net with local (Exim 4.50)
id 1EZupM-0008Ob-N3; Wed, 09 Nov 2005 19:37:44 +0100
Date: Wed, 9 Nov 2005 19:37:44 +0100
From: Ola Lundqvist <[EMAIL PROTECTED]>
To: Elie De Brauwer <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Bug#269882: Permission issue
Message-ID: <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
References: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[EMAIL PROTECTED]>
User-Agent: Mutt/1.5.9i
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level:
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
autolearn=no version=2.60-bugs.debian.org_2005_01_02
Hello
On Wed, Nov 09, 2005 at 03:46:47PM +0100, Elie De Brauwer wrote:
> I just did a quick test running ntop as ntop -u root -w 8080 which ran
> perfectly. Meaning this ended up begin a permission problem. I rand ntop
> -w 8080 (which runs as user nobody through an strace.
>
> [EMAIL PROTECTED]:/tmp$ less trace.txt | grep ermission | sort | uniq -c
> 2 6768 read(3, "rrd.permissions\0000\0", 18) = 18
> 1 6768 unlink("/var/lib/ntop/ntop.pid") = -1 EACCES (Permission
> denied)
> 190 6775 open("/tmp/ntop-gzip-6768", O_WRONLY|O_CREAT|O_TRUNC,
> 0666) = -1 EACCES (Permission denied)
> 1 6775 stat64("/var/lib/ntop/rrd/interfaces/eth0", 0xb182f234) =
> -1 EACCES (Permission denied)
>
> The /tmp/ntop-gzip-6768 occured after I requested the page, the open
> call is the first reference so the open fails.
>
> [EMAIL PROTECTED]:/tmp$ cat trace.txt | grep ntop-gzip
> 6775 open("/tmp/ntop-gzip-6768", O_WRONLY|O_CREAT|O_TRUNC, 0666) = -1
> EACCES (Permission denied)
>
> So it ended being the permission of /tmp. It was lacking g+w, when I
> added this the problem disappeared.
Very interesting and good to know! I assume that this mean that
you have determined the fault (not in ntop) and therefore I'll close
this bug.
Thanks a lot!
Regards,
// Ola
> gr
> E.
>
> --
> Elie De Brauwer
>
>
>
--
--------------------- Ola Lundqvist ---------------------------
/ [EMAIL PROTECTED] Annebergsslingan 37 \
| [EMAIL PROTECTED] 654 65 KARLSTAD |
| +46 (0)54-10 14 30 +46 (0)70-332 1551 |
| http://www.opal.dhs.org UIN/icq: 4912500 |
\ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 /
---------------------------------------------------------------
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]