[Kolab-devel] Installation on Wheezy - Experiences
Tilman Krösche
tilman.kroesche at namlit.eu
Tue Nov 6 11:27:46 CET 2012
Hi,
i fixed the error with the cyrus-certificates by generating my own ones
and adapt the paths in /etc/imapd.conf (also in main.cf for postfix).
Seems like the whole pki folder is missing. After executing "kolab
list-mailboxes" i get the following error from syslog.
Nov 6 11:09:29 mail imaps[6515]: accepted connection
Nov 6 11:09:29 mail master[6531]: about to exec /usr/lib/cyrus-imapd/imapd
Nov 6 11:09:29 mail imaps[6531]: executed
Nov 6 11:09:29 mail imaps[6531]: IOERROR: opening
/var/lib/imap/user_deny.db: No such file or directory
Nov 6 11:09:29 mail imaps[6515]: skiplist: checkpointed
/var/lib/imap/tls_sessions.db (0 records, 144 bytes) in 0 seconds
Nov 6 11:09:29 mail imaps[6515]: TLS server engine: cannot load CA data
Nov 6 11:09:29 mail imaps[6515]: imapd:Loading hard-coded DH parameters
Nov 6 11:09:29 mail imaps[6515]: SSL_accept() incomplete -> wait
Nov 6 11:09:29 mail imaps[6515]: SSL_accept() succeeded -> done
Nov 6 11:09:29 mail imaps[6515]: starttls: TLSv1.2 with cipher
DHE-RSA-AES256-GCM-SHA384 (256/256 bits new) no authentication
Nov 6 11:09:29 mail imaps[6515]: ptload(): pinging ptloader
Nov 6 11:09:29 mail imaps[6515]: ptload(): can't connect to ptloader
server: No such file or directory
Nov 6 11:09:29 mail imaps[6515]: No data available at all from ptload()
Nov 6 11:09:29 mail imaps[6515]: ptload completely failed: unable to
canonify identifier: cyrus-admin
Nov 6 11:09:29 mail imaps[6515]: badlogin: localhost [::1] plaintext
cyrus-admin invalid user
Greetings,
Tilman Krösche
> 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
>
> _______________________________________________
> Kolab-devel mailing list
> Kolab-devel at kolab.org
> https://www.intevation.de/mailman/listinfo/kolab-devel
More information about the devel
mailing list