J
J
Jekson2020-02-12 11:40:56
linux
Jekson, 2020-02-12 11:40:56

Redis starts with an error?

After restarting the server (Ubuntu 18.04) I check the status

systemctl status redis-server

Answer

● redis-server.service - Advanced key-value store
   Loaded: loaded (/lib/systemd/system/redis-server.service; disabled; vendor preset: enabled)
   Active: inactive (dead)
     Docs: http://redis.io/documentation,
           man:redis-server(1)


At the same time, ping-pong normally works out

the Start
sudo service redis-server start
Answer
Job for redis-server.service failed because the control process exited with error code.
See "systemctl status redis-server.service" and "journalctl -xe" for details.


Checking status
systemctl status redis-server.service

again

● redis-server.service - Advanced key-value store
   Loaded: loaded (/lib/systemd/system/redis-server.service; disabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Wed 2020-02-12 08:30:58 UTC; 17s ago
     Docs: http://redis.io/documentation,
           man:redis-server(1)
  Process: 1365 ExecStart=/usr/bin/redis-server /etc/redis/redis.conf (code=exited, status=1/FAILURE)


Tell me what's wrong?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question