Loading...
 

Blog

ManageEngine NetFlow Analyzer on Debian 8

admin Monday December 19, 2016

ManageEngine's NetFlow Analyzer is probably the best NetFlow analysis software. It supports GNU/Linux and is even free for a maximum of 2 network interfaces.

NetFlow Analyzer 12.1 can be installed on Debian 8, but that does not mean there are no issues. The software is heavyweight. Once the service was started with # /etc/init.d/OpManagerServer start; you still need to give a some time before the service is usable.

The init scripts unfortunately lack LSB headers. While that apparently does not prevent proper functioning nor even pollute logs in general, it seems to cause much confusion when dpkg has to upgrade a service. Therefore, upgrading Samba brought a pretty scary output:

Préconfiguration des paquets...
(Lecture de la base de données... 83617 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de .../libnss-winbind_2%3a4.2.14+dfsg-0+deb8u2_i386.deb ...
Dépaquetage de libnss-winbind:i386 (2:4.2.14+dfsg-0+deb8u2) sur (2:4.2.10+dfsg-0+deb8u3) ...
Préparation du dépaquetage de .../libpam-winbind_2%3a4.2.14+dfsg-0+deb8u2_i386.deb ...
Dépaquetage de libpam-winbind:i386 (2:4.2.14+dfsg-0+deb8u2) sur (2:4.2.10+dfsg-0+deb8u3) ...
Préparation du dépaquetage de .../samba-vfs-modules_2%3a4.2.14+dfsg-0+deb8u2_i386.deb ...
Dépaquetage de samba-vfs-modules (2:4.2.14+dfsg-0+deb8u2) sur (2:4.2.10+dfsg-0+deb8u3) ...
Préparation du dépaquetage de .../samba-dsdb-modules_2%3a4.2.14+dfsg-0+deb8u2_i386.deb ...
Dépaquetage de samba-dsdb-modules (2:4.2.14+dfsg-0+deb8u2) sur (2:4.2.10+dfsg-0+deb8u3) ...
Préparation du dépaquetage de .../python-samba_2%3a4.2.14+dfsg-0+deb8u2_i386.deb ...
Dépaquetage de python-samba (2:4.2.14+dfsg-0+deb8u2) sur (2:4.2.10+dfsg-0+deb8u3) ...
Préparation du dépaquetage de .../libwbclient0_2%3a4.2.14+dfsg-0+deb8u2_i386.deb ...
Dépaquetage de libwbclient0:i386 (2:4.2.14+dfsg-0+deb8u2) sur (2:4.2.10+dfsg-0+deb8u3) ...
Préparation du dépaquetage de .../winbind_2%3a4.2.14+dfsg-0+deb8u2_i386.deb ...
Dépaquetage de winbind (2:4.2.14+dfsg-0+deb8u2) sur (2:4.2.10+dfsg-0+deb8u3) ...
Préparation du dépaquetage de .../smbclient_2%3a4.2.14+dfsg-0+deb8u2_i386.deb ...
Dépaquetage de smbclient (2:4.2.14+dfsg-0+deb8u2) sur (2:4.2.10+dfsg-0+deb8u3) ...
Préparation du dépaquetage de .../libsmbclient_2%3a4.2.14+dfsg-0+deb8u2_i386.deb ...
Dépaquetage de libsmbclient:i386 (2:4.2.14+dfsg-0+deb8u2) sur (2:4.2.10+dfsg-0+deb8u3) ...
Préparation du dépaquetage de .../samba-libs_2%3a4.2.14+dfsg-0+deb8u2_i386.deb ...
Dépaquetage de samba-libs:i386 (2:4.2.14+dfsg-0+deb8u2) sur (2:4.2.10+dfsg-0+deb8u3) ...
Préparation du dépaquetage de .../samba_2%3a4.2.14+dfsg-0+deb8u2_i386.deb ...
Dépaquetage de samba (2:4.2.14+dfsg-0+deb8u2) sur (2:4.2.10+dfsg-0+deb8u3) ...
Préparation du dépaquetage de .../samba-common-bin_2%3a4.2.14+dfsg-0+deb8u2_i386.deb ...
Dépaquetage de samba-common-bin (2:4.2.14+dfsg-0+deb8u2) sur (2:4.2.10+dfsg-0+deb8u3) ...
Préparation du dépaquetage de .../samba-common_2%3a4.2.14+dfsg-0+deb8u2_all.deb ...
Dépaquetage de samba-common (2:4.2.14+dfsg-0+deb8u2) sur (2:4.2.10+dfsg-0+deb8u3) ...
Traitement des actions différées (« triggers ») pour man-db (2.7.0.2-5) ...
Traitement des actions différées (« triggers ») pour systemd (215-17+deb8u5) ...
Paramétrage de samba-common (2:4.2.14+dfsg-0+deb8u2) ...
debconf: Impossible d'initialiser l'interface : Gnome
debconf: (Can't locate Gtk2.pm in @INC (you may need to install the Gtk2 module) (@INC contains: /etc/perl /usr/local/lib/i386-linux-gnu/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/i386-linux-gnu/perl5/5.20 /usr/share/perl5 /usr/lib/i386-linux-gnu/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Gnome.pm line 91.)
debconf: Utilisation de l'interface Dialog en remplacement
Paramétrage de libwbclient0:i386 (2:4.2.14+dfsg-0+deb8u2) ...
Paramétrage de samba-libs:i386 (2:4.2.14+dfsg-0+deb8u2) ...
Paramétrage de python-samba (2:4.2.14+dfsg-0+deb8u2) ...
Paramétrage de samba-common-bin (2:4.2.14+dfsg-0+deb8u2) ...
Paramétrage de samba-dsdb-modules (2:4.2.14+dfsg-0+deb8u2) ...
Paramétrage de samba (2:4.2.14+dfsg-0+deb8u2) ...
insserv: warning: script 'K98OpManagerServer' missing LSB tags and overrides
insserv: warning: script 'OpManagerServer' missing LSB tags and overrides
insserv: There is a loop at service rmnologin if started
insserv: There is a loop between service OpManagerServer and mountnfs if started
insserv:  loop involving service mountnfs at depth 10
insserv:  loop involving service nfs-common at depth 9
insserv: There is a loop between service OpManagerServer and networking if started
insserv:  loop involving service networking at depth 7
insserv:  loop involving service urandom at depth 6
insserv:  loop involving service mountnfs-bootclean at depth 12
insserv:  loop involving service rpcbind at depth 9
insserv: There is a loop between service OpManagerServer and mountall-bootclean if started
insserv:  loop involving service mountall-bootclean at depth 6
insserv:  loop involving service mountall at depth 5
insserv: There is a loop between service rmnologin and checkroot if started
insserv:  loop involving service checkroot at depth 3
insserv:  loop involving service keyboard-setup at depth 2
insserv:  loop involving service hwclock at depth 3
insserv: There is a loop between service rmnologin and udev if started
insserv:  loop involving service udev at depth 1
insserv:  loop involving service checkfs at depth 5
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Max recursions depth 99 reached
insserv:  loop involving service irqbalance at depth 2
insserv: There is a loop at service OpManagerServer if started
insserv:  loop involving service rsyslog at depth 13
insserv:  loop involving service OpManagerServer at depth 1
insserv:  loop involving service mountkernfs at depth 1
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: erreur de traitement du paquet samba (--configure) :
 le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1
dpkg: des problèmes de dépendances empêchent la configuration de winbind :
 winbind dépend de samba (= 2:4.2.14+dfsg-0+deb8u2) ; cependant :
 Le paquet samba n'est pas encore configuré.

dpkg: erreur de traitement du paquet winbind (--configure) :
 problèmes de dépendances - laissé non configuré
dpkg: des problèmes de dépendances empêchent la configuration de libnss-winbind:i386 :
 libnss-winbind:i386 dépend de winbind (= 2:4.2.14+dfsg-0+deb8u2) ; cependant :
 Le paquet winbind n'est pas encore configuré.

dpkg: erreur de traitement du paquet libnss-winbind:i386 (--configure) :
 problèmes de dépendances - laissé non configuré
dpkg: des problèmes de dépendances empêchent la configuration de libpam-winbind:i386 :
 libpam-winbind:i386 dépend de winbind (= 2:4.2.14+dfsg-0+deb8u2) ; cependant :
 Le paquet winbind n'est pas encore configuré.

dpkg: erreur de traitement du paquet libpam-winbind:i386 (--configure) :
 problèmes de dépendances - laissé non configuré
Paramétrage de samba-vfs-modules (2:4.2.14+dfsg-0+deb8u2) ...
Paramétrage de libsmbclient:i386 (2:4.2.14+dfsg-0+deb8u2) ...
Paramétrage de smbclient (2:4.2.14+dfsg-0+deb8u2) ...
Traitement des actions différées (« triggers ») pour libc-bin (2.19-18+deb8u6) ...
Des erreurs ont été rencontrées pendant l'exécution :
 samba
 winbind
 libnss-winbind:i386
 libpam-winbind:i386
E: Sub-process /usr/bin/dpkg returned an error code (1)
Échec de l'installation d'un paquet. Tentative de récupération :
Paramétrage de samba (2:4.2.14+dfsg-0+deb8u2) ...
insserv: warning: script 'K98OpManagerServer' missing LSB tags and overrides
insserv: warning: script 'OpManagerServer' missing LSB tags and overrides
insserv: There is a loop at service rmnologin if started
insserv: There is a loop between service OpManagerServer and mountnfs if started
insserv:  loop involving service mountnfs at depth 10
insserv:  loop involving service nfs-common at depth 9
insserv: There is a loop between service OpManagerServer and networking if started
insserv:  loop involving service networking at depth 7
insserv:  loop involving service urandom at depth 6
insserv:  loop involving service mountnfs-bootclean at depth 12
insserv:  loop involving service rpcbind at depth 9
insserv: There is a loop between service OpManagerServer and mountall-bootclean if started
insserv:  loop involving service mountall-bootclean at depth 6
insserv:  loop involving service mountall at depth 5
insserv: There is a loop between service rmnologin and checkroot if started
insserv:  loop involving service checkroot at depth 3
insserv:  loop involving service keyboard-setup at depth 2
insserv:  loop involving service hwclock at depth 3
insserv: There is a loop between service rmnologin and udev if started
insserv:  loop involving service udev at depth 1
insserv:  loop involving service checkfs at depth 5
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting OpManagerServer depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Max recursions depth 99 reached
insserv:  loop involving service irqbalance at depth 2
insserv: There is a loop at service OpManagerServer if started
insserv:  loop involving service rsyslog at depth 13
insserv:  loop involving service OpManagerServer at depth 1
insserv:  loop involving service mountkernfs at depth 1
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: erreur de traitement du paquet samba (--configure) :
 le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1
dpkg: des problèmes de dépendances empêchent la configuration de winbind :
 winbind dépend de samba (= 2:4.2.14+dfsg-0+deb8u2) ; cependant :
 Le paquet samba n'est pas encore configuré.

dpkg: erreur de traitement du paquet winbind (--configure) :
 problèmes de dépendances - laissé non configuré
dpkg: des problèmes de dépendances empêchent la configuration de libpam-winbind:i386 :
 libpam-winbind:i386 dépend de winbind (= 2:4.2.14+dfsg-0+deb8u2) ; cependant :
 Le paquet winbind n'est pas encore configuré.

dpkg: erreur de traitement du paquet libpam-winbind:i386 (--configure) :
 problèmes de dépendances - laissé non configuré
dpkg: des problèmes de dépendances empêchent la configuration de libnss-winbind:i386 :
 libnss-winbind:i386 dépend de winbind (= 2:4.2.14+dfsg-0+deb8u2) ; cependant :
 Le paquet winbind n'est pas encore configuré.

dpkg: erreur de traitement du paquet libnss-winbind:i386 (--configure) :
 problèmes de dépendances - laissé non configuré
Des erreurs ont été rencontrées pendant l'exécution :
 samba
 winbind
 libpam-winbind:i386
 libnss-winbind:i386


Thankfully, Samba and everything other than dpkg seemed to work perfectly, but to get rid of this nastiness, I had to add a dummy LSB header to /etc/init.d/OpManagerServer:

### BEGIN INIT INFO
# Dummy LSB header
# Required-Start:    $remote_fs
# Required-Stop:     $remote_fs
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Start or stop ManageEngine NetFlow Analyzer
### END INIT INFO

And then run

# insserv /etc/init.d/OpManagerServer


This is apparently the result of Debian bug #587587.

Featured Project