Partial Success with Kolab 3.3 Installation on openSUSE 13.1

Tom Reijnders reijnders at tor.nl
Sun Dec 7 18:26:54 CET 2014


NOTE!

Don't forget to set MAIL_CREATE_CONFIG="no" /etc/sysconfig/mail !!!

Otherwise, your postfix configuration will be overwritten if you change 
something in your netweork settings using yast

Regards,

Tom

Martin Campbell schreef op 5-12-2014 16:10:
> I'm trying to install Kolab 3.3 on openSUSE 13.1. I've got a bit 
> further than before but it's still not working.
>
> I've managed to rerun setup-kolab after the failed LDAP setup, but 
> only by force deleting and force reinstalling 389 Directory Server.
>
> # systemctl stop dirsrv.target
> # rm -rf /etc/dirsrv
> # rm -rf /usr/*/dirsrv
> # rm -rf /var/*/dirsrv
> # rm -rf /var/run/lock/dirsrv
> # zypper in -f 389-admin 389-ds-base
>
> This fixes the following error when running setup-kolab for a second time.
>
> Error: failed to open an LDAP connection to host 
> 'asusnero.placefarm.com' port '389' as user 'cn=Directory Manager'.  
> Error: unknown.
>
> I suspect something slightly less brutal would also work.
>
> I've managed to get past the LDAP setup by making the following 
> changes to /etc/dirsrv/admin-serv/httpd.conf.
>
> 135c135
> < LoadModule nss_module         /usr/lib64/apache2/libmodnss.so
> ---
> > LoadModule nss_module         /usr/lib64/apache2/mod_nss.so
> 137,138c137,138
> < LoadModule mpm_worker_module /usr/lib64/apache2/mod_mpm_worker.so
> < LoadModule access_compat_module /usr/lib64/apache2/mod_access_compat.so
> ---
> > #LoadModule mpm_worker_module /usr/lib64/apache2/mod_mpm_worker.so
> > #LoadModule access_compat_module 
> /usr/lib64/apache2/mod_access_compat.so
> 142c142
> < LoadModule unixd_module /usr/lib64/apache2/mod_unixd.so
> ---
> > #LoadModule unixd_module /usr/lib64/apache2/mod_unixd.so
>
> It appears 389 Directory Server was configured for a different version 
> of Apache than the one supplied with openSUSE.
>
> The setup-kolab script is now failing later in the process on Amavis 
> and MySQL. I don't know how to fix this.
>
> # setup-kolab
>
> Please supply a password for the LDAP administrator user 'admin', used 
> to login
> to the graphical console of 389 Directory server.
>
> Administrator password [9t05VXIEsWJ_8wA]:
> Confirm Administrator password:
> Incorrect confirmation. Please try again.
> Administrator password [9t05VXIEsWJ_8wA]:
> Confirm Administrator password:
>
> Please supply a password for the LDAP Directory Manager user, which is the
> administrator user you will be using to at least initially log in to 
> the Web
> Admin, and that Kolab uses to perform administrative tasks.
>
> Directory Manager password [AKkLJho5ZZnSoNg]:
> Confirm Directory Manager password:
>
> Please choose the system user and group the service should use to run 
> under.
> These should be existing, unprivileged, local system POSIX accounts 
> with no
> shell.
>
> User [nobody]:
> Group [nobody]:
>
> This setup procedure plans to set up Kolab Groupware for the following 
> domain
> name space. This domain name is obtained from the reverse DNS entry on 
> your
> network interface. Please confirm this is the appropriate domain name 
> space.
>
> placefarm.com [Y/n]:
>
> The standard root dn we composed for you follows. Please confirm this 
> is the root
> dn you wish to use.
>
> dc=placefarm,dc=com [Y/n]:
>
> Setup is now going to set up the 389 Directory Server. This may take a 
> little
> while (during which period there is no output and no progress indication).
>
> ln -s '/usr/lib/systemd/system/dirsrv.target' 
> '/etc/systemd/system/multi-user.target.wants/dirsrv.target'
>
> Please supply a Cyrus Administrator password. This password is used by 
> Kolab to
> execute administrative tasks in Cyrus IMAP. You may also need the password
> yourself to troubleshoot Cyrus IMAP and/or perform other 
> administrative tasks
> against Cyrus IMAP directly.
>
> Cyrus Administrator password [T_PqVyfMHTyogxJ]:
> Confirm Cyrus Administrator password:
>
> Please supply a Kolab Service account password. This account is used 
> by various
> services such as Postfix, and Roundcube, as anonymous binds to the 
> LDAP server
> will not be allowed.
>
> Kolab Service password [IJinU_cWQGzk_zj]:
> Confirm Kolab Service password:
> ln -s '/usr/lib/systemd/system/dirsrv-admin.service' 
> '/etc/systemd/system/multi-user.target.wants/dirsrv-admin.service'
> Failed to issue method call: Unit amavisd.service failed to load: No 
> such file or directory.
> Failed to issue method call: Unit clamd at amavisd.service failed to 
> load: No such file or directory.
> Failed to issue method call: No such file or directory
> Failed to issue method call: No such file or directory
> ln -s '/usr/lib/systemd/system/wallace.service' 
> '/etc/systemd/system/multi-user.target.wants/wallace.service'
> Failed to issue method call: Unit mysqld.service failed to load: No 
> such file or directory.
> Failed to issue method call: No such file or directory
>
> Please supply a root password for MySQL. This password will be the 
> administrative
> user for this MySQL server, and it should be kept a secret. After this 
> setup
> process has completed, Kolab is going to discard and forget about this 
> password,
> but you will need it for administrative tasks in MySQL.
>
> MySQL root password [6B4u_urOrJ5BKRT]:
> Confirm MySQL root password:
> ERROR 2002 (HY000): Can't connect to local MySQL server through socket 
> '/var/run/mysql/mysql.sock' (2)
> ERROR 2002 (HY000): Can't connect to local MySQL server through socket 
> '/var/run/mysql/mysql.sock' (2)
> ERROR 2002 (HY000): Can't connect to local MySQL server through socket 
> '/var/run/mysql/mysql.sock' (2)
>
> Please supply a password for the MySQL user 'kolab'. This password 
> will be used
> by Kolab services, such as the Web Administration Panel.
>
> MySQL kolab password [ScnmYspQqzhgDVT]:
> Confirm MySQL kolab password:
> ERROR 2002 (HY000): Can't connect to local MySQL server through socket 
> '/var/run/mysql/mysql.sock' (2)
> ERROR 2002 (HY000): Can't connect to local MySQL server through socket 
> '/var/run/mysql/mysql.sock' (2)
>
> Please supply the timezone PHP should be using. You have to use a 
> Continent or
> Country / City locality name like 'Europe/Berlin', but not just 'CEST'.
>
> Timezone ID [UTC]: Europe/London
>
> Please supply a password for the MySQL user 'roundcube'. This password 
> will be
> used by the Roundcube webmail interface.
>
> MySQL roundcube password [ja2ZUX0rBf0ufXG]:
> Confirm MySQL roundcube password:
> ERROR 2002 (HY000): Can't connect to local MySQL server through socket 
> '/var/run/mysql/mysql.sock' (2)
> ERROR 2002 (HY000): Can't connect to local MySQL server through socket 
> '/var/run/mysql/mysql.sock' (2)
> ERROR 2002 (HY000): Can't connect to local MySQL server through socket 
> '/var/run/mysql/mysql.sock' (2)
> ERROR 2002 (HY000): Can't connect to local MySQL server through socket 
> '/var/run/mysql/mysql.sock' (2)
> ERROR 2002 (HY000): Can't connect to local MySQL server through socket 
> '/var/run/mysql/mysql.sock' (2)
> Failed to issue method call: Unit httpd.service failed to load: No 
> such file or directory.
> Failed to issue method call: No such file or directory
> ERROR 2002 (HY000): Can't connect to local MySQL server through socket 
> '/var/run/mysql/mysql.sock' (2)
> Failed to issue method call: Unit httpd.service failed to load: No 
> such file or directory.
> Failed to issue method call: No such file or directory
> Failed to issue method call: Unit saslauthd.service not loaded.
> ln -s '/usr/lib/systemd/system/kolab-saslauthd.service' 
> '/etc/systemd/system/multi-user.target.wants/kolab-saslauthd.service'
> ln -s '/usr/lib/systemd/system/cyrus-imapd.service' 
> '/etc/systemd/system/multi-user.target.wants/cyrus-imapd.service'
> ln -s '/usr/lib/systemd/system/kolabd.service' 
> '/etc/systemd/system/multi-user.target.wants/kolabd.service'
>
> Martin
>
>
> _______________________________________________
> users mailing list
> users at lists.kolab.org
> https://lists.kolab.org/mailman/listinfo/users

-- 
--

Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kolab.org/pipermail/users/attachments/20141207/4f5c0626/attachment-0001.html>


More information about the users mailing list