On Wed, Mar 25, 2015 at 11:24 AM, Thomas Stegbauer
<[email protected]> wrote:
>
>
> Am 25.03.2015 um 00:50 schrieb Arianna Avanzini:
>>
>> On Tue, Mar 24, 2015 at 1:50 PM, Thomas Stegbauer
>> <[email protected]> wrote:
>>>
>>> hi,
>>>
>> Hi Thomas,
>>
>>> i installed debian 7 x64 on an APU1D4 Board
>>> (http://www.pcengines.ch/apu1d4.htm)
>>> and created an bridge on eth1 and eth2.
>>>
>>> There i installed
>>>
>>> ntopng_1.2.2-8483_amd64.deb
>>> pfring_6.0.3-8483_amd64.deb
>>> pfring-dkms_6.0.3_all.deb
>>>
>>> first when i start the the service via /etc/init.d/ntopng
>>> it stopps at line 97, when i start /usr/bin/ntopng
>>> /etc/ntopng/ntopng.conf it is starting.
>>>
>>> when i login in to the webgui i get some flows after a while it stops
>>> updating.
>>>
>>> Are i am missing a license?
>>> or are the Realtek chips on the board the cause?
>>>
>> Just from the log you appended it would seem that ntopng is trying to
>> store its PID with a malformed file path. Could you please provide the
>> configuration file you are starting ntopng with?
>>
>> Thank you,
>> Arianna
>
> in /etc/ntopng/ntopng.conf is defined:
> -G /var/run/
>

The argument to the -G option should be the path to the file itself,
e.g. /var/run/ntopng.pid. Please also note that the PID file is
written after dropping privileges, so it might be that user "nobody"
is not able to write in /var/run. The default directory is instead
/var/tmp.

> The permissions are:
>
> ls -al /var |grep run
> lrwxrwxrwx  1 root root     9 Mar  4 13:19 lock -> /run/lock
> lrwxrwxrwx  1 root root     4 Mar  4 13:19 run -> /run
> root@apu:/etc/ntopng# ls -al / |grep run
> drwxr-xr-x 13 root root   480 Mar 24 12:59 run
>
> The mystery is, it is working in the beginning for some flows and then
> stops.
>

I agree that's an interesting issue, please do let us know if the
problem persists after providing a correct PID file path as argument
to the -G option.

Thank you,
Arianna


> thomas
>
>
>>> But when i start a tcpdump on monbr1 i see all the traffic and the data
>>> flows through the box.
>>>
>>> best regards
>>> thomas
>>>
>>>
>>>
>>> In the log i get
>>>
>>> 16/Mar/2015 14:08:22 [Ntop.cpp:680] Setting local networks to
>>> 10.58.50.0/25,10.58.49.0/25,10.58.49.128/25
>>> 16/Mar/2015 14:08:22 [Redis.cpp:86] Successfully connected to Redis
>>> 127.0.0.1:6379
>>> 16/Mar/2015 14:08:22 [Ntop.cpp:654] Parent process is exiting (this is
>>> normal)
>>> 16/Mar/2015 14:08:22 [PF_RINGInterface.cpp:50] Reading packets from
>>> PF_RING v.6.0.3 interface monbr1...
>>> 16/Mar/2015 14:08:22 [Ntop.cpp:804] Registered interface monbr1 [id: 0]
>>> 16/Mar/2015 14:08:22 [Utils.cpp:250] User changed to nobody
>>> 16/Mar/2015 14:08:22 [main.cpp:186] ERROR: Unable to store PID in file
>>> /var/run/
>>> 16/Mar/2015 14:08:22 [Geolocation.cpp:59] WARNING: Unable to read GeoIP
>>> database /usr/share/ntopng/httpdocs/geoip/GeoIPASNum.dat
>>> 16/Mar/2015 14:08:22 [Geolocation.cpp:59] WARNING: Unable to read GeoIP
>>> database /usr/share/ntopng/httpdocs/geoip/GeoIPASNumv6.dat
>>> 16/Mar/2015 14:08:22 [Geolocation.cpp:59] WARNING: Unable to read GeoIP
>>> database /usr/share/ntopng/httpdocs/geoip/GeoLiteCity.dat
>>> 16/Mar/2015 14:08:22 [Geolocation.cpp:59] WARNING: Unable to read GeoIP
>>> database /usr/share/ntopng/httpdocs/geoip/GeoLiteCityv6.dat
>>> 16/Mar/2015 14:08:22 [HTTPserver.cpp:374] HTTPS Disabled: missing SSL
>>> certificate /usr/share/ntopng/httpdocs/ssl/ntopng-cert.pem
>>> 16/Mar/2015 14:08:22 [HTTPserver.cpp:376] Please read
>>> https://svn.ntop.org/svn/ntop/trunk/ntopng/README.SSL if you want to
>>> enable SSL.
>>> 16/Mar/2015 14:08:22 [HTTPserver.cpp:420] Web server dirs
>>> [/usr/share/ntopng/httpdocs][/usr/share/ntopng/scripts]
>>> 16/Mar/2015 14:08:22 [HTTPserver.cpp:423] HTTP server listening on port
>>> 3000
>>> 16/Mar/2015 14:08:22 [main.cpp:231] Working directory: /var/lib/ntopng
>>> 16/Mar/2015 14:08:22 [main.cpp:233] Scripts/HTML pages directory:
>>> /usr/share/ntopng
>>> 16/Mar/2015 14:08:22 [Ntop.cpp:218] Welcome to ntopng x86_64 v.1.2.2
>>> (r8483) - (C) 1998-14 ntop.org
>>> 16/Mar/2015 14:08:22 [PeriodicActivities.cpp:53] Started periodic
>>> activities loop...
>>> 16/Mar/2015 14:08:22 [RuntimePrefs.cpp:32] Dump alerts into syslog
>>> 16/Mar/2015 14:08:22 [NetworkInterface.cpp:842] Started packet polling
>>> on interface monbr1 [id: 0]...
>>>
>>> when i login in to the webgui i get some flows after a while it stops
>>> updating.
>>>
>>> Are i am missing a license?
>>> or are the Realtek chips on the board the cause?
>>>
>>> But when i start a tcpdump on monbr1 i see all the traffic and the data
>>> flows through the box.
>>>
>>> best regards
>>> thomas
>>>
>>>
>>> _______________________________________________
>>> Ntop mailing list
>>> [email protected]
>>> http://listgateway.unipi.it/mailman/listinfo/ntop
>>
>>
>>
>
>
> _______________________________________________
> Ntop mailing list
> [email protected]
> http://listgateway.unipi.it/mailman/listinfo/ntop



-- 
/*
 * Arianna Avanzini
 * [email protected]
 * http://ava.webhop.me
 */
_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to