1

Topic: iredadmin does not show

Hi,
i have an issue here with iredadmin, when i run it it doesnt show and there is nothing in apache logs that could tell me what is wrong

----

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

2

Re: iredadmin does not show

- How do you run it?
- Which OS are you using?
- Please set "debug = True" in config file "settings.ini" of iRedAdmin, restart Apache.
- Monitor apache error_log and post them to our forum.

3

Re: iredadmin does not show

I am using CEntos 5.5
debug is enabled
i try to run it there is nothing coming in the apache logs, i did stop all the firewall but stillnothing is coming.

4

Re: iredadmin does not show

Well it doesn’t show because I don’t see anything in apache logs...  when accessing it runs in the browser indefinitely

5

Re: iredadmin does not show

- How did you access iRedAdmin? Did you access it with httpS://?
- If you access https://, what's the log in apache access_log and error_log?

6

Re: iredadmin does not show

i am accessing with https and as i said earlier nothing is coming in apache logs

7

Re: iredadmin does not show

It should be https://your_server.com/iredadmin/, if you access apache, there should be some log in /var/log/httpd/error_log or /var/log/httpd/ssl_error_log. Did you check both files?

8

Re: iredadmin does not show

i dont see anything in apache logs...

9

Re: iredadmin does not show

Do you have any router, gateway devices between your workstation and server?

10

Re: iredadmin does not show

am now connected directly on the server but the same result...

11

Re: iredadmin does not show

when i run the phthon iredadmin.py i can access it though port 8080 but when i dont run it, it doesnt work

12

Re: iredadmin does not show

Does other web applications work? e.g. phpLDAPadmin, phpMyAdmin, webmail?

13

Re: iredadmin does not show

yes all others work

14

Re: iredadmin does not show

i have no idea yet, if no apache log, i don't know how to troulbeshoot it. but it works with "python iredadmin.py".
Can you please post /etc/httpd/conf.d/iredadmin.conf and last lines of /etc/httpd/conf.d/ssl.conf (Only lines which starts with "Alias" or "ScriptAlias", "WSGIScriptAlias").

15

Re: iredadmin does not show

#
# Note: Uncomment below two lines if you want to make iRedAdmin accessable via HTTP.
#
#WSGIScriptAlias /iredadmin /var/www/iredadmin/iredadmin.py/
#Alias /iredadmin/static /var/www/iredadmin/static/

WSGISocketPrefix /var/run/wsgi
WSGIDaemonProcess iredadmin user=iredadmin threads=15
WSGIProcessGroup iredadmin

AddType text/html .py

<Directory /var/www/iredadmin/>
    Order deny,allow
    Allow from all
</Directory>

# Used to enable compress web contents during transfer.
DeflateCompressionLevel 3
AddOutputFilter DEFLATE html xml php js css
<Location />
SetOutputFilter DEFLATE
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary
SetEnvIfNoCase Request_URI .(?:exe|t?gz|zip|bz2|sit|rar)$ no-gzip dont-vary
SetEnvIfNoCase Request_URI .(?:pdf|mov|avi|mp3|mp4|rm)$ no-gzip dont-vary
#Header append Vary User-Agent env=!dont-vary
</Location>




Alias /mail "/var/www/roundcubemail/"
Alias /webmail "/var/www/roundcubemail/"
Alias /roundcube "/var/www/roundcubemail/"
Alias /phpldapadmin "/var/www/phpldapadmin/"
Alias /ldap "/var/www/phpldapadmin/"
Alias /phpmyadmin "/var/www/phpmyadmin/"
Alias /mysql "/var/www/phpmyadmin/"
Alias /awstats/icon "/var/www/awstats/icon/"
ScriptAlias /awstats "/var/www/awstats/"
WSGIScriptAlias /iredadmin "/var/www/iredadmin/iredadmin.py/"
Alias /iredadmin/static "/var/www/iredadmin/static/"

16

Re: iredadmin does not show

Apache config files are correct.

No idea yet.

17

Re: iredadmin does not show

Do you have SELinux enabled?

18

Re: iredadmin does not show

selinux is disabled.

19

Re: iredadmin does not show

Solved.

There's a conflict with package mod_python (/etc/httpd/conf.d/python.conf). You can either remove this package or rename "python.conf" to "python.conf.bak".