Skip to content

restart redis bug report #1913

Closed
Closed

Description

@RichardCao

uname: Linux n154 2.6.32-431.20.5.el6.x86_64 #1 SMP Fri Jul 25 08:34:44 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
redis server version: 2.4.10 (00000000:0)

After typing "sudo service redis restart", I can connect redis with "redis-cli", but "sudo service redis status" shows "redis-server is stopped". And if I type "sudo service redis stop", it shows success but I could also connect to redis.
It seems redis is registered as a service but not controled by service. But killing the process of redis means connecting is refused. And then "sudo service redis restart/start" would raise the redis process but still wrong information after "sudo service redis status"

Activity

  1. docapotamus commented on Aug 6, 2014

    @docapotamus

    What process manager are you using? If you can connect to Redis then Redis is running. It may be the process manager that is having issue.

  2. badboy commented on Aug 6, 2014

    @badboy
    Contributor

    This is not a bug with Redis, but with your process manager as pjuu said. It probably checks a PID file which is not there for whatever reason.
    Check the service script and probably talk to the maintainer of the Redis package, maybe he can help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions