Giter Site home page Giter Site logo

Comments (4)

brianbianco avatar brianbianco commented on June 16, 2024

Can I ask which Commit you are using, or which release? Do the redis logs provide any error messages?

from redisio.

brianbianco avatar brianbianco commented on June 16, 2024

I suspect the issue could be that redis expects the /var/run/redis directory to exist, and when you reboot a linux machine the directories in /var/run get wiped out. A run of chef client should ensure that directory exists, but that provides a potential race condition. If redis is set to start on boot, it could try to start before chef runs and ensures the pid directory exists.

It is possible I will have to include in the init script a way to enforce the creation of the pid directory.

Most of this is speculation. I will try to reproduce this environment and bug in an ubuntu 10.04 virtual machine.

from redisio.

Sgoettschkes avatar Sgoettschkes commented on June 16, 2024

Wow, thank you for the fast response!

I think I have made an error and there is no problem at all with the cookbook or redis. I guess the error was that I tried to stop redis as non-root, leaving the pid file in place and preventing redis from starting up again.

I tried it once more and using sudo it worked without hassle. I'll close this issue and see if it happens again. Sorry for bothering you!

from redisio.

lock avatar lock commented on June 16, 2024

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

from redisio.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.