ntopng won't start after fail ugrade
-
Hi,
I've been using ntopng comunity edition for one year now.
We are running pfsesse on 2.4.5-RELEASE-p1 (amd64).
I have performed an upgrade to the lastest release following this article :
https://parkercs.tech/upgrading-ntopng-on-pfsense-to-latest-version/
The upgrade did not success as espected, however even if deinstalling and reainstalling the standard comunity pachage, I am no able anymore to start ntopng services even if the standard package installed succesfully.
I was wondering you could help me.
Ivan
-
Hi,
@ivan1198 said in ntopng won't start after fail ugrade:
I was wondering you could help me.
The logs ?
-
Please finf below logs detail :
Nov 23 10:01:15 php-fpm /pkg_mgr_install.php: Beginning configuration backup to https://acb.netgate.com/save
Nov 23 10:01:33 php-fpm /pkg_mgr_install.php: End of configuration backup to https://acb.netgate.com/save (success).
Nov 23 10:04:02 pkg-static jpeg-turbo-2.0.3 installed
Nov 23 10:04:02 pkg-static jbigkit-2.1_1 installed
Nov 23 10:04:03 pkg-static tiff-4.1.0 installed
Nov 23 10:04:03 pkg-static png-1.6.37 installed
Nov 23 10:04:03 pkg-static giflib-5.2.1 installed
Nov 23 10:04:03 pkg-static libfontenc-1.1.4 installed
Nov 23 10:04:03 pkg-static freetype2-2.10.1 installed
Nov 23 10:04:03 pkg-static webp-1.0.3_1 installed
Nov 23 10:04:03 pkg-static mkfontscale-1.2.1 installed
Nov 23 10:04:03 pkg-static fontconfig-2.12.6,1 installed
Nov 23 10:04:04 pkg-static libgd-2.2.5_2,1 installed
Nov 23 10:04:06 pkg-static webfonts-0.30_14 installed
Nov 23 10:04:07 pkg-static graphviz-2.42.2_3 installed
Nov 23 10:04:07 pkg-static redis-5.0.7_2 installed
Nov 23 10:04:07 pkg-static gdbm-1.18.1_1 installed
Nov 23 10:04:08 php /etc/rc.packages: Beginning package installation for ntopng .
Nov 23 10:04:08 check_reload_status Syncing firewall
Nov 23 10:04:08 php /etc/rc.packages: Beginning configuration backup to https://acb.netgate.com/save
Nov 23 10:04:16 php /etc/rc.packages: End of configuration backup to https://acb.netgate.com/save (success).
Nov 23 10:04:17 check_reload_status Syncing firewall
Nov 23 10:04:17 php /etc/rc.packages: Beginning configuration backup to https://acb.netgate.com/save
Nov 23 10:04:25 php /etc/rc.packages: End of configuration backup to https://acb.netgate.com/save (success).
Nov 23 10:04:25 php /etc/rc.packages: Successfully installed package: ntopng.
Nov 23 10:04:25 pkg-static pfSense-pkg-ntopng-0.8.13_5 installed
Nov 23 10:04:26 check_reload_status Reloading filter
Nov 23 10:04:26 check_reload_status Starting packages
Nov 23 10:04:27 php-fpm /rc.start_packages: Restarting/Starting all packages.
Nov 23 10:04:27 php-fpm [pfBlockerNG] Starting cron process.
Nov 23 10:04:28 check_reload_status Reloading filter
Nov 23 10:48:16 kernel arp: 192.168.0.243 moved from 20:f4:78:71:52:78 to 5a:d5:6b:32:78:f3 on igb1
Nov 23 10:51:56 kernel arp: 192.168.0.243 moved from 5a:d5:6b:32:78:f3 to 20:f4:78:71:52:78 on igb1
Nov 23 11:34:46 check_reload_status Syncing firewall
Nov 23 11:34:46 php-fpm /pkg_mgr_install.php: Beginning configuration backup to https://acb.netgate.com/save
Nov 23 11:35:04 php-fpm /pkg_mgr_install.php: End of configuration backup to https://acb.netgate.com/save (success).
Nov 23 11:35:05 check_reload_status Syncing firewall
Nov 23 11:35:05 php /etc/rc.packages: Beginning configuration backup to https://acb.netgate.com/save
Nov 23 11:35:24 php /etc/rc.packages: End of configuration backup to https://acb.netgate.com/save (success).
Nov 23 11:35:25 check_reload_status Syncing firewall
Nov 23 11:35:25 php /etc/rc.packages: Beginning configuration backup to https://acb.netgate.com/save
Nov 23 11:35:43 php /etc/rc.packages: End of configuration backup to https://acb.netgate.com/save (success).
Nov 23 11:35:43 pkg-static pfSense-pkg-darkstat-3.1.3_4 deinstalled
Nov 23 11:35:43 pkg-static darkstat-3.0.719 deinstalled
Nov 23 11:35:45 check_reload_status Reloading filter
Nov 23 11:35:45 check_reload_status Starting packages
Nov 23 11:35:46 php-fpm /rc.start_packages: Restarting/Starting all packages.
Nov 23 11:35:46 php-fpm [pfBlockerNG] Starting cron process.
Nov 23 11:35:47 check_reload_status Reloading filter -
That's the installation part - with no issues on the horizon.
I installed ntopng.
I saw during the install sequence :
..... ===== Message from freetype2-2.10.1: -- The 2.7.x series now uses the new subpixel hinting mode (V40 port's option) as the default, emulating a modern version of ClearType. This change inevitably leads to different rendering results, and you might change port's options to adapt it to your taste (or use the new "FREETYPE_PROPERTIES" environment variable). The environment variable "FREETYPE_PROPERTIES" can be used to control the driver properties. Example: FREETYPE_PROPERTIES=truetype:interpreter-version=35 \ cff:no-stem-darkening=1 \ autofitter:warping=1 This allows to select, say, the subpixel hinting mode at runtime for a given application. If LONG_PCF_NAMES port's option was enabled, the PCF family names may include the foundry and information whether they contain wide characters. For example, "Sony Fixed" or "Misc Fixed Wide", instead of "Fixed". This can be disabled at run time with using pcf:no-long-family-names property, if needed. Example: FREETYPE_PROPERTIES=pcf:no-long-family-names=1 How to recreate fontconfig cache with using such environment variable, if needed: # env FREETYPE_PROPERTIES=pcf:no-long-family-names=1 fc-cache -fsv The controllable properties are listed in the section "Controlling FreeType Modules" in the reference's table of contents (/usr/local/share/doc/freetype2/reference/site/index.html, if documentation was installed). ===== Message from webfonts-0.30_14: -- IMPORTANT - READ CAREFULLY: You may not use these fonts if you do not agree to the terms of the Microsoft End-User License Agreement ("EULA"). You will find the EULA at /usr/local/share/doc/webfonts/LICENSE. If you read and agree to the EULA, you can start using the fonts by following these instructions: Make sure that the freetype module is loaded. If it is not, add the following line to the "Modules" section of xorg.conf or XF86Config: Load "freetype" Add the following line to the "Files" section of xorg.conf or XF86Config: FontPath "/usr/local/share/fonts/webfonts/" NOTE: Due to known freetype bug some glyphs (N, W) of y2006 Verdana Bold font are not rendered correctly in anti-aliased mode within the range 9-16 ppem ===== Message from ntopng-3.8.d20191111,1: -- ntopng runs a web interface service by default, it is suggested to protect such network accessible services with packet filters or TCP wrappers. ntopng requires to connect to a redis server to work. Please install redis server from databases/redis or use -r option via ntopng_flags to specify a remote one. ntopng supports IP geolocation, to enable this you should use the ntopng-geoip2update.sh script to update the maxminddb geolocation data to the latest version. To pass a configuration file to ntopng, which overrides any command line arguments, add something like the following to rc.conf: ntopng_flags="/path/to/file.conf" ===== Message from redis-5.0.7_2: -- To setup "redis" you need to edit the configuration file: /usr/local/etc/redis.conf To run redis from startup, add redis_enable="YES" in your /etc/rc.conf. >>> Cleaning up cache... done. Success ....
Readings such thing makes me thing : "the right package for me !!" (hours of tinkering, trying settings, documentation, searching ahead.)
If something needs to be done manually, I guess this forum should mention it - somewhere.I also saw this right afterwards in the logs :
Did you saw these lines ?
Dono what port "3000s" means.
On my system, port "3000" (tcp ? udp ?) isn't used by any other process.The "remove package" works well ;)
-
NTOP-NG has a web ui server that uses TCP 3000 as connect port
I have no idea why they write 3000s -
I know.
The errors in the log are very clear.
It's TCP - as a part of the NTOP thing uses its own web server.But if the literal "3000s" which is not an integer, was used as a port number then I can understand the listen(3000) fails.
I hope it's a wrong setting, somewhere in a config file - or even in the pfSense GUI => NTOP settngs.The "3000s" - the s part, is probably a formatting error while writing the error text string
-
Hi,
I can't see any setting related to 3000s under pfSense GUI = NTOP settings. However I was wonder if you could provide me the NTOPNG file setting with I could look into to check whether or not there is a wrong configuration regading related port.
-
I'm not using NTOPNG myself as I have no use for it @work.
I could install it at my @home pfSense and see what's up - but for that I have to get home first. A rare thing these days. -
Hi Gertjan,
please consider that I can't see any of the error logs you provide me in some previous reply . Once I try to start service, I can't receive any arror at all on the system log file.
-
Hi Gertjan,
I was wondering if you have receive any update regarding thei ssue.
Regards,
Ivan