On Thu, 5 Jun 2003, Dave Lugo wrote:
>
> No go - built with included zlib, built with zlib from 8.0, built
> with zlib from Rawhide.  Seems to build fine every time, but all
> attempts to load that frame seem to produce:
>
>   ntop[5378]: **WARNING** gzflush error -2(stream error)
>

It's now working.

I ran ntop with:

  `strace -o /tmp/ntop_trace -f -ff ntop -P /usr/local/var/ntop/`

... and inspected the files:

(my apologies for line wrapping)

# grep -i  gz *
ntop_trace.20850:recvfrom(9,
"\0\20{w\221k\0\6)[EMAIL PROTECTED]@\21gz\330"..., 384,
MSG_TRUNC, {sin_family=AF_PACKET, proto=0x800, if2, pkttype=4, addr(6)={1,
}, [20]) = 114
ntop_trace.20853:open("/tmp/gzip-20853.ntop", O_WRONLY|O_CREAT|O_TRUNC,
0666) = -1 EACCES (Permission denied)
ntop_trace.20853:open("/tmp/gzip-20853.ntop", O_WRONLY|O_CREAT|O_TRUNC,
0666) = -1 EACCES (Permission denied)
ntop_trace.20853:open("/tmp/gzip-20853.ntop", O_WRONLY|O_CREAT|O_TRUNC,
0666) = -1 EACCES (Permission denied)
ntop_trace.20853:open("/tmp/gzip-20853.ntop", O_WRONLY|O_CREAT|O_TRUNC,
0666) = -1 EACCES (Permission denied)
ntop_trace.20853:open("/tmp/gzip-20853.ntop", O_WRONLY|O_CREAT|O_TRUNC,
0666) = -1 EACCES (Permission denied)
ntop_trace.20853:open("/tmp/gzip-20853.ntop", O_WRONLY|O_CREAT|O_TRUNC,
0666) = -1 EACCES (Permission denied)
ntop_trace.20853:open("/tmp/gzip-20853.ntop", O_WRONLY|O_CREAT|O_TRUNC,
0666) = -1 EACCES (Permission denied)
ntop_trace.20853:open("/tmp/gzip-20853.ntop", O_RDONLY)  = -1 ENOENT (No
such file or directory)

( perms for /tmp were 755)

While I'll admit my /tmp had incorrect permissions, I'm surprised ntop
didn't complain about this more loudly :)

Best regards,

Dave

-- 
--------------------------------------------------------
Dave Lugo   [EMAIL PROTECTED]    LC Unit #260   TINLC
Have you hugged your firewall today?   No spam, thanks.
--------------------------------------------------------
Are you the police?  . . . .  No ma'am, we're sysadmins.

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

Reply via email to