1 (edited by WarfaceZ 2016-09-25 17:41:46)

Topic: [RESOLVED] Internal Server Error

======== Required information ====
- iRedMail version (check /etc/iredmail-release):  0.9.5-1
- Linux/BSD distribution name and version: Ubuntu 16.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache, PHP 7.0
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue:
====

Godd morning, I have a problem, when I go to /iredadmin I got a Internal Server Error.

[Sat Sep 24 15:07:17.378565 2016] [cgi:error] [pid 2896] [client 88.103.224.1:18484] AH01215: Traceback (most recent call last):: /opt/www/iredadmin/iredadmin.py
[Sat Sep 24 15:07:17.378825 2016] [cgi:error] [pid 2896] [client 88.103.224.1:18484] AH01215:   File "/opt/www/iredadmin/iredadmin.py", line 9, in <module>: /opt/www/iredadmin/iredadmin.py
[Sat Sep 24 15:07:17.378862 2016] [cgi:error] [pid 2896] [client 88.103.224.1:18484] AH01215:     from libs import iredbase: /opt/www/iredadmin/iredadmin.py
[Sat Sep 24 15:07:17.378914 2016] [cgi:error] [pid 2896] [client 88.103.224.1:18484] AH01215:   File "/opt/www/iredadmin/libs/iredbase.py", line 18, in <module>: /opt/www/iredadmin/iredadmin.py
[Sat Sep 24 15:07:17.378939 2016] [cgi:error] [pid 2896] [client 88.103.224.1:18484] AH01215:     import iredutils: /opt/www/iredadmin/iredadmin.py
[Sat Sep 24 15:07:17.378989 2016] [cgi:error] [pid 2896] [client 88.103.224.1:18484] AH01215:   File "/opt/www/iredadmin/libs/iredutils.py", line 14, in <module>: /opt/www/iredadmin/iredadmin.py
[Sat Sep 24 15:07:17.379013 2016] [cgi:error] [pid 2896] [client 88.103.224.1:18484] AH01215:     import settings: /opt/www/iredadmin/iredadmin.py
[Sat Sep 24 15:07:17.379047 2016] [cgi:error] [pid 2896] [client 88.103.224.1:18484] AH01215: ImportError: No module named settings: /opt/www/iredadmin/iredadmin.py
[Sat Sep 24 15:07:17.392251 2016] [cgi:error] [pid 2896] [client 88.103.224.1:18484] End of script output before headers: iredadmin.py


I resolved it, I reinstalled iredmail, and it changed passwords to database users, I changed password, add user iredadmin to group www-data and set chown /opt/www/iRedAdmin-0.6.1 (recursive) and it work wink

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.