I need some help with this implementation.
Following a 20.7 upgrade earlier I cannot get redis or ntopng to start. Log is full of these lines. If I reboot and watch it start then redis connection fails on startup of opnsense server.
2020-11-08T16:03:39 root[11641] /usr/local/etc/rc.d/ntopng: WARNING: failed to start ntopng
2020-11-08T16:03:39 ntopng[78906] [Redis.cpp:150] ERROR: to specify a redis server other than the default
2020-11-08T16:03:39 ntopng[78906] [Redis.cpp:149] ERROR: Please start it and try again or use -r
2020-11-08T16:03:39 ntopng[78906] [Redis.cpp:148] ERROR: ntopng requires redis server to be up and running
2020-11-08T16:03:38 ntopng[78906] [Redis.cpp:99] ERROR: Connection error [Operation timed out]
2020-11-08T16:03:35 ntopng[78906] [Redis.cpp:99] ERROR: Connection error [Operation timed out]
2020-11-08T16:03:33 ntopng[78906] [Redis.cpp:99] ERROR: Connection error [Operation timed out]
2020-11-08T16:03:30 ntopng[78906] [Redis.cpp:99] ERROR: Connection error [Operation timed out]
2020-11-08T16:03:28 ntopng[78906] [Redis.cpp:99] ERROR: Connection error [Operation timed out]
2020-11-08T16:03:25 ntopng[78906] [Redis.cpp:99] ERROR: Connection error [Operation timed out]
2020-11-08T16:03:23 ntopng[78906] [Redis.cpp:99] ERROR: Connection error [Operation timed out]
2020-11-08T16:03:20 ntopng[78906] [Redis.cpp:99] ERROR: Connection error [Operation timed out]
2020-11-08T16:03:18 ntopng[78906] [Redis.cpp:99] ERROR: Connection error [Operation timed out]
2020-11-08T16:03:15 ntopng[78906] [Redis.cpp:99] ERROR: Connection error [Operation timed out]
2020-11-08T16:03:13 ntopng[78906] [Redis.cpp:99] ERROR: Connection error [Operation timed out]
2020-11-08T16:03:10 ntopng[78906] [Redis.cpp:99] ERROR: Connection error [Operation timed out]
2020-11-08T16:03:07 ntopng[78906] [Redis.cpp:99] ERROR: Connection error [Operation timed out]
2020-11-08T16:03:05 ntopng[78906] [Redis.cpp:99] ERROR: Connection error [Operation timed out]
2020-11-08T16:03:02 ntopng[78906] [Redis.cpp:99] ERROR: Connection error [Operation timed out]
2020-11-08T16:03:00 ntopng[78906] [Redis.cpp:99] ERROR: Connection error [Operation timed out
Any help appreciated please.
Cheers
Spart
Did you set a password for redis?
Quote from: mimugmail on November 08, 2020, 06:13:31 PM
Did you set a password for redis?
Was working perfectly before upgrade. There is no password set in the Gui that I can see.
Cheers
Spart
What was the previous running version? 20.7?
I don't recall. Whatever it was late September when it was last updated.
Cheers
Spart
I'm on 20.7.4 and can start it successfully.
Maybe you have to reset Redis Cache?
I had to remove the redis db and then reset the service. After that redis started then I could start ntopng.
cd /var/db/redis
rm redis.rdb
Restart redis service from gui
Restart ntopng service from gui
Seems to be up and stable.
Hope this helps someone else.
Cheers
Spart
Hi,
is there a timeline for an upgrade/update to ntopng 4.2.0?
This depends on FreeBSD upstream maintainer
I had this same issue, had to delete /var/db/redis in order for redis to start.
Quote from: TheLinuxGuy on January 19, 2021, 01:37:18 AM
I had this same issue, had to delete /var/db/redis in order for redis to start.
THere's also a reset button in OPNsense UI