Re: Installation on Wheezy - Experiences

"Jeroen van Meeuwen (Kolab Systems)" <[email protected]>
Newsgroups gmane.comp.kde.devel.kolab
Message-ID <dfdcb52ad18d217615ff96d8cdd001ff__32257.59660495$1352212008$gmane$org@kolabsys.com>
On 2012-11-06 07:53, Tobias Brunner wrote:
> 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 
> =) ).
>
> == 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 /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
>

I thought I had fixed the SSL certificate issue for at least Cyrus IMAP 
- could you see which version of the package you have installed, and 
whether:

   # bash /var/lib/dpkg/info/cyrus-imapd.postinst

creates /etc/ssl/private/cyrus-imapd.pem correctly?

The cyrus user should be a member of the ssl-cert group and therefore 
have access to /etc/ssl/private/.

The cyrus-imapd.pem file should be readable by the cyrus user as well.

Kind regards,

Jeroen van Meeuwen

-- 
Systems Architect, Kolab Systems AG

e: vanmeeuwen at kolabsys.com
m: +44 74 2516 3817
w: http://www.kolabsys.com

pgp: 9342 BF08
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.