Redis server wouldn't start

991 views
Skip to first unread message

MeirG

unread,
Oct 2, 2016, 10:37:46 AM10/2/16
to Redis DB
Trying to open 'redis-cli' I got the message:

Could not connect to Redis at 127.0.0.1:6379: Connection refused

I then queried the server's status:

sudo systemctl status redis

I got this result:


redis.service - Redis In-Memory Data Store
   
Loaded: loaded (/etc/systemd/system/redis.service; enabled; vendor preset: enabled)
   
Active: inactive (dead) (Result: exit-code) since א' 2016-10-02 12:46:54 IDT; 1min 7s ago
  Process: 7073 ExecStop=/usr/local/bin/redis-cli shutdown (code=exited, status=1/FAILURE)
  Process: 7071 ExecStart=/usr/local/bin/redis-server /etc/redis/redis.conf (code=exited, status=1/FAILURE)
 Main PID: 7071 (code=exited, status=1/FAILURE)

אוק 02 12:46:54 Linux-1 systemd[1]: redis.service: Unit entered failed state.
אוק 02 12:46:54 Linux-1 systemd[1]: redis.service: Failed with result '
exit-code'.
אוק 02 12:46:54 Linux-1 systemd[1]: redis.service: Service hold-off time over, scheduling restart.
אוק 02 12:46:54 Linux-1 systemd[1]: Stopped Redis In-Memory Data Store.
אוק 02 12:46:54 Linux-1 systemd[1]: redis.service: Start request repeated too quickly.
אוק 02 12:46:54 Linux-1 systemd[1]: Failed to start Redis In-Memory Data Store.

I then tried to start redis by:

sudo systemctl start redis

which was apparently (and silently) ignored. Further status queries returned the same "inactive" status.

what should I do? (I am a total Redis newbie...)                                                                                                                                                                                                                                                                                               
Reply all
Reply to author
Forward
0 new messages