graphite installation

Asked by wennan he

I am now trying to install graphite through puppet but i got this after i did install it

error info from error.log:

Wed Feb 04 12:29:41 2015] [error] [client 10.225.94.226] mod_wsgi (pid=11540): Target WSGI script '/opt/graphite/conf/graphite.wsgi' cannot be loaded as Python module.
[Wed Feb 04 12:29:41 2015] [error] [client 10.225.94.226] mod_wsgi (pid=11540): Exception occurred processing WSGI script '/opt/graphite/conf/graphite.wsgi'.
[Wed Feb 04 12:29:41 2015] [error] [client 10.225.94.226] Traceback (most recent call last):
[Wed Feb 04 12:29:41 2015] [error] [client 10.225.94.226] File "/opt/graphite/conf/graphite.wsgi", line 14, in <module>
[Wed Feb 04 12:29:41 2015] [error] [client 10.225.94.226] from graphite.logger import log
[Wed Feb 04 12:29:41 2015] [error] [client 10.225.94.226] ImportError: No module named graphite.logger

any one has idea?

Question information

Language:
English Edit question
Status:
Answered
For:
Graphite Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Anatoliy Dobrosynets (anatolijd) said :
#1

Hi,

it means it can't find file, which is normally /opt/graphite/webapp/graphite/logger.py (it depends on your actual installation path).

Try to see sys.path and check file permissions.

Can you help with this problem?

Provide an answer of your own, or ask wennan he for more information if necessary.

To post a message you must log in.