[prev in list] [next in list] [prev in thread] [next in thread]
List: ntop
Subject: Re: [Ntop] Yum update on CentOS 5.1 breaks ntop
From: Luca Deri <deri () ntop ! org>
Date: 2008-06-20 8:54:42
Message-ID: 59BF9502-85C1-478B-B98A-A09B29055D27 () ntop ! org
[Download RAW message or body]
Thomas
can you please post your /etc/ntop.conf
Thanks Luca
On Jun 18, 2008, at 12:02 PM, Thomas Harold wrote:
> Found a possibly curious issue when I did a "yum update" on my CentOS
> 5.1 box this past week. I'm not 100% sure what version I had prior (I
> think it was "ntop-3.3-1.el5.rf.x86_64" from Jan 2008), but the new
> version is "ntop-3.3.6-1.el5.rf.x86_64".
>
> The error lies in the init.d script used to start/stop ntop on
> CentOS/RedHat systems. I believe this script is created by RedHat,
> not
> the ntop maintainers, but it possibly highlights an error in the new
> version.
>
> For the older version, the following line works properly (this appears
> in the start() method inside the /etc/init.d/ntop file):
>
> daemon $prog -d -L @/etc/ntop.conf
>
> But with the new version, the above line causes ntop to fail during
> the
> initial parse of the ntop.conf file as it complains about arguments.
> But if we move the @ argument to the front of the list, the new
> version
> of ntop runs without issues.
>
> daemon $prog @/etc/ntop.conf -d -L
>
> The failure message when ntop dies during startup due to the @ option
> being at the end of the list of arguments looks like:
>
> --------------------------------------------
>
> # /etc/init.d/ntop start
> Starting ntop: Processing file /etc/ntop.conf for parameters...
> Tue Jun 17 10:57:03 2008 NOTE: Interface merge enabled by default
> Tue Jun 17 10:57:03 2008 Initializing gdbm databases
> FATAL ERROR: Unrecognized/unprocessed ntop options...
> , --user ntop, ,
> --db-file-path /var/ntop, , --interface eth0, , ,
> --use-syslog, , , , , , , --daemon,
>
> run ntop --help for usage information
>
> Common problems:
> -B "filter expressions" (quotes are required)
> --use-syslog=facilty (the = is required)
>
> [FAILED]
>
> --------------------------------------------
>
> _______________________________________________
> Ntop mailing list
> Ntop@unipi.it
> http://listgateway.unipi.it/mailman/listinfo/ntop
_______________________________________________
Ntop mailing list
Ntop@unipi.it
http://listgateway.unipi.it/mailman/listinfo/ntop
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic