Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] Wsgi pscheduler module and logger modules

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] Wsgi pscheduler module and logger modules


Chronological Thread 
  • From: Mark Feit <>
  • To: "Liu, Dengfeng (NIH/CIT) [C]" <>, "" <>
  • Cc: Andrew Lake <>
  • Subject: Re: [perfsonar-user] Wsgi pscheduler module and logger modules
  • Date: Fri, 21 Apr 2017 21:38:09 +0000
  • Accept-language: en-US
  • Authentication-results: nih.gov; dkim=none (message not signed) header.d=none;nih.gov; dmarc=none action=none header.from=internet2.edu;
  • Ironport-phdr: 9a23:nbkIvhWcsQw4vJbUf2jxXN8lAljV8LGtZVwlr6E/grcLSJyIuqrYbRaOt8tkgFKBZ4jH8fUM07OQ6PG+Hzddqs7b+Fk5M7V0HycfjssXmwFySOWkMmbcaMDQUiohAc5ZX0Vk9XzoeWJcGcL5ekGA6ibqtW1aFRrwLxd6KfroEYDOkcu3y/qy+5rOaAlUmTaxe71/IRG3oAnLuMQbgYRuJrovxhDUvnZGZuNayH9yK1mOhRj8/MCw/JBi8yRUpf0s8tNLXLv5caolU7FWFSwqPG8p6sLlsxnDVhaP6WAHUmoKiBpIAhPK4w/8U5zsryb1rOt92C2dPc3rUbA5XCmp4ql3RBP0jioMKiU0+3/LhMNukK1boQqhpx1hzI7SfIGVL+d1cqfEcd8HWWZNQsNdWipcCY2+coQPFfIMM+ZGoYfgu1sAoxiwBQeuC+Pu1jBHiWT70rcm3+QkCwzKwBAsEtAIvX/JrNv1LqASUeWtwafP1zrDdfBW0ir95ofWcxAhveyHULV1ccrf10YvFh/Fg06RqYzjIzOayP4Ns26F4Op8S+6jkXAopBxsojW2wMonl4rHhpoNx1za6Sl0wpw5KNK5RUJhfNKpEZVduzuVOoZ1Ws8uXn1ktSUgxrEYupO3ZjYGxZsjyhLFdvCLbpWE7xT+X+iLOzh4nmhqeLenihay70egzur8W9Gs3ltWqSRJjsfAumkT2hPR98SLU/x98Vy/1jqV0ADT9/1ELlszlarGLZ4u36Q8loIJsUTEAi/5hln5jLOXdkUj/Oik8ePnYqj6pp+YMI90jQL+Pr4ylcy4BOQ0KgkOX26F9uSgzLDv41H1TbdQgvA5k6TVqo3WKMUVq6KjDAJY0Z4v6xOlADen1NQYk2MHLFVAeB+fiojpNU/BIPHkDfqkglSslitryO7cPr3nHJrNMmbPnK3/crlg9k5Q0BAzwsxH55JIFrEBJ+r+Wlfvu9zCAB85KAu0w+D9B9Vnz48eRHmPDbGDMK7JtV+I5/kvI/WXZIMLojr9Kv4l5+Lwgn8jn18SY7Wp0YUNZH+mA/tmPhbRXX25yPMADCNCkgc4Q+LnjlLKERhyRzGZfp59rgIQPcjuWYvOQI+jjbqOmiO6A7VQZ2AABVeSRzOgPZ2JQfkXbySbOIp8iTEefbmnV4I70xyy7kn3x6ctZr7M9zcWrpXl3cIw+vbejzkz8yB5FcKQzzvLQm1pyDAmXTgziYV2u0815FqCzeAshvJVFMB75vVVXx08OIKGieF2FoahCUr6Yt6VRQP+EZ2dCjYrQ4d0modWbg==
  • Spamdiagnosticoutput: 1:0

Liu, Dengfeng (NIH/CIT) [C] writes:

 

seems ok, rpm -V python-libs gives no output.

 

if comment out the import logging, error will show in log:

Traceback (most recent call last):
  File "/var/www/pscheduler-server/pscheduler-api-server.wsgi", line 10, in <module>
    from pschedulerapiserver import application
  File "./pschedulerapiserver/__init__.py", line 5, in <module>
ImportError: No module named pscheduler

 

At first glance, that looks like a problem with your Python installation not looking in the right place for modules.  RHEL-derived distributions depend heavily on Python, so I doubt that’s it.  You can rule it out by running “python –c ‘import logging’” and seeing if that succeeds with no output.

 

The other, more likely, possibility is that something in the Apache configuration on your system is inhibiting WSGI from functioning properly.   Can you tell me a bit about the system, such as what distribution and version you’re running, how it was built (ISO, installed from the repos), whether anything on it has been customized and if you’re running anything other than perfSONAR on it?  If you’d like to send me a tarball off-list with the contents of /etc/httpd, I can compare it to a known-working system and see if there’s anything amiss.

 

--Mark

 




Archive powered by MHonArc 2.6.19.

Top of Page