1

Topic: Server

https://xxxxxxxxxxx/iredadmin
Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, you@example.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


/usr/local/www # ls -la
total 36
drwxr-xr-x   9 root       wheel       512 Apr 21 15:33 .
drwxr-xr-x  17 root       wheel       512 Apr 21 13:25 ..
drwxr-xr-x   6 root       wheel       512 Apr 21 12:15 apache22
drwxr-xr-x   8 root       wheel       512 Apr 21 13:09 awstats
drwxr-xr-x   9 iredadmin  iredadmin   512 Feb  5 10:31 iRedAdmin-Pro-PGSQL-1.4.1
lrwxr-xr-x   1 root       wheel        26 Apr 21 15:31 iredadmin -> iRedAdmin-Pro-PGSQL-1.4.1/
drwxr-xr-x  12 root       wheel      1536 Apr 21 13:09 phpPgAdmin
drwxr-xr-x   5 root       wheel      3072 Apr 21 12:50 policyd
drwxr-xr-x   2 root       wheel       512 Apr 21 13:25 proxy
drwxr-xr-x  11 root       wheel       512 Apr 21 13:09 roundcube

/usr/local/www/iredadmin # ls -la
total 68
drwxr-xr-x   9 iredadmin  iredadmin    512 Feb  5 10:31 .
drwxr-xr-x   9 root       wheel        512 Apr 21 15:33 ..
-rwxr-xr-x   1 iredadmin  iredadmin     36 Feb  5 10:31 AUTHORS
-rwxr-xr-x   1 iredadmin  iredadmin  10720 Feb  5 10:31 ChangeLog.pgsql
-rwxr-xr-x   1 iredadmin  iredadmin    550 Feb  5 10:31 EULA
-rwxr-xr-x   1 iredadmin  iredadmin    416 Feb  5 10:31 README
drwxr-xr-x   7 iredadmin  iredadmin    512 Feb  5 10:31 controllers
drwxr-xr-x   3 iredadmin  iredadmin    512 Feb  5 10:31 docs
drwxr-xr-x  18 iredadmin  iredadmin    512 Feb  5 10:31 i18n
-rwxr-xr-x   1 iredadmin  iredadmin    384 Feb  5 10:31 iredadmin.py
drwxr-xr-x   8 iredadmin  iredadmin    512 Apr 21 15:35 libs
-rwxr-xr-x   1 iredadmin  iredadmin   3814 Feb  5 10:31 settings.py.pgsql.sample
drwxr-xr-x   4 iredadmin  iredadmin    512 Feb  5 10:31 static
drwxr-xr-x   3 iredadmin  iredadmin    512 Feb  5 10:31 templates
drwxr-xr-x   2 iredadmin  iredadmin    512 Feb  5 10:31 tools

And

https://xxxxx/mail/

Show nothing, white.


[Mon Apr 21 15:38:19 2014] [error] [client 177.106.33.73] mod_wsgi (pid=2621): Target WSGI script '/usr/local/www/iredadmin/iredadmin.py' cannot be loaded as Python module.
[Mon Apr 21 15:38:19 2014] [error] [client 177.106.33.73] mod_wsgi (pid=2621): Exception occurred processing WSGI script '/usr/local/www/iredadmin/iredadmin.py'.
[Mon Apr 21 15:38:19 2014] [error] [client 177.106.33.73] Traceback (most recent call last):
[Mon Apr 21 15:38:19 2014] [error] [client 177.106.33.73]   File "/usr/local/www/iredadmin/iredadmin.py", line 8, in <module>
[Mon Apr 21 15:38:19 2014] [error] [client 177.106.33.73]     from libs import iredbase
[Mon Apr 21 15:38:19 2014] [error] [client 177.106.33.73]   File "/usr/local/www/iredadmin/libs/iredbase.py", line 16, in <module>
[Mon Apr 21 15:38:19 2014] [error] [client 177.106.33.73]     import iredutils
[Mon Apr 21 15:38:19 2014] [error] [client 177.106.33.73]   File "/usr/local/www/iredadmin/libs/iredutils.py", line 15, in <module>
[Mon Apr 21 15:38:19 2014] [error] [client 177.106.33.73]     import settings
[Mon Apr 21 15:38:19 2014] [error] [client 177.106.33.73] ImportError: No module named settings



177.106.33.73 - - [21/Apr/2014:15:38:23 -0300] "GET / HTTP/1.1" 200 98
177.106.33.73 - - [21/Apr/2014:15:38:23 -0300] "GET /mail/ HTTP/1.1" 500 -
177.106.33.73 - - [21/Apr/2014:15:41:28 -0300] "GET /mail/ HTTP/1.1" 500 -


[21/Apr/2014:15:38:23 -0300] 177.106.33.73 TLSv1.2 ECDHE-RSA-AES128-GCM-SHA256 "GET /mail/ HTTP/1.1" -
[21/Apr/2014:15:41:28 -0300] 177.106.33.73 TLSv1.2 ECDHE-RSA-AES128-GCM-SHA256 "GET /mail/ HTTP/1.1" -


You need more details?

Cheers
Fabrício


==== Required information ====
- iRedMail version: 0.8.6
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): PGSQL
- Linux/BSD distribution name and version:  FREEBSD
- Related log if you're reporting an issue:
====

----

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

2

Re: Server

Fabricio wrote:

/usr/local/www/iredadmin # ls -la
...
[Mon Apr 21 15:38:19 2014] [error] [client 177.106.33.73] ImportError: No module named settings

Obviously, you don't have iRedAdmin-Pro config file /usr/local/www/iredadmin/settings.py.
You can copy it from iRedAdmin open source edition, or copy from sample config file /usr/local/www/iredadmin/settings.py.pgsql.sample and update it with correct SQL accounts manually.