1 (edited by johnyx 2014-04-18 18:20:39)

Topic: iredadmin errors

==== Required information ====
- iRedMail version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Linux/BSD distribution name and version:
- Related log if you're reporting an issue:
====
0.8.6
mysql
ubuntu 14.04
log
d 12629] [remote 127.0.0.1:64330] mod_wsgi (pid=12629): Target WSGI script '/usr/share/apache2/iredadmin/iredadmin.py' cannot be loaded as Python module.
[Fri Apr 18 10:47:06.965224 2014] [:error] [pid 12629] [remote 127.0.0.1:64330] mod_wsgi (pid=12629): Exception occurred processing WSGI script '/usr/share/apache2/iredadmin/iredadmin.py'.
[Fri Apr 18 10:47:06.965294 2014] [:error] [pid 12629] [remote 127.0.0.1:64330] Traceback (most recent call last):
[Fri Apr 18 10:47:06.965360 2014] [:error] [pid 12629] [remote 127.0.0.1:64330]   File "/usr/share/apache2/iredadmin/iredadmin.py", line 9, in <module>
[Fri Apr 18 10:47:06.965466 2014] [:error] [pid 12629] [remote 127.0.0.1:64330]     from libs import iredbase
[Fri Apr 18 10:47:06.965503 2014] [:error] [pid 12629] [remote 127.0.0.1:64330]   File "/usr/share/apache2/iredadmin/libs/iredbase.py", line 18, in <module>
[Fri Apr 18 10:47:06.965606 2014] [:error] [pid 12629] [remote 127.0.0.1:64330]     import iredutils
[Fri Apr 18 10:47:06.965643 2014] [:error] [pid 12629] [remote 127.0.0.1:64330]   File "/usr/share/apache2/iredadmin/libs/iredutils.py", line 13, in <module>
[Fri Apr 18 10:47:06.965705 2014] [:error] [pid 12629] [remote 127.0.0.1:64330]     import settings
ImportError: No module named settings
russian модуль имеется, права правильные, скажите что еще нужно логи любые предоставлю

----

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

2

Re: iredadmin errors

johnyx wrote:

[Fri Apr 18 10:47:06.965705 2014] [:error] [pid 12629] [remote 127.0.0.1:64330]     import settings
ImportError: No module named settings

Do you have file /usr/share/apache2/iredadmin/settings.py? What's the file owner and permission?

3 (edited by johnyx 2014-04-18 22:32:15)

Re: iredadmin errors

ohh sure i have this file. install done normal without errors,and permissions normal too.

4

Re: iredadmin errors

Try below two commands:

$ sudo a2enconf iredadmin
$ sudo /etc/init.d/apache2 restart

Then try again.

5 (edited by johnyx 2014-04-19 11:14:42)

Re: iredadmin errors

no not work thats errors again
wow i done it all right incorrect permissions at file settings.py no need iredadmin and vmail just www-data and all work thank for answers