Ntop not working

Morning
My ntop just stopped working, any idea? Error in /var/log/messages:
Oct 13 07:59:33 gateway ntopng: [src/Redis.cpp:78] ERROR: ntopng requires redis server to be up and running
Oct 13 07:59:33 gateway ntopng: [src/Redis.cpp:79] ERROR: Please start it and try again or use -r

It seems quite clear to me: redis is not running.
Try to restart it:

service redis restart

redis starts with no errors but ntopng will not work:
Oct 13 08:40:20 gateway ntopng: [src/Redis.cpp:78] ERROR: ntopng requires redis server to be up and running
Oct 13 08:40:20 gateway ntopng: [src/Redis.cpp:79] ERROR: Please start it and try again or use -r
Oct 13 08:40:20 gateway ntopng: [src/Redis.cpp:80] ERROR: to specify a redis server other than the default
Oct 13 08:40:20 gateway init: ntopng main process (3511) terminated with status 255
Oct 13 08:40:20 gateway init: ntopng respawning too fast, stopped

Ntopng can’t connect to redis server.
Have you edited any config file?

not that I know of… unless the system did an update during the night.

Anyone with a solution?

I can’t reproduce the problem.
You need to dig into it by yourself:

  • try to login to redis
  • if redis works, check the ntopng log (maybe you can start it with debug enabled)

When you have more info, try to paste here some more logs.

When trying to connect to redis:
[root@gateway ~]# redis-cli
Could not connect to Redis at 127.0.0.1:6379: Connection refused

Again, you redis installation is not working correctly.

A post was split to a new topic: Ntop doesn’t work properly