ntopng 0.8.13_5 and pfsense 2.4.5p1 - Fails to load login page.


  • Hey All, I'm not sure where to go from here. Installed ntopng and cannot access the login page. The page to ntopng fails to load https://192.168.1.1:3000 fails to load, also tried http://192.168.1.1:3000

    I looked at the logs for ntopng and get this from:
    /var/db/ntopng/ntopng.log

    08/Nov/2020 09:48:52 [main.cpp:396] Logging onto /var/db/ntopng/ntopng.log
    08/Nov/2020 09:48:52 [main.cpp:399] Working directory: /var/db/ntopng
    08/Nov/2020 09:48:52 [main.cpp:401] Scripts/HTML pages directory: /usr/local/share/ntopng
    08/Nov/2020 09:48:52 [Ntop.cpp:403] Welcome to ntopng amd64 v.3.8.201001 - (C) 1998-18 ntop.org
    08/Nov/2020 09:48:52 [Ntop.cpp:717] Adding 192.168.1.1/32 as IPv4 interface address for re1
    08/Nov/2020 09:48:52 [Ntop.cpp:725] Adding 192.168.1.0/24 as IPv4 local network for re1
    08/Nov/2020 09:48:52 [Ntop.cpp:744] Adding fe80::1:1/128 as IPv6 interface address for re1
    08/Nov/2020 09:48:52 [Ntop.cpp:753] Adding fe80::1:1/64 as IPv6 local network for re1
    08/Nov/2020 09:48:52 [Ntop.cpp:717] Adding 10.10.10.1/32 as IPv4 interface address for re1
    08/Nov/2020 09:48:52 [Ntop.cpp:725] Adding 10.10.10.0/24 as IPv4 local network for re1
    08/Nov/2020 09:48:52 [PeriodicActivities.cpp:72] Started periodic activities loop...
    08/Nov/2020 09:48:52 [PeriodicActivities.cpp:113] Each periodic activity script will use 2 threads
    08/Nov/2020 09:48:52 [NetworkInterface.cpp:2597] Started packet polling on interface re1 [id: 0]...
    

    Seems like a successful start but a cannot access the login page. and looking at the System > System Logs > System > General, I see below.

    Nov 8 11:33:50	kernel		pid 79317 (ntopng), jid 0, uid 0: exited on signal 11 (core dumped)
    

    Reading online on previous eversion of pfsense and ntop the alerts need to be disabled, and needing to remove -H flag from /usr/local/etc/rc.d/ntopng.sh on line 9.
    I have confirmed that -H flag does not exist on line 9 of the ntopng.sh startup script.

    Here's the complete ntopng.sh file

    #!/bin/sh
    # This file was automatically generated
    # by the pfSense service handler.
    
    rc_start() {
    	### Make sure library path cache is updated
    	/etc/rc.d/ldconfig start
    # Create DB dir before starting, in case it was removed. Otherwise redis will fail.
    	/bin/mkdir -p /var/db/ntopng
    	/usr/local/bin/redis-server --bind 127.0.0.1 ::1 --dir /var/db/ntopng/ --dbfilename ntopng.rdb &
    	/usr/local/bin/ntopng -d /var/db/ntopng -G /var/run/ntopng.pid -s -e -w 0 -W 3000    -i 're1' --dns-mode '0'  --local-networks '192.168.0.0/16,172.16.0.0/12,10.0.0.0/8' &
    }
    
    rc_stop() {
    	# Kill ntopng and redis
    	/usr/bin/killall ntopng redis-cli redis-server
    }
    
    case $1 in
    	start)
    		rc_start
    		;;
    	stop)
    		rc_stop
    		;;
    	restart)
    		rc_stop
    		rc_start
    		;;
    esac
    

    I'm at a loss at this point to what it could be, the ntopng service starts and stays running. Any pointers?