Bug#849210: ntopng: fails to start

2016-12-23 Thread Ludovico Cavedon
package ntopng
tags 849210 + confirmed
tags 849210 grave
thanks

On Fri, Dec 23, 2016 at 8:47 PM Ludovico Cavedon  wrote:

> On Fri, Dec 23, 2016 at 4:48 PM Aaron M. Ucko  wrote:
>
> As of version 2.4, ntopng fails to start on my system.  I'm not sure
> what specifically is going wrong; all I see in ntopng.log is
>
> 23/Dec/2016 10:38:43 [Ntop.cpp:1121] Setting local networks to 127.0.0.0/8
> 23/Dec/2016  10:38:43 [Redis.cpp:92]
> Successfully connected to redis 127.0.0.1:6379@0
> 23/Dec/2016 10:38:43 [Ntop.cpp:1095] Parent process is exiting (this is
> normal)
>
>
>
Yes, I was able to reproduce it.
I am bumping severity to grave because it is basically causing ntopng to
not start on almost every system.

The problem is that the default PID path changed.

The  workaound is to change
/etc/systemd/system/multi-user.target.wants/ntopng.service from
PIDFile=/var/tmp/ntopng.pid
to
PIDFile=/var/run/ntopng.pid

I will upgrade a fix soon.

Cheers,
Ludovico


Bug#849210: ntopng: fails to start

2016-12-23 Thread Ludovico Cavedon
Hi Aaron,

On Fri, Dec 23, 2016 at 4:48 PM Aaron M. Ucko  wrote:

> As of version 2.4, ntopng fails to start on my system.  I'm not sure
> what specifically is going wrong; all I see in ntopng.log is
>
> 23/Dec/2016 10:38:43 [Ntop.cpp:1121] Setting local networks to 127.0.0.0/8
> 23/Dec/2016  10:38:43 [Redis.cpp:92]
> Successfully connected to redis 127.0.0.1:6379@0
> 23/Dec/2016 10:38:43 [Ntop.cpp:1095] Parent process is exiting (this is
> normal)
>
>
I will look into that soon.
Are you sure ntopng is not running in background after this message?
Would you be able to send me the full log, please?

Thanks,
Ludovico


Bug#849210: ntopng: fails to start

2016-12-23 Thread Aaron M. Ucko
Package: ntopng
Version: 2.4+dfsg1-1
Severity: important

As of version 2.4, ntopng fails to start on my system.  I'm not sure
what specifically is going wrong; all I see in ntopng.log is

23/Dec/2016 10:38:43 [Ntop.cpp:1121] Setting local networks to 127.0.0.0/8
23/Dec/2016 10:38:43 [Redis.cpp:92] Successfully connected to redis 
127.0.0.1:6379@0
23/Dec/2016 10:38:43 [Ntop.cpp:1095] Parent process is exiting (this is normal)

System logs additionally show the ndpi "INTERNAL ERROR" from
https://github.com/ntop/ntopng/issues/638, but AFAICT this error
shouldn't be fatal, and rebuilding ndpi with upstream's patch applied
made no difference.

Could you please take a look?

Thanks!

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (300, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, x32

Kernel: Linux 4.8.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages ntopng depends on:
ii  init-system-helpers  1.46
ii  libc62.24-8
ii  libcurl3-gnutls  7.50.1-1
ii  libgcc1  1:6.2.1-5
ii  libgeoip11.6.9-4
ii  libhiredis0.13   0.13.3-2
ii  libjson-c3   0.12.1-1.1
ii  libluajit-5.1-2  2.0.4+dfsg-1
ii  libmariadbclient18   10.0.28-2
ii  libndpi4 1.8-1
ii  libpcap0.8   1.8.1-3
ii  librrd8  1.6.0-1+b1
ii  libsqlite3-0 3.15.2-1
ii  libstdc++6   6.2.1-5
ii  libzmq5  4.1.5-2
ii  lsb-base 9.20161125
ii  ntopng-data  2.4+dfsg1-1
ii  redis-server 3:3.2.6-1
ii  zlib1g   1:1.2.8.dfsg-4

ntopng recommends no packages.

Versions of packages ntopng suggests:
pn  geoip-database-contrib  

-- no debconf information