I've install the latest ntop rpm's from SF on Red Hat 9 and when I try to
run it I'm getting strange errors:
[EMAIL PROTECTED] root]# ntop @/etc/ntop.conf
Wait please: ntop is coming up...
FATAL ERROR: unable to open configuration file '@/etc/ntop.conf'
This became utterly confusing after having run cat /etc/ntop.conf numerous
times and dorking with ownership and permissions numerous times to the
point of..., well, for a while. So maybe strace could illucidate things
for me?
[EMAIL PROTECTED] root]# strace ntop @/etc/ntop.conf
. . .
[various library loading and other irrelevance deleted]
. . .
open("@/etc/ntop.conf", O_RDONLY) = -1 ENOENT (No such file or
directory)
write(1, "FATAL ERROR: unable to open conf"..., 65FATAL ERROR: unable to
open configuration file '@/etc/ntop.conf'
) = 65
munmap(0x40017000, 4096) = 0
exit_group(-1) = ?
Wow! It was trying to open the file with the @ still on the front of
it!?!?! This is the rpm information:
[EMAIL PROTECTED] root]# rpm -qi ntop
Name : ntop Relocations: (not relocateable)
Version : 2.2 Vendor: (none)
Release : 0 Build Date: Mon 14 Apr 2003
07:20:12 PM EDT
Install Date: Sat 11 Oct 2003 11:34:59 AM EDT Build Host: ur-tigger
Group : Applications/System Source RPM: ntop-2.2-0.src.rpm
Size : 10946704 License: GPL
I searched the mailing list archives and couldn't find anything that
sounded similar, but I'm still hoping this had been picked up since April
and its already fixed somewhere. If I need to provide a full real bug
report let me know and I'll be less brief.
--
</chris>
No, no, you're not thinking, you're just being logical.
-Niels Bohr, physicist (1885-1962)
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop