Topic: Error
==== Provide required information ====
- iRedMail version and backend (LDAP/MySQL/PGSQL): do not use iRedMail but RoundCube
- Linux/BSD distribution name and version: RHEL 6 64bit
- Any related log? Log is helpful for troubleshooting.
====
Hi,
I try to start the admin and get a internal server error.
I activated debug and get the foolowing in the ssl log
[Wed Jul 18 06:47:54 2012] [error] [client 175.143.198.18] mod_wsgi (pid=15710): Target WSGI script '/var/www/iredadmin/iredadmin.py' cannot be loaded as Python module.
[Wed Jul 18 06:47:54 2012] [error] [client 175.143.198.18] mod_wsgi (pid=15710): Exception occurred processing WSGI script '/var/www/iredadmin/iredadmin.py'.
[Wed Jul 18 06:47:54 2012] [error] [client 175.143.198.18] Traceback (most recent call last):
[Wed Jul 18 06:47:54 2012] [error] [client 175.143.198.18] File "/var/www/iredadmin/iredadmin.py", line 9, in <module>
[Wed Jul 18 06:47:54 2012] [error] [client 175.143.198.18] from libs import iredbase
[Wed Jul 18 06:47:54 2012] [error] [client 175.143.198.18] File "/var/www/iredadmin/libs/iredbase.py", line 8, in <module>
[Wed Jul 18 06:47:54 2012] [error] [client 175.143.198.18] from jinja2 import Environment, FileSystemLoader
[Wed Jul 18 06:47:54 2012] [error] [client 175.143.198.18] ImportError: No module named jinja2
some more info:
[root@433680-web1 iRedMail-0.8.1]# ls -l /var/www/
total 28
drwxr-xr-x 9 root root 4096 Jul 18 06:01 awstats
drwxr-xr-x. 2 root root 4096 Oct 6 2011 cgi-bin
drwxr-xr-x. 3 root root 4096 Jul 6 20:41 error
drwxr-xr-x. 2 root root 4096 Oct 21 2011 html
drwxr-xr-x. 3 root root 4096 Jul 13 11:15 icons
lrwxrwxrwx 1 root root 25 Jul 17 03:26 iredadmin -> iRedAdmin-Pro-MySQL-1.4.0
dr-xr-xr-x 9 iredadmin iredadmin 4096 Jul 18 05:26 iRedAdmin-Pro-MySQL-1.4.0
drwxr-xr-x. 2 webalizer root 4096 Jul 12 03:19 usage
[root@433680-web1 iRedMail-0.8.1]# ls -l /var/www/iredadmin/*
-r-xr-xr-x 1 iredadmin iredadmin 49 Jul 17 03:08 /var/www/iredadmin/AUTHORS
-r-xr-xr-x 1 iredadmin iredadmin 7429 Jul 17 03:08 /var/www/iredadmin/ChangeLog.mysql
-r-xr-xr-x 1 iredadmin iredadmin 550 Jul 17 03:08 /var/www/iredadmin/EULA
lrwxrwxrwx 1 root root 25 Jul 18 02:17 /var/www/iredadmin/iRedAdmin-Pro-MySQL-1.4.0 -> iRedAdmin-Pro-MySQL-1.4.0
-r-xr-xr-x 1 iredadmin iredadmin 402 Jul 17 03:08 /var/www/iredadmin/iredadmin.py
-r-xr-xr-x 1 iredadmin iredadmin 416 Jul 17 03:08 /var/www/iredadmin/README
-r-------- 1 iredadmin iredadmin 3719 Jul 18 05:26 /var/www/iredadmin/settings.ini
-r-xr-xr-x 1 iredadmin iredadmin 3700 Jul 17 03:08 /var/www/iredadmin/settings.ini.mysql.sample
/var/www/iredadmin/controllers:
total 24
dr-xr-xr-x 2 iredadmin iredadmin 4096 Jul 17 03:08 amavisd
-r-xr-xr-x 1 iredadmin iredadmin 927 Jul 17 03:08 decorators.py
-r-xr-xr-x 1 iredadmin iredadmin 0 Jul 17 03:08 __init__.py
dr-xr-xr-x 2 iredadmin iredadmin 4096 Jul 17 03:08 mysql
dr-xr-xr-x 2 iredadmin iredadmin 4096 Jul 17 03:08 panel
dr-xr-xr-x 2 iredadmin iredadmin 4096 Jul 17 03:08 policyd
-r-xr-xr-x 1 iredadmin iredadmin 981 Jul 17 03:08 utils.py
/var/www/iredadmin/docs:
total 4
dr-xr-xr-x 2 iredadmin iredadmin 4096 Jul 17 03:08 samples
/var/www/iredadmin/i18n:
total 176
-r-xr-xr-x 1 iredadmin iredadmin 778 Jul 17 03:08 babel.cfg
dr-xr-xr-x 3 iredadmin iredadmin 4096 Jul 17 03:08 de_DE
dr-xr-xr-x 3 iredadmin iredadmin 4096 Jul 17 03:08 en_US
dr-xr-xr-x 3 iredadmin iredadmin 4096 Jul 17 03:08 es_ES
dr-xr-xr-x 3 iredadmin iredadmin 4096 Jul 17 03:08 fi_FI
dr-xr-xr-x 3 iredadmin iredadmin 4096 Jul 17 03:08 fr_FR
-r-xr-xr-x 1 iredadmin iredadmin 108655 Jul 17 03:08 iredadmin.po
dr-xr-xr-x 3 iredadmin iredadmin 4096 Jul 17 03:08 it_IT
-r-xr-xr-x 1 iredadmin iredadmin 5501 Jul 17 03:08 msgfmt.py
dr-xr-xr-x 3 iredadmin iredadmin 4096 Jul 17 03:08 nl_NL
dr-xr-xr-x 3 iredadmin iredadmin 4096 Jul 17 03:08 pl_PL
dr-xr-xr-x 3 iredadmin iredadmin 4096 Jul 17 03:08 pt_BR
dr-xr-xr-x 3 iredadmin iredadmin 4096 Jul 17 03:08 ru_RU
dr-xr-xr-x 3 iredadmin iredadmin 4096 Jul 17 03:08 sl_SI
-r-xr-xr-x 1 iredadmin iredadmin 2503 Jul 17 03:08 translation.sh
dr-xr-xr-x 3 iredadmin iredadmin 4096 Jul 17 03:08 zh_CN
dr-xr-xr-x 3 iredadmin iredadmin 4096 Jul 17 03:08 zh_TW
/var/www/iredadmin/libs:
total 88
dr-xr-xr-x 2 iredadmin iredadmin 4096 Jul 17 03:08 amavisd
-r-xr-xr-x 1 iredadmin iredadmin 555 Jul 17 03:08 __init__.py
-r-xr-xr-x 1 iredadmin apache 819 Jul 18 02:31 __init__.pyc
-r-xr-xr-x 1 iredadmin iredadmin 7770 Jul 17 03:08 iredbase.py
-r-xr-xr-x 1 iredadmin apache 6670 Jul 18 02:31 iredbase.pyc
-r-xr-xr-x 1 iredadmin iredadmin 4997 Jul 17 03:08 ireddate.py
-r-xr-xr-x 1 iredadmin iredadmin 12933 Jul 17 03:08 iredutils.py
-r-xr-xr-x 1 iredadmin iredadmin 3569 Jul 17 03:08 languages.py
-r-xr-xr-x 1 iredadmin iredadmin 2599 Jul 17 03:08 mailparser.py
-r-xr-xr-x 1 iredadmin iredadmin 4200 Jul 17 03:08 md5crypt.py
dr-xr-xr-x 2 iredadmin iredadmin 4096 Jul 17 03:08 mysql
dr-xr-xr-x 2 iredadmin iredadmin 4096 Jul 17 03:08 panel
dr-xr-xr-x 2 iredadmin iredadmin 4096 Jul 17 03:08 policyd
-r-xr-xr-x 1 iredadmin iredadmin 7615 Jul 17 03:08 settings.py
/var/www/iredadmin/static:
total 16
dr-xr-xr-x 4 iredadmin iredadmin 4096 Jul 17 03:08 default
dr-xr-xr-x 2 iredadmin iredadmin 4096 Jul 17 03:08 js
-r-xr-xr-x 1 iredadmin iredadmin 8162 Jul 17 03:08 logo.png
/var/www/iredadmin/templates:
total 4
dr-xr-xr-x 7 iredadmin iredadmin 4096 Jul 17 03:08 default
/var/www/iredadmin/tools:
total 8
-r-xr-xr-x 1 iredadmin iredadmin 7035 Jul 17 03:08 dump_disclaimer.py
[root@433680-web1 iRedMail-0.8.1]#
any info would be welcome
Best wishes,
thom
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.