Coder Social home page Coder Social logo

Comments (4)

neutmute avatar neutmute commented on June 26, 2024

ah - I also just noticed the change to fabfile.py in that same commit.

sudo('mkdir -p /var/run/carbon')
sudo('chown -R www-data: /var/run/carbon')

I think the problem is this is nuked on reboot due to /var/run being mounted in tmpfs
http://askubuntu.com/questions/89352/does-ubuntu-periodically-clean-empty-directories-under-var-run

This would explain the permission denied issue I think.

from graphite-fabric.

gingerlime avatar gingerlime commented on June 26, 2024

Hi @neutmute

Thanks for reporting this. I just pushed a small change to the init.d script for carbon. Can you try this out now and see if this works better?

from graphite-fabric.

neutmute avatar neutmute commented on June 26, 2024

I swapped out my tweaked /init.d/carbon, put yours in and rebooted. Looks good!

02/09/2012 21:32:56 :: Server Shut Down.
02/09/2012 21:33:32 :: Log opened.
02/09/2012 21:33:32 :: twistd 12.1.0 (/usr/bin/python 2.7.3) starting up.
02/09/2012 21:33:32 :: reactor class: twisted.internet.epollreactor.EPollReactor.
02/09/2012 21:33:32 :: ServerFactory starting on 2003
02/09/2012 21:33:32 :: Starting factory <twisted.internet.protocol.ServerFactory instance at 0x1b0e3b0>
02/09/2012 21:33:32 :: ServerFactory starting on 2004
02/09/2012 21:33:32 :: Starting factory <twisted.internet.protocol.ServerFactory instance at 0x1b23170>
02/09/2012 21:33:32 :: ServerFactory starting on 7002
02/09/2012 21:33:32 :: Starting factory <twisted.internet.protocol.ServerFactory instance at 0x1b23290>

from graphite-fabric.

gingerlime avatar gingerlime commented on June 26, 2024

There were also a few tweaks based on your comments into the fabfile. Once you have it installed though you only need to change the init.d script. Good to know it's working for you too.

Thanks again @neutmute

from graphite-fabric.

Related Issues (4)

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.