Active IQ Unified Manager Discussions

graphite site returns Internal server error (500)

san456
8,762 Views

graphite site returns Internal server error (500). I have followed the instructions in the quick start guide(Graphite_Grafana_Quick_Start_V1.4) to install graphite and graffana. installation was successful,however when i hit "http://ip-address:81" in the browser, it returns following error message.

 

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at root@localhost to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

 

i found following error message in the error.log

 

[Tue Aug 28 23:05:12.179084 2018] [:error] [pid 129710] mod_wsgi (pid=129710): Target WSGI script '/opt/graphite/conf/graphite.wsgi' cannot be loaded as Python module.
[Tue Aug 28 23:05:12.179118 2018] [:error] [pid 129710] mod_wsgi (pid=129710): Exception occurred processing WSGI script '/opt/graphite/conf/graphite.wsgi'.
[Tue Aug 28 23:05:12.179134 2018] [:error] [pid 129710] Traceback (most recent call last):
[Tue Aug 28 23:05:12.179147 2018] [:error] [pid 129710] File "/opt/graphite/conf/graphite.wsgi", line 5, in <module>
[Tue Aug 28 23:05:12.179192 2018] [:error] [pid 129710] import django
[Tue Aug 28 23:05:12.179206 2018] [:error] [pid 129710] ImportError: No module named django
[Tue Aug 28 23:05:12.179367 2018] [:error] [pid 129711] mod_wsgi (pid=129711): Target WSGI script '/opt/graphite/conf/graphite.wsgi' cannot be loaded as Python module.
[Tue Aug 28 23:05:12.179388 2018] [:error] [pid 129711] mod_wsgi (pid=129711): Exception occurred processing WSGI script '/opt/graphite/conf/graphite.wsgi'.
[Tue Aug 28 23:05:12.179402 2018] [:error] [pid 129711] Traceback (most recent call last):
[Tue Aug 28 23:05:12.179413 2018] [:error] [pid 129711] File "/opt/graphite/conf/graphite.wsgi", line 5, in <module>
[Tue Aug 28 23:05:12.179457 2018] [:error] [pid 129711] import django
[Tue Aug 28 23:05:12.179471 2018] [:error] [pid 129711] ImportError: No module named django
[Tue Aug 28 23:05:12.180288 2018] [:error] [pid 129712] mod_wsgi (pid=129712): Target WSGI script '/opt/graphite/conf/graphite.wsgi' cannot be loaded as Python module.
[Tue Aug 28 23:05:12.180294 2018] [:error] [pid 129713] mod_wsgi (pid=129713): Target WSGI script '/opt/graphite/conf/graphite.wsgi' cannot be loaded as Python module.
[Tue Aug 28 23:05:12.180309 2018] [:error] [pid 129712] mod_wsgi (pid=129712): Exception occurred processing WSGI script '/opt/graphite/conf/graphite.wsgi'.
[Tue Aug 28 23:05:12.180301 2018] [:error] [pid 129714] mod_wsgi (pid=129714): Target WSGI script '/opt/graphite/conf/graphite.wsgi' cannot be loaded as Python module.
[Tue Aug 28 23:05:12.180315 2018] [:error] [pid 129713] mod_wsgi (pid=129713): Exception occurred processing WSGI script '/opt/graphite/conf/graphite.wsgi'.
[Tue Aug 28 23:05:12.180323 2018] [:error] [pid 129714] mod_wsgi (pid=129714): Exception occurred processing WSGI script '/opt/graphite/conf/graphite.wsgi'.
[Tue Aug 28 23:05:12.180325 2018] [:error] [pid 129712] Traceback (most recent call last):
[Tue Aug 28 23:05:12.180333 2018] [:error] [pid 129713] Traceback (most recent call last):
[Tue Aug 28 23:05:12.180337 2018] [:error] [pid 129714] Traceback (most recent call last):
[Tue Aug 28 23:05:12.180338 2018] [:error] [pid 129712] File "/opt/graphite/conf/graphite.wsgi", line 5, in <module>
[Tue Aug 28 23:05:12.180346 2018] [:error] [pid 129713] File "/opt/graphite/conf/graphite.wsgi", line 5, in <module>
[Tue Aug 28 23:05:12.180349 2018] [:error] [pid 129714] File "/opt/graphite/conf/graphite.wsgi", line 5, in <module>
[Tue Aug 28 23:05:12.180383 2018] [:error] [pid 129712] import django
[Tue Aug 28 23:05:12.180391 2018] [:error] [pid 129713] import django
[Tue Aug 28 23:05:12.180394 2018] [:error] [pid 129714] import django
[Tue Aug 28 23:05:12.180398 2018] [:error] [pid 129712] ImportError: No module named django
[Tue Aug 28 23:05:12.180406 2018] [:error] [pid 129713] ImportError: No module named django
[Tue Aug 28 23:05:12.180409 2018] [:error] [pid 129714] ImportError: No module named django

 

 

has anyone experienced similar issue? appreciate responses to fix the issue and get the graphite up and running.

 

1 ACCEPTED SOLUTION

san456
8,610 Views

HI Alex,

 

  Thank you for your response and sorry for my late reply.  I have followed updated instructions posted on another thread by "yannb"  for recent redhat or centos distributions where i have posted this error for help . Please refer to below link on page 4 for resolution.

 

https://community.netapp.com/t5/OnCommand-Storage-Management-Software-Articles-and-Resources/How-to-install-Graphite-and-Grafana/ta-p/109456/page/4/sh...

View solution in original post

2 REPLIES 2

AlexDawson
8,665 Views

Hi there!

 

Can you please let us know which of the sets of directions you followed? I just did the install following the Ubuntu instructions, and it took about 30 minutes and worked fine. Can you also please paste the output of the following commands:

 

pip install pyparsing
pip install 'Twisted<12.0'
pip install 'django<1.5'
pip install 'django-tagging==0.3.6'

Thanks!

san456
8,611 Views

HI Alex,

 

  Thank you for your response and sorry for my late reply.  I have followed updated instructions posted on another thread by "yannb"  for recent redhat or centos distributions where i have posted this error for help . Please refer to below link on page 4 for resolution.

 

https://community.netapp.com/t5/OnCommand-Storage-Management-Software-Articles-and-Resources/How-to-install-Graphite-and-Grafana/ta-p/109456/page/4/sh...

Public