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.
gr
E.
--
Elie De Brauwer
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]