1 (edited by sadistic 2013-10-30 23:23:13)

Topic: Error installing iRedMail on Ubuntu server 13.10

======== Required information ====
- iRedMail version: 0.8.5
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Linux/BSD distribution name and version: Ubuntu server 13.10
- Related log if you're reporting an issue: See below
====
Good Day All

Im new to the Linux world so I gave iRedMail a try and was impressed with how easy it was to setup.
It worked brilliantly with a test server running 13.04

When I tried installing it on 13.10 I got the following error:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package apache2.2-common is not available, but is referred to by another package                                                                                                                                                             .
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  apache2-data apache2-bin apache2

Package libapache2-mod-auth-mysql is not available, but is referred to by anothe                                                                                                                                                             r package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package libapache2-mod-auth-pgsql is not available, but is referred to by anothe                                                                                                                                                             r package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'apache2.2-common' has no installation candidate
E: Package 'libapache2-mod-auth-mysql' has no installation candidate
E: Package 'libapache2-mod-auth-pgsql' has no installation candidate
< ERROR > Installation failed, please check the terminal output.

=============================================================

I searched and their seems to be a general issue with apache and mysql giving these errors

I hope someone can assist me.

2

Re: Error installing iRedMail on Ubuntu server 13.10

There're several issues with Ubuntu 13.10:

*) Missing packages: libapache2-mod-auth-mysql, libapache2-mod-auth-pgsql. That means we cannot configure Awstats and Cluebringer webui to authenticate mail admins against MySQL or PostgreSQL.
*) Package phpldapadmin cannot be installed, i reported this bug yesterday: https://bugs.launchpad.net/ubuntu/+sour … ug/1246170
*) Package phppgadmin installs duplicate files in different directories. reported this bug yesterday: https://bugs.launchpad.net/ubuntu/+sour … ug/1246174

So, iRedMail will not install Awstats, Cluebringer webui, phpLDAPadmin on Ubuntu 13.10.

3

Re: Error installing iRedMail on Ubuntu server 13.10

What about to switch to dbd instead of auth_mysql?

# mod_dbd configuration
DBDriver mysql
DBDParams "dbname=vmail user=?????????? password=????"

DBDMin  4
DBDKeep 8
DBDMax  20
DBDExptime 300

<Directory /usr/share/postfix-cluebringer-webui/webui/>
    DirectoryIndex index.php
    Options ExecCGI
    Order allow,deny
    allow from all

    AuthType Basic
    AuthName "Authorization Required"
    AuthBasicProvider dbd

    # core authorization configuration
    Require valid-user

    # mod_authn_dbd SQL query to authenticate a user
    AuthDBDUserPWQuery "SELECT password FROM mailbox WHERE username = %s"

</Directory>

4

Re: Error installing iRedMail on Ubuntu server 13.10

Great, thanks for letting me know we can use this. You saved Awstats and Cluebringer webui on Ubuntu 13.10. smile

5 (edited by pedro.duarte.pt 2013-11-09 21:37:22)

Re: Error installing iRedMail on Ubuntu server 13.10

Hello,

I'm quite new to this. Had exactly the same problem.
However I cannot find that text file for editing. Where can I find it?

searching the web for some of the string in the file it looks like httpd.conf (which I don't know where it is).
Is that the file I should be looking for? If so, does that mean that I have to have apache already installed and running in my machine before trying to install iredMail?

Currently I only have a tomcat 7 server running some webapps.

Note: btw I noticed the  -- DBDParams "dbname=vmail user=?????????? password=????" -- string. I assume I have to replace those questions marks which relevant data. Which username and passwords should these be? iRedMain admin ones?

6

Re: Error installing iRedMail on Ubuntu server 13.10

iRedMail-0.8.5 doesn't support Ubuntu 13.10, because Ubuntu 13.10 ships Apache-2.4 (Ubuntu 13.04 ships Apache-2.2) which has some changes which iRedMail-0.8.5 doesn't support. So please wait for our upcoming release of iRedMail if you want to deploy it on production server.

pedro.duarte.pt wrote:

Note: btw I noticed the  -- DBDParams "dbname=vmail user=?????????? password=????" -- string. I assume I have to replace those questions marks which relevant data. Which username and passwords should these be? iRedMain admin ones?

Yes, you can find username/password in /etc/postfix/mysql/*.cf.
Be careful, for MySQL backend, it should use 'pass=', not 'password='.

7

Re: Error installing iRedMail on Ubuntu server 13.10

See this post: http://www.iredmail.org/forum/post30654.html#p30654