1 (edited by spixx 2012-01-09 11:02:02)

Topic: Possible bug (or brainfail)

Hello!
First of the installation had a hickup on the restart / start of the dovecot daemon (something about a "=" (just mentioning)).
Secondly I cannot seem to get the panel working I have all the standard configuration but have added a particular vhost for the admin panel.

system is centos 6.1


I get the following Warning (so non-fatal?) in error.log

[Mon Jan 09 05:38:59 2012] [warn] mod_wsgi: Compiled for Python/2.6.2.
[Mon Jan 09 05:38:59 2012] [warn] mod_wsgi: Runtime using Python/2.6.6.
[Mon Jan 09 05:38:59 2012] [notice] Apache/2.2.15 (Unix) DAV/2 mod_ssl/2.2.15 OpenSSL/1.0.0-fips mod_wsgi/3.2 Python/2.6.6 configured -- resuming normal operations

When I try to access the page I either (if I do not add a index myself) get a index or the content (clear-text) of iredadmin.py. What have I done wrong?

Other files that might be interesting:
<VirtualHost *:80>
    DocumentRoot /var/www/iredadmin
    SuexecUserGroup iredadmin iredadmin
    ServerName <CENSORED>
    ServerAlias <CENSORED>
    <Directory "/var/www/iredadmin">
      Options Indexes FollowSymLinks
      AllowOverride All
      Order allow,deny
      Allow from all
    </Directory>
    ErrorLog logs/<CENSORED>error.log
    TransferLog logs/<CENSORED>access.log
    RewriteEngine On
    RewriteCond %{HTTPS} off
    RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
</VirtualHost>

<VirtualHost *:443>
    DocumentRoot /var/www/iredadmin
    SuexecUserGroup iredadmin iredadmin
    ServerName <CENSORED>
    ServerAlias *<CENSORED>
    SSLEngine on
    SSLCertificateFile /etc/pki/<CENSORED>.crt
    SSLCertificateKeyFile /etc/pki/<CENSORED>.key
    SSLCertificateChainFile /etc/pki/CA.crt
    <Directory "/var/www/iredadmin">
      Options Indexes FollowSymLinks
      AllowOverride All
      Order allow,deny
      Allow from all
    </Directory>
</VirtualHost>

following error in the main configuration (guessing this is the problem):

MDB2 Error: not found (-4): no RDBMS driver specified
mod_mime_magic: can't read `/var/www/iredadmin/settings.ini'

----

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

2

Re: Possible bug (or brainfail)

I guess you forgot these settings:

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

AddType text/html .py

Maybe you don't need all of them, but you should at least add the last line.

3 (edited by spixx 2012-01-09 11:09:16)

Re: Possible bug (or brainfail)

Ah they are in the conf.d/ directory smile it seems to be some major wierdness on this installation (might be the time that is the issue). smile

quicknote I used the latest release of iredmail ( 0.7.4 ) it seems to have some installation issues to on my system:

2.6.18-238.19.1.el5.028stab092.2 #1 SMP Thu Jul 21 19:23:22 MSD 2011 i686 i686 i386 GNU/Linux

4

Re: Possible bug (or brainfail)

What installation issues?
We don't support your modifications, so please make sure you have iRedMail default configs.