Bad programmer - no biscuit for you ... remember, one problem per msg thread!
It works for me under Linux: Jan 3 07:14:57 tigger ntop[13131]: CHKVER: **********************PRIVACY**NOTICE********************** [MSGID8410464] Jan 3 07:14:57 tigger ntop[13131]: CHKVER: * ntop instances may record individually identifiable * [MSGID0408552] Jan 3 07:14:57 tigger ntop[13131]: CHKVER: * information on a remote system as part of the version * [MSGID8659688] Jan 3 07:14:57 tigger ntop[13131]: CHKVER: * check. * [MSGID0021864] Jan 3 07:14:57 tigger ntop[13131]: CHKVER: * * [MSGID0021864] Jan 3 07:14:57 tigger ntop[13131]: CHKVER: * You have requested - via the --skip-version-check * [MSGID9070440] Jan 3 07:14:57 tigger ntop[13131]: CHKVER: * option that this check be skipped and so no * [MSGID0906600] Jan 3 07:14:57 tigger ntop[13131]: CHKVER: * individually identifiable information will be recorded. * [MSGID8629976] Jan 3 07:14:57 tigger ntop[13131]: CHKVER: * * [MSGID0021864] Jan 3 07:14:57 tigger ntop[13131]: CHKVER: * In general, we ask you to permit this check because it * [MSGID9154888] Jan 3 07:14:57 tigger ntop[13131]: CHKVER: * benefits both the users and developers of ntop. * [MSGID9364840] Jan 3 07:14:57 tigger ntop[13131]: CHKVER: * * [MSGID0021864] Jan 3 07:14:57 tigger ntop[13131]: CHKVER: * Review the man ntop page for more information. * [MSGID0832872] Jan 3 07:14:57 tigger ntop[13131]: CHKVER: * * [MSGID0021864] Jan 3 07:14:57 tigger ntop[13131]: CHKVER: **********************PRIVACY**NOTICE********************** [MSGID8410464] in the 1st 'run', you ARE seeing the skipping check message. So the basic code is working just fine... The one that's running is this one (there's no hit for a 4.9-RELEASE-p1 system in the log). You can check the info.html page and you'll see that it's not reporting the check version info. The second 'run' is failing to connect which is odd - that's likely some sort of local firewall filtering, etc. (with this change ntop needs the ability to originate connections on port 80). Esp. since the error is 'timeout'. I did do some testing of this on Owl under FreeBSD, 5.1 and 4.9-RELEASE - and it worked fine (check the all file log, http://www.burtonstrauss.com/accesslogall.html), although I don't have a fancy script... I think it's some kind of problem with your script that's kicking ntop off twice. Please check and make sure that $ntop_path/bin/ntop isn't pointed back at the script, where it eats the 1st parameter as start|stop|restart, etc. - that would explain why the --skip-version-check is disappearing. Or maybe it's falling back into itself, etc. -----Burton > I am writing with some observations on ntop 2.2.98 (CVS 2-Jan-2004) on > FreeBSD 4.9-RELEASE-p1. > > 1 Start up messages and problems > > When ntop starts it emits the messages below :- > > 1.1 Despite the use of --skip-version-check, it does not appear to. > > The host is a small terminal server without Internet access. > > 1.2 There are two (2) ntops started; one fails when it tries to lock one > of the DB fils. > > At this point ntop is functional. > > Yours sincerely. > > > -- > ------------------------------------------------------------------------ > Stanley Hopcroft > ------------------------------------------------------------------------ > 1 Start up messages and problems > > tssyd# /usr/local/etc/rc.d/ntop.sh start > 03/Jan/2004 19:22:57 ntop v.2.2.98 MT (SSL) > 03/Jan/2004 19:22:57 Configured on Jan 3 2004 16:02:35, built on Jan > 3 2004 16:05:29. > 03/Jan/2004 19:22:57 Copyright 1998-2004 by Luca Deri <[EMAIL PROTECTED]> > 03/Jan/2004 19:22:57 Get the freshest ntop from http://www.ntop.org/ > 03/Jan/2004 19:22:57 > CHKVER: **********************PRIVACY**NOTICE********************** > 03/Jan/2004 19:22:57 CHKVER: * ntop instances may record individually > identifiable * > 03/Jan/2004 19:22:57 CHKVER: * information on a remote system as part > of the version * > 03/Jan/2004 19:22:57 CHKVER: * > check. * > 03/Jan/2004 19:22:57 CHKVER: * > * > 03/Jan/2004 19:22:57 CHKVER: * You have requested - via the > --skip-version-check * > 03/Jan/2004 19:22:57 CHKVER: * option that this check be skipped and so > no * > 03/Jan/2004 19:22:57 CHKVER: * individually identifiable information > will be recorded. * > 03/Jan/2004 19:22:57 CHKVER: * > * > 03/Jan/2004 19:22:57 CHKVER: * In general, we ask you to permit this > check because it * > 03/Jan/2004 19:22:57 CHKVER: * benefits both the users and developers > of ntop. * > 03/Jan/2004 19:22:57 CHKVER: * > * > 03/Jan/2004 19:22:57 CHKVER: * Review the man ntop page for more > information. * > 03/Jan/2004 19:22:57 CHKVER: * > * > 03/Jan/2004 19:22:57 > CHKVER: **********************PRIVACY**NOTICE********************** > 03/Jan/2004 19:22:57 Initializing ntop > 03/Jan/2004 19:22:57 PROTO_INIT: Processing protocol > list: > 'HTTP=http|https,DNS=domain,Ntop=3000,NBios-IP=netbios-ns|netbios- > dgm|netbios-ssn,Mail=lotusnote|pop2|pop3|kpop|smtp|imap,SNMP=snmp| > snmptrap,Telnet=telnet,Cache=3128,BEA=7000-7010,SSH=ssh,SAP=3202,P > SCAM=4754,Virus=2967,LPD=515,PCAny=5631|5632,FTP=ftp|49152-65536' > 03/Jan/2004 19:22:57 Checking fxp0 for additional devices > 03/Jan/2004 19:22:57 Resetting traffic statistics for device fxp0 > 03/Jan/2004 19:22:57 DLT: Device 0 [fxp0] is 1, mtu 1514, header 14 > 03/Jan/2004 19:22:57 Initializing gdbm databases > 03/Jan/2004 19:22:57 Now running as requested user 'nobody' > (65534:65534) > 03/Jan/2004 19:22:57 VENDOR: Loading MAC address table. > 03/Jan/2004 19:22:57 VENDOR: Checking './specialMAC.txt.gz' > 03/Jan/2004 19:22:57 VENDOR: Checking > '/usr/local/ntop-2.2.98/etc/ntop/specialMAC.txt.gz' > 03/Jan/2004 19:22:57 VENDOR: File > '/usr/local/ntop-2.2.98/etc/ntop/specialMAC.txt.gz' does not need to be > reloaded > 03/Jan/2004 19:22:57 VENDOR: Checking './oui.txt.gz' > 03/Jan/2004 19:22:57 VENDOR: Checking > '/usr/local/ntop-2.2.98/etc/ntop/oui.txt.gz' > 03/Jan/2004 19:22:57 VENDOR: File > '/usr/local/ntop-2.2.98/etc/ntop/oui.txt.gz' does not need to be > reloaded > 03/Jan/2004 19:22:57 INIT: Parent process is exiting (this is normal) > 03/Jan/2004 19:22:57 INIT: Bye bye: I'm becoming a daemon... > ntop03/Jan/2004 19:22:57 ntop v.2.2.98 MT (SSL) > 03/Jan/2004 19:22:57 Configured on Jan 3 2004 16:02:35, built on Jan > 3 2004 16:05:29. > 03/Jan/2004 19:22:57 Copyright 1998-2004 by Luca Deri <[EMAIL PROTECTED]> > 03/Jan/2004 19:22:57 Get the freshest ntop from http://www.ntop.org/ > 03/Jan/2004 19:22:57 > CHKVER: **********************PRIVACY**NOTICE********************** > 03/Jan/2004 19:22:57 CHKVER: * ntop instances may record individually > identifiable * > 03/Jan/2004 19:22:57 CHKVER: * information on a remote system as part > of the version * > 03/Jan/2004 19:22:57 CHKVER: * > check. * > 03/Jan/2004 19:22:57 CHKVER: * > * > 03/Jan/2004 19:22:57 CHKVER: * You may request - via the > --skip-version-check option * > 03/Jan/2004 19:22:57 CHKVER: * that this check be skipped and that no > individually * > 03/Jan/2004 19:22:57 CHKVER: * identifiable information be > recorded. * > 03/Jan/2004 19:22:57 CHKVER: * > * > 03/Jan/2004 19:22:57 CHKVER: * In general, we ask you to permit this > check because it * > 03/Jan/2004 19:22:57 CHKVER: * benefits both the users and developers > of ntop. * > 03/Jan/2004 19:22:57 CHKVER: * > * > 03/Jan/2004 19:22:57 CHKVER: * Review the man ntop page for more > information. * > 03/Jan/2004 19:22:57 CHKVER: * > * > 03/Jan/2004 19:22:57 > CHKVER: **********************PRIVACY**NOTICE********************** > 03/Jan/2004 19:22:57 CHKVER: Checking current ntop version at > www.burtonstrauss.com/version.xml > 03/Jan/2004 19:24:13 **ERROR** CHKVER: Unable to connect > socket: Operation timed out(60) > 03/Jan/2004 19:24:13 Initializing ntop > 03/Jan/2004 19:24:13 PROTO_INIT: Processing protocol > list: > 'HTTP=http|https,DNS=domain,Ntop=3000,NBios-IP=netbios-ns|netbios- > dgm|netbios-ssn,Mail=lotusnote|pop2|pop3|kpop|smtp|imap,SNMP=snmp| > snmptrap,Telnet=telnet,Cache=3128,BEA=7000-7010,SSH=ssh,SAP=3202,P > SCAM=4754,Virus=2967,LPD=515,PCAny=5631|5632,FTP=ftp|49152-65536' > 03/Jan/2004 19:24:13 Checking fxp0 for additional devices > 03/Jan/2004 19:24:13 Resetting traffic statistics for device fxp0 > 03/Jan/2004 19:24:13 DLT: Device 0 [fxp0] is 1, mtu 1514, header 14 > 03/Jan/2004 19:24:13 Initializing gdbm databases > 03/Jan/2004 19:24:13 Now running as requested user 'nobody' > (65534:65534) > 03/Jan/2004 19:24:13 **FATAL_ERROR** ....open of > /var/log/ntop/prefsCache.db failed: Can't be writer > 03/Jan/2004 19:24:13 1. Is another instance of ntop running? > 03/Jan/2004 19:24:13 2. Make sure that the use you specified can write > in the target directory > tssyd# > > Here is the start command > > ase "$1" in > start) > # ntop 2.2.98 > $ntop_path/bin/ntop --skip-version-check > --disable-mutexextrainfo -o -c -u nobody -d -P /var/log/ntop -w 3000 -i > fxp0 -p $protocols -B "$wan_filter" && echo -n ' ntop' _______________________________________________ Ntop-dev mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop-dev
