You are not logged in.
Like the title says it won't start anymore, well it does start bus the web-interface is inaccessible.
[xxx@xxx ~]$ sudo ntop -w 3000 -i ens1
Mon Apr 10 22:50:38 2017 Initializing gdbm databases
Mon Apr 10 22:50:38 2017 ntop will be started as user nobody
Mon Apr 10 22:50:38 2017 ntop v.5.0.1 (64 bit)
Mon Apr 10 22:50:38 2017 Configured on Nov 1 2016 10:47:49, built on Nov 1 2016 10:48:16.
Mon Apr 10 22:50:38 2017 Copyright 1998-2012 by Luca Deri <deri@ntop.org>
Mon Apr 10 22:50:38 2017 Get the freshest ntop from http://www.ntop.org/
Mon Apr 10 22:50:38 2017 NOTE: ntop is running from 'ntop'
Mon Apr 10 22:50:38 2017 NOTE: (but see warning on man page for the --instance parameter)
Mon Apr 10 22:50:38 2017 NOTE: ntop libraries are in '/usr/lib'
Mon Apr 10 22:50:38 2017 Initializing ntop
Mon Apr 10 22:50:38 2017 Checking ens1 for additional devices
Mon Apr 10 22:50:38 2017 Resetting traffic statistics for device ens1
Mon Apr 10 22:50:38 2017 Initializing device ens1 (0)
Mon Apr 10 22:50:38 2017 DLT: Device 0 [ens1] is 1, mtu 1514, header 14
Mon Apr 10 22:50:38 2017 **ERROR** While adding events.mask=0.
/etc/conf.d/ntop:
# Parameters to be passed to ntop.
NTOP_ARGS="-w 3000 -4 -i ens1"
# Location of the log file.
NTOP_LOG="/var/log/ntop.log"
ntop.service:
[Unit]
Description=A network traffic probe similar to the UNIX top command
Requires=network.target
ConditionPathExists=/var/lib/ntop/ntop_pw.db
After=syslog.target network.target
[Service]
Environment=LANG=C
ExecStart=/usr/bin/ntop -i ens1 -w 3000
Type=simple
StandardError=syslog
[Install]
WantedBy=multi-user.target
/var/lib/ntop/ belongs to root:root with permissions 755.
Also all plugins in /usr/lib/ntop/plugins/ are ELF 64-bit.
If you need more information just let me know.
Last edited by Ztjuh (2017-04-29 01:57:00)
Offline
As you say you have migrated, do you have any exisiting dot files in your home area relating to ntop? Does it work for other users?
Offline
Same error when trying to run as a other user. I also saw that there was a update on ntop today but the error remained. I didn't see any dot filer relating to ntop.
Offline
I also saw that there was a update on ntop today
https://git.archlinux.org/svntogit/comm … kages/ntop
shows...
"2017-03-16 upgpkg: ntop 5.0.1-10"
which shows the update was over a month ago - what's the output of...
pacman -Q ntop
Also what does this show...
systemctl status ntop
Is there anything in your journal relating to ntop?
Just double checking you've also followed the wiki...
https://wiki.archlinux.org/index.php/Ntop
Offline
It may be that the 32-bit and 64-bit ntop databases are incompatible (I vaguely remember a similar issue when migrating architectures with vnstat).
Does removing all the the files in /var/lib/ntop/ and /var/lib/ntop/rrd/ help?
Offline
Yes after removing all files in /var/lib/ntop/ and /var/lib/ntop/rdd nTop starts again, there goes 2 years of data :-(
Offline