Edit the following file:/etc/apache2/sites-available/default Make sure that the configuration for WSGISocketPrefix is set as follows:
Otherwise, you will get the following error:[Tue Jun 19 13:21:28 2012] [error] [client 192.168.0.112] (2)No such file or directory: mod_wsgi (pid=19506): Unable to connect to WSGI daemon process 'graphite' on '/etc/apache2/run/wsgi.19365.1.1.sock' after multiple attempts.Create initial database: Create the admin for graphite: Start carbon (data aggregator)
Check the log file for any error: /opt/graphite$ find . -name '*.log' | xargs tail -F
To Feed the data do the following:
Go into the server localhost in your prefer browser and you should see graphite site.
very god! thanks for publish :-)
ReplyDeleteYou're welcome Francisco! Un abrazo fuerte desde Miami.
ReplyDeleteawesome! the trick on WSGISocketPrefix helped me figure out the problem after an hour of banging my head :) thanks!
ReplyDeleteIn the section for 'Install Graphite', you need:
ReplyDeletesudo cp /opt/graphite/webapp/graphite/local_settings.py.example /opt/graphite/webapp/graphite/local_settings.py
before:
sudo vim /opt/graphite/webapp/graphite/local_settings.py
After hours of struggling I stumbled upon this post and managed to finally get Graphite running. Thank you very much!
ReplyDeleteThanks Marcelo, with your tips, I was able to write up an auto-install latest Graphite script on Ubuntu 12.04, you can check it out at: https://github.com/gdbtek/setup-graphite and https://github.com/gdbtek/setup-statsd, also CloudFormation template is provided at: https://github.com/gdbtek/cloudformation-templates
ReplyDeleteThis comment has been removed by the author.
ReplyDelete