Redis-server status Active: failed in server

Avatar
  • updated
  • Answered

Hi all,

I have some trouble with Redis.

The redis-server is runing in my server But when I run redis-server status command I got Active: failed (Result: exit-code).

and I want to link redis-server to /etc/redis/redis.conf.

redis-server
15997:C 04 Jan 02:26:56.709 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
15991:M 04 Jan 02:26:46.928 # Creating Server TCP listening socket *:6379: bind: Address already in use
15997:M 04 Jan 02:26:56.712 * Increased maximum number of open files to 10032 (it was originally set to 1024).
15997:M 04 Jan 02:26:56.713 # Creating Server TCP listening socket *:6379: bind: Address already in use

service redis status
Redirecting to /bin/systemctl status redis.service
● redis.service - Redis persistent key-value database
   Loaded: loaded (/usr/lib/systemd/system/redis.service; enabled; vendor preset: disabled)
  Drop-In: /etc/systemd/system/redis.service.d
           └─limit.conf
   Active: failed (Result: exit-code) since Sat 2019-12-28 17:25:34 PST; 6 days ago
  Process: 4463 ExecStop=/usr/libexec/redis-shutdown (code=exited, status=1/FAILURE)
  Process: 387 ExecStart=/usr/bin/redis-server /etc/redis.conf --supervised systemd (code=killed, signal=KILL)
 Main PID: 387 (code=killed, signal=KILL)

Dec 28 17:25:34 vps****.inmotionhosting.com systemd[1]: redis.service: main ...
Dec 28 17:25:34 vps****.inmotionhosting.com systemd[1]: redis.service: contr...
Dec 28 17:25:34 vps****.inmotionhosting.com systemd[1]: Unit redis.service e...
Dec 28 17:25:34 vps****.inmotionhosting.com systemd[1]: redis.service failed.
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
Hint: Some lines were ellipsized, use -l to show in full.

Can I find some one could help me? 

Duplicates 1
How Can I remove Redis

Hi, 

I have some trouble with Redis, So I want to remove it and install it again, How can I do that? I can't find redis-stable directory and sudo systemctl stop redis command not work. 

Pinned replies
Avatar
anonymous
  • Answer
  • Answered

Hello, and thanks for contacting us. I recommend you contact Managed Hosting for further assistance as we don't have access to your account from this platform and there are too many variables too troubleshoot here.

Avatar
Hassadr

Hi, Thnk you for your reply.

I need instructions and some help from here and I'll do the rest.

Best Regards.

Avatar
anonymous
  • Answer
  • Answered

Hello, and thanks for contacting us. I recommend you contact Managed Hosting for further assistance as we don't have access to your account from this platform and there are too many variables too troubleshoot here.