Topic: Internal Server Error when trying to access /iredadmin
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.0
- Deployed with iRedMail Easy or the downloadable installer? downloadable installer (the sh <file> version).
- Linux/BSD distribution name and version: CentOS 7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): PGSQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? NO
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Logs from /var/log/messages
---------------------------------------------
Feb 2 02:22:57 jvod uwsgi: Traceback (most recent call last):
Feb 2 02:22:57 jvod uwsgi: File "/opt/www/iRedAdmin-1.0/iredadmin.py", line 9, in <module>
Feb 2 02:22:57 jvod uwsgi:
Feb 2 02:22:57 jvod uwsgi: from libs import iredbase
Feb 2 02:22:57 jvod uwsgi: File "/opt/www/iRedAdmin-1.0/libs/iredbase.py", line 43, in <module>
Feb 2 02:22:57 jvod uwsgi:
Feb 2 02:22:57 jvod uwsgi: pw=settings.iredadmin_db_password,
Feb 2 02:22:57 jvod uwsgi: File "/usr/lib/python2.7/site-packages/web.py-0.40-py2.7.egg/web/db.py", line 1482, in database
Feb 2 02:22:57 jvod uwsgi:
Feb 2 02:22:57 jvod uwsgi: return _databases[dbn](**params)
Feb 2 02:22:57 jvod uwsgi: File "/usr/lib/python2.7/site-packages/web.py-0.40-py2.7.egg/web/db.py", line 1189, in __init__
Feb 2 02:22:57 jvod uwsgi:
Feb 2 02:22:57 jvod uwsgi: db_module = import_driver(pg_drivers, preferred=keywords.pop("driver", None))
Feb 2 02:22:57 jvod uwsgi: File "/usr/lib/python2.7/site-packages/web.py-0.40-py2.7.egg/web/db.py", line 1292, in import_driver
Feb 2 02:22:57 jvod uwsgi:
Feb 2 02:22:57 jvod uwsgi: raise ImportError("Unable to import " + " or ".join(drivers))
Feb 2 02:22:57 jvod uwsgi: ImportError
Feb 2 02:22:57 jvod uwsgi: :
Feb 2 02:22:57 jvod uwsgi: Unable to import psycopg2 or psycopg or pgdb
Feb 2 02:22:57 jvod uwsgi:
Feb 2 02:22:57 jvod uwsgi: unable to load app 0 (mountpoint='jvod.email|/iredadmin') (callable not found or import error)
Feb 2 02:22:57 jvod uwsgi: --- no python application found, check your startup logs for errors ---
---------------------------------------------
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.