Hello please I really need your help
I’m trying to install graphite and i’m following a manual to install it but now I have this problem
Feb 11 11:37:17 Graphite apachectl[5921]: The Apache error log may have more information. Feb 11 11:37:17 Graphite systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE Feb 11 11:37:17 Graphite systemd[1]: Reload failed for The Apache HTTP Server. Feb 11 11:40:02 Graphite systemd[1]: Reloading The Apache HTTP Server. Feb 11 11:40:02 Graphite apachectl[6015]: AH00526: Syntax error on line 3 of /etc/apache2/sites-enabled/apache2-graphite.conf: Feb 11 11:40:02 Graphite apachectl[6015]: Invalid command ‘WSGIDaemonProcess’, perhaps misspelled or defined by a module not included in the server configuration Feb 11 11:40:02 Graphite apachectl[6015]: Action ‘graceful’ failed. Feb 11 11:40:02 Graphite apachectl[6015]: The Apache error log may have more information. Feb 11 11:40:02 Graphite systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE Feb 11 11:40:02 Graphite systemd[1]: Reload failed for The Apache HTTP Server.
I really hope that you can help me with that
I’m following this manual to install it on Debian 10
https://www.unixmen.com/full-monitoring-system-graphite-collectd-statsd-part-1/
Best Regards
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Accepted Answer
Hi there,
It looks like that the wsgi
module is not enabled.
You could do that by using the following commands:
sudo apt install libapache2-mod-wsgi python-dev
sudo a2enmod wsgi
Finally run a config test:
sudo apachectl -t
And if you get Syntax OK
message, restart Apache.
Regards, Bobby
I have only this file
apache2-graphite.conf
and here is the content of this file
<VirtualHost *:80>
WSGIDaemonProcess _graphite processes=5 threads=5 display-name='%{GROUP}' inactivity-timeout=1$
WSGIProcessGroup _graphite
WSGIImportScript /usr/share/graphite-web/graphite.wsgi process-group=_graphite application-gro$
WSGIScriptAlias / /usr/share/graphite-web/graphite.wsgi
Alias /static/ /usr/share/graphite-web/static/
<Location "/static/">
SetHandler None
</Location>
ErrorLog ${APACHE_LOG_DIR}/graphite-web_error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/graphite-web_access.log combined
</VirtualHost>
Best Regards
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.