Installation on Wheezy - Experiences

Tobias Brunner <[email protected]>
Newsgroups gmane.comp.kde.devel.kolab,gmane.comp.kde.kolab.devel
Organization tobruNET
Message-ID <2551560.A3K27kF9cn@pctobru>
Hi everyone

Yesterday evening I re-installed my Wheezy VM to start from scratch (now I 
have a snapshot to restart from scratch without re-installing the OS =) ). 
Here is my experience installing kolab-3.0:

== Package installation ==
Was successfull without any troubles

== Running setup-kolab ==
Everything worked fine. I just had to remember the MySQL root password which 
was asked during the MySQL Debian package installation. If you choose to take 
the default password proposed by setup-kolab the setup will fail because of no 
access to the DB. Maybe there should be a hint in the documentation or in the 
output of setup-kolab

== First login ==
The first login did not work. I always got an error message. After some 
logfile analysis I enabled mod_rewrite. After that, the login to the webadmin 
was working. Maybe the package "kolab-webadmin" should enable mod_rewrite 
during it's installation. I'm not shure if you just could run "a2enmod 
rewrite" in the post-install script.

== Creating a Mailbox ==
Everything looked good in the webinterface, but running "kolab list-mailboxes" 
gives me the following error:
pykolab.imap WARNING Could not connect to Cyrus IMAP server 
'imaps://localhost:993'

Checking if Cyrus is running and listening:
netstat -naput | grep 993
tcp        0      0 0.0.0.0:993             0.0.0.0:*               LISTEN      
4433/cyrus-master
tcp6       0      0 :::993                  :::*                    LISTEN      
4433/cyrus-master

Checking /var/log/syslog:
imaps[4462]: accepted connection
master[12202]: about to exec /usr/lib/cyrus-imapd/imapd
imaps[4462]: TLS server engine: cannot load CA data
imaps[4462]: unable to get certificate from '/etc/pki/cyrus-imapd/cyrus-
imapd.pem'
imaps[4462]: TLS server engine: cannot load cert/key data
imaps[4462]: error initializing TLS
imaps[4462]: Fatal error: tls_init() failed
imaps[12202]: executed
master[4433]: process 4462 exited, status 75
master[4433]: service imaps pid 4462 in BUSY state: terminated abnormally

And more errors:
postfix/smtpd[11864]: warning: cannot get RSA certificate from file 
/etc/pki/tls/private/localhost.pem: disabling TLS support
postfix/smtpd[11864]: warning: TLS library problem: 
11864:error:02001002:system library:fopen:No such file or 
directory:bss_file.c:398:fopen('/etc/pki/tls/private/localhost.pem','r'):
postfix/smtpd[11864]: warning: TLS library problem: 11864:error:20074002:BIO 
routines:FILE_CTRL:system lib:bss_file.c:400:
postfix/smtpd[11864]: warning: TLS library problem: 11864:error:140DC002:SSL 
routines:SSL_CTX_use_certificate_chain_file:system lib:ssl_rsa.c:722:

Many times:
IOERROR: opening /var/lib/imap/user_deny.db: No such file or directory

So it looks like there is something wrong with the certificates.

Cheers,
Tobias
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.