nntopng not starting. citing redis error.

Started by hescominsoon, May 26, 2025, 05:45:08 PM

Previous topic - Next topic
May 26, 2025, 05:45:08 PM Last Edit: May 26, 2025, 05:51:47 PM by hescominsoon
OPNsense 25.1.7_4-amd64
FreeBSD 14.2-RELEASE-p3
OpenSSL 3.0.16

ntopng refuses to start as noted:

2025-05-26T11:40:15-04:00   Error   ntopng   26/May/2025 11:40:15 [Redis.cpp:159] ERROR: to specify a redis server other than the default   
2025-05-26T11:40:15-04:00   Error   ntopng   26/May/2025 11:40:15 [Redis.cpp:156] ERROR: Please start it and try again or use -r   
2025-05-26T11:40:15-04:00   Error   ntopng   26/May/2025 11:40:15 [Redis.cpp:155] ERROR: ntopng requires redis server to be up and running   
2025-05-26T11:40:14-04:00   Error   ntopng   26/May/2025 11:40:14 [Redis.cpp:100] ERROR: Connection error [Connection refused]   
2025-05-26T11:40:13-04:00   Error   ntopng   26/May/2025 11:40:13 [Redis.cpp:100] ERROR: Connection error [Connection refused]   
2025-05-26T11:40:12-04:00   Error   ntopng   26/May/2025 11:40:12 [Redis.cpp:100] ERROR: Connection error [Connection refused]   
2025-05-26T11:40:11-04:00   Error   ntopng   26/May/2025 11:40:11 [Redis.cpp:100] ERROR: Connection error [Connection refused]   
2025-05-26T11:40:10-04:00   Error   ntopng   26/May/2025 11:40:10 [Redis.cpp:100] ERROR: Connection error [Connection refused]   
2025-05-26T11:40:09-04:00   Error   ntopng   26/May/2025 11:40:09 [Redis.cpp:100] ERROR: Connection error [Connection refused]   
2025-05-26T11:40:08-04:00   Error   ntopng   26/May/2025 11:40:08 [Redis.cpp:100] ERROR: Connection error [Connection refused]   
2025-05-26T11:40:07-04:00   Error   ntopng   26/May/2025 11:40:07 [Redis.cpp:100] ERROR: Connection error [Connection refused]   
2025-05-26T11:40:06-04:00   Error   ntopng   26/May/2025 11:40:06 [Redis.cpp:100] ERROR: Connection error [Connection refused]

some more digging shows redis failing:
2025-05-26T11:43:59-04:00   Warning   redis   Failed listening on port 6379 (tcp), aborting.   
2025-05-26T11:43:59-04:00   Warning   redis   Warning: Could not create server TCP listening socket track6:6379: Name does not resolve   
2025-05-26T11:43:59-04:00   Warning   redis   WARNING: The TCP backlog setting of 511 cannot be enforced because kern.ipc.somaxconn is set to the lower value of 128.   
2025-05-26T11:43:59-04:00   Notice   redis   Running mode=standalone, port=6379.   
2025-05-26T11:43:59-04:00   Notice   redis   monotonic clock: POSIX clock_gettime   
2025-05-26T11:43:59-04:00   Notice   redis-server   Configuration loaded   
2025-05-26T11:43:59-04:00   Notice   redis-server   Redis version=7.2.8, bits=64, commit=00000000, modified=0, pid=32198, just started   
2025-05-26T11:43:59-04:00   Notice   redis-server   oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo   
2025-05-26T11:43:42-04:00   Warning   redis   Failed listening on port 6379 (tcp), aborting.

any ideas?