# ntop Thu Oct 22 15:28:07 2015 Initializing gdbm databases Thu Oct 22 15:28:07 2015 ntop will be started as user nobody Thu Oct 22 15:28:07 2015 ntop v.5.0.1 (64 bit) Thu Oct 22 15:28:07 2015 Configured on Oct 22 2015 15:26:35, built on Oct 22 2015 15:27:08. Thu Oct 22 15:28:07 2015 Copyright 1998-2012 by Luca Deri <deri@ntop.org> Thu Oct 22 15:28:07 2015 Get the freshest ntop from http://www.ntop.org/ Thu Oct 22 15:28:07 2015 NOTE: ntop is running from 'ntop' Thu Oct 22 15:28:07 2015 NOTE: (but see warning on man page for the --instance parameter) Thu Oct 22 15:28:07 2015 NOTE: ntop libraries are in '/usr/lib64' Thu Oct 22 15:28:07 2015 Initializing ntop Thu Oct 22 15:28:08 2015 Checking enp5s0 for additional devices Thu Oct 22 15:28:08 2015 Resetting traffic statistics for device enp5s0 Thu Oct 22 15:28:08 2015 Initializing device enp5s0 (0) Thu Oct 22 15:28:08 2015 DLT: Device 0 [enp5s0] is 1, mtu 1514, header 14 Thu Oct 22 15:28:08 2015 Initialized events [mask: 0][path: ] Thu Oct 22 15:28:08 2015 Initializing gdbm databases Thu Oct 22 15:28:08 2015 VENDOR: Loading MAC address table. Thu Oct 22 15:28:08 2015 VENDOR: Checking for MAC address table file Thu Oct 22 15:28:08 2015 VENDOR: Loading newer file '/etc/ntop/specialMAC.txt.gz' Thu Oct 22 15:28:08 2015 VENDOR: ...found 61 lines Thu Oct 22 15:28:08 2015 VENDOR: ...loaded 59 records Thu Oct 22 15:28:08 2015 VENDOR: Checking for MAC address table file Thu Oct 22 15:28:08 2015 VENDOR: Loading newer file '/etc/ntop/oui.txt.gz' Thu Oct 22 15:28:08 2015 VENDOR: ...found 103494 lines Thu Oct 22 15:28:08 2015 VENDOR: ...loaded 16325 records Thu Oct 22 15:28:08 2015 Fingerprint: Loading signature file Thu Oct 22 15:28:08 2015 Fingerprint: Checking for Fingerprint file... file Thu Oct 22 15:28:08 2015 Fingerprint: Loading file '/etc/ntop/etter.finger.os.gz' Thu Oct 22 15:28:08 2015 Fingerprint: ...loaded 1765 records Thu Oct 22 15:28:08 2015 Initializing external applications Thu Oct 22 15:28:08 2015 THREADMGMT[t140431709480704]: SFP: Started thread for fingerprinting Thu Oct 22 15:28:08 2015 THREADMGMT[t140431701088000]: SIH: Idle host scan thread starting [p15376] Thu Oct 22 15:28:08 2015 THREADMGMT[t140431701088000]: SIH: Started thread for idle hosts detection Thu Oct 22 15:28:08 2015 THREADMGMT[t140431692695296]: DNSAR(1): Address resolution thread running Thu Oct 22 15:28:08 2015 THREADMGMT[t140431692695296]: DNSAR(1): Started thread for DNS address resolution Thu Oct 22 15:28:08 2015 THREADMGMT[t140431684302592]: DNSAR(2): Address resolution thread running Thu Oct 22 15:28:08 2015 THREADMGMT[t140431684302592]: DNSAR(2): Started thread for DNS address resolution Thu Oct 22 15:28:08 2015 THREADMGMT[t140431709480704]: SFP: Fingerprint scan thread starting [p15376] Thu Oct 22 15:28:08 2015 THREADMGMT[t140431471933184]: DNSAR(3): Address resolution thread running Thu Oct 22 15:28:08 2015 THREADMGMT[t140431471933184]: DNSAR(3): Started thread for DNS address resolution Thu Oct 22 15:28:08 2015 Calling plugin start functions (if any) Thu Oct 22 15:28:08 2015 **ERROR** GeoIP: unable to load file GeoLiteCity.dat Thu Oct 22 15:28:08 2015 **ERROR** GeoIP: unable to load ASN file GeoIPASNum.dat Thu Oct 22 15:28:08 2015 NOTE: Interface merge enabled by default Thu Oct 22 15:28:08 2015 SSL is present but https is disabled: use -W <https port> for enabling it Thu Oct 22 15:28:08 2015 INITWEB: Initializing web server Thu Oct 22 15:28:08 2015 INITWEB: Initializing TCP/IP socket connections for web server Thu Oct 22 15:28:08 2015 INITWEB: Initialized socket, port 3000, address (any) Thu Oct 22 15:28:08 2015 INITWEB: Waiting for HTTP connections on port 3000 Thu Oct 22 15:28:08 2015 INITWEB: Starting web server Thu Oct 22 15:28:08 2015 THREADMGMT[t140431463540480]: INITWEB: Started thread for web server Thu Oct 22 15:28:08 2015 THREADMGMT[t140431463540480]: WEB: Server connection thread starting [p15376] Thu Oct 22 15:28:08 2015 Note: SIGPIPE handler set (ignore) Thu Oct 22 15:28:08 2015 THREADMGMT[t140431463540480]: WEB: Server connection thread running [p15376] Thu Oct 22 15:28:08 2015 WEB: ntop's web server is now processing requests Thu Oct 22 15:28:08 2015 Listening on [enp5s0] Thu Oct 22 15:28:08 2015 Loading Plugins Thu Oct 22 15:28:08 2015 Searching for plugins in /usr/lib64/ntop/plugins Thu Oct 22 15:28:08 2015 NETFLOW: Welcome to NetFlow.(C) 2002-12 by Luca Deri Thu Oct 22 15:28:08 2015 SFLOW: Welcome to sFlow.(C) 2002-12 by Luca Deri Thu Oct 22 15:28:08 2015 RRD: Welcome to Round-Robin Database. (C) 2002-12 by Luca Deri. Thu Oct 22 15:28:08 2015 Calling plugin start functions (if any) Thu Oct 22 15:28:08 2015 RRD: Welcome to the RRD plugin Thu Oct 22 15:28:08 2015 RRD: Mask for new directories is 0700 Thu Oct 22 15:28:08 2015 RRD: Mask for new files is 0066 Thu Oct 22 15:28:08 2015 THREADMGMT: RRD: Started thread (t140431450679040) for data collection Thu Oct 22 15:28:08 2015 THREADMGMT[t140431450679040]: RRD: Data collection thread starting [p15376] Thu Oct 22 15:28:08 2015 THREADMGMT[t140431924754624]: ntop RUNSTATE: INITNONROOT(3) Thu Oct 22 15:28:08 2015 Now running as requested user 'nobody' (65534:65534) Thu Oct 22 15:28:08 2015 Note: Reporting device initally set to 0 [enp5s0] (merged) Thu Oct 22 15:28:08 2015 **WARNING** INIT: Unable to create pid file (/var/lib/ntop/ntop.pid) Thu Oct 22 15:28:08 2015 THREADMGMT[t140431924754624]: ntop RUNSTATE: RUN(4) Thu Oct 22 15:28:08 2015 THREADMGMT[t140431442286336]: NPS(1): Started thread for network packet sniffing [enp5s0] Thu Oct 22 15:28:08 2015 THREADMGMT[t140431442286336]: NPS(enp5s0): pcapDispatch thread starting [p15376] Thu Oct 22 15:28:08 2015 THREADMGMT[t140431709480704]: SFP: Fingerprint scan thread running [p15376] Thu Oct 22 15:28:08 2015 THREADMGMT[t140431701088000]: SIH: Idle host scan thread running [p15376] Thu Oct 22 15:28:08 2015 THREADMGMT[t140431442286336]: NPS(enp5s0): pcapDispatch thread running [p15376] Thu Oct 22 15:28:13 2015 CHKVER: **********************PRIVACY**NOTICE********************** Thu Oct 22 15:28:13 2015 CHKVER: * ntop instances may record individually identifiable * Thu Oct 22 15:28:13 2015 CHKVER: * information on a remote system as part of the version * Thu Oct 22 15:28:13 2015 CHKVER: * check. * Thu Oct 22 15:28:13 2015 CHKVER: * * Thu Oct 22 15:28:13 2015 CHKVER: * You have requested - via the --skip-version-check * Thu Oct 22 15:28:13 2015 CHKVER: * option that this check be skipped and so no * Thu Oct 22 15:28:13 2015 CHKVER: * individually identifiable information will be recorded. * Thu Oct 22 15:28:13 2015 CHKVER: * * Thu Oct 22 15:28:13 2015 CHKVER: * In general, we ask you to permit this check because it * Thu Oct 22 15:28:13 2015 CHKVER: * benefits both the users and developers of ntop. * Thu Oct 22 15:28:13 2015 CHKVER: * * Thu Oct 22 15:28:13 2015 CHKVER: * Review the man ntop page for more information. * Thu Oct 22 15:28:13 2015 CHKVER: * * Thu Oct 22 15:28:13 2015 CHKVER: **********************PRIVACY**NOTICE********************** Thu Oct 22 15:28:13 2015 CHKVER: Checking current ntop version at version.ntop.org/version.xml Thu Oct 22 15:28:14 2015 CHKVER: Version file is from 'version.ntop.org' Thu Oct 22 15:28:14 2015 CHKVER: as of date is '2012-10-16T11:00:47' Thu Oct 22 15:28:14 2015 CHKVER: This version of ntop is the CURRENT stable version Thu Oct 22 15:28:18 2015 **ERROR** RRD: Disabled - unable to create base directory (err 13, /var/lib/ntop/rrd) Thu Oct 22 15:30:11 2015 **WARNING** Packet truncated (11010->8232): using LRO perhaps ? Seems similar to bug #46969 $ ls -latr /var/lib/ntop total 2356 drwxr-xr-x 50 root root 4096 Oct 22 15:19 .. -rw-r----- 1 root root 16384 Oct 22 15:22 ntop_pw.db -rw-r--r-- 1 root root 0 Oct 22 15:27 .keep_net-analyzer_ntop-0 drwxr-xr-x 2 ntop root 4096 Oct 22 15:28 . -rw-r----- 1 root root 2093056 Oct 22 15:28 macPrefix.db -rw-r----- 1 root root 229376 Oct 22 15:28 fingerprint.db -rw-r----- 1 root root 16384 Oct 22 15:28 prefsCache.db -rw-r----- 1 root root 16384 Oct 22 15:28 resolverCache.db -rw-r----- 1 root root 16384 Oct 22 15:28 hostSerials.db -rw-r----- 1 root root 16384 Oct 22 15:29 topTalkers.db $
So somehow src_install() fails? keepdir /var/lib/ntop && fowners ntop:ntop /var/lib/ntop && fperms 750 /var/lib/ntop 1) Please attach your entire build log to this bug report. 2) Please post your `emerge --info net-analyzer/ntop' output in a comment. Note: I don't see why it should make the latter commands depend on the outcome of the former. Surely those could all die() on their own.
Created attachment 415346 [details] build.log
# emerge --info net-analyzer/ntop Portage 2.2.18 (python 2.7.9-final-0, default/linux/amd64/13.0, gcc-4.9.3, glibc-2.21-r1, 4.1.6-default-pciehp x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.1.6-default-pciehp-x86_64-Intel-R-_Core-TM-_i7-2640M_CPU_@_2.80GHz-with-gentoo-2.2 KiB Mem: 16361120 total, 12666216 free KiB Swap: 16776188 total, 16776188 free Timestamp of repository gentoo: Fri, 23 Oct 2015 12:30:01 +0000 sh bash 4.3_p42 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 app-shells/bash: 4.3_p42::gentoo dev-java/java-config: 2.2.0::gentoo dev-lang/perl: 5.20.2::gentoo dev-lang/python: 2.7.9-r2::gentoo, 3.2.5-r6::gentoo, 3.4.3::gentoo dev-util/cmake: 3.2.1::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.17::gentoo sys-apps/sandbox: 2.6-r1::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r1::gentoo sys-devel/automake: 1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14::gentoo, 1.15::gentoo sys-devel/binutils: 2.25.1-r1::gentoo sys-devel/gcc: 4.3.6-r1::gentoo, 4.4.7::gentoo, 4.6.4::gentoo, 4.7.4::gentoo, 4.8.4::gentoo, 4.9.3::gentoo sys-devel/gcc-config: 1.8::gentoo sys-devel/libtool: 2.4.6-r1::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 4.0::gentoo (virtual/os-headers) sys-libs/glibc: 2.21-r1::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 science location: /home/mmokrejs/proj/sci masters: gentoo priority: 0 x-portage location: /usr/local/portage masters: gentoo priority: 1 layman location: /var/lib/layman masters: gentoo priority: 2 haskell location: /var/lib/layman/haskell masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA dlj-1.1 sun-bcla-java-vm Oracle-BCLA-JavaSE IBM-J1.6 skype-eula Nero-EULA-US AdobeFlash-10.3 skype-4.0.0.7-copyright AdobeFlash-11.x" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -maes -mpclmul -mpopcnt -mavx -march=native" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/lib64/libreoffice/program/sofficerc /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.2/conf /var/bind /var/lib/hsqldb /var/spool/torque" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/apache2-php5.5/ext-active/ /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe -maes -mpclmul -mpopcnt -mavx -march=native" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news nostrip parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="rsync://ftp.fi.muni.cz/pub/linux/gentoo/ rsync://gentoo.mirror.dkm.cz/gentoo/ ftp://gentoo.mirror.web4u.cz/" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" USE="X acpi alsa amd64 amr apache apache2 apulse avx berkdb bindist bluetooth boost bzip2 cairo cgi cli coin consolekit cracklib crypt cryptlib cups cxx dbus device-mapper dhcp directfb dri drm dvd emboss encode fax fbcon ffmpeg flac fontconfig fortran gbm gd gdbm geoip gimp glpk gnutls gpm gtk hal hpijs hwdb iconv id3tag imaging innodb java jce jpeg jpg keymap ladspa lapack laptop lcms libnotify lm_sensors mad matroska mmx mmxext modules mpi mpich2 multilib mysql ncurses nfs nls nptl nptlonly nscd nsplugin ntfsprogs ocr ogg opengl openmp pam parport pcre pdf perl php png policykit polkit ppds pppd python qt3support readline rendering resolvconf scanner seccomp server session slideshow sndfile sqlite sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 suexec svg syslog tcl tcpd threads tiff tk truetype udev unicode usb v4l v4l2 vim-syntax vnc wavpack wifi x11 xattr xcb xml xorg xrandr xv xvid xvmc zlib" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="alias authz_host auth_basic auth_digest cgi cgid deflate dir env filter include info mem_cache mime mime_magic negotiation remoteip setenvif status userdir vhost_alias rewrite usertrack cache file_cache disk_cache charset_lite log_config log_forensic" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US en_GB cs cz" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4 php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="vesa vmware fbdev intel i915 i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" USE_PYTHON="2.7" Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= net-analyzer/ntop-5.0.1-r1::gentoo was built with the following: USE="ssl -snmp" ABI_X86="64" PYTHON_TARGETS="python2_7"
Should be fixed in -r2.