kolabd configuration fails: SSL certificate is not generated, apache unable to start

Bug #694539 reported by FriedChicken
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
kolabd (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: kolabd

dpkg configuration (I guess it's the "bootstrap -b"-script) of Kolab fails because of missing certificate:

> kolabd (2.2.4-20100624-4ubuntu1) wird eingerichtet ...
> Lege Systembenutzer »kolab« (UID 115) an ...
> Lege neue Gruppe »kolab« (GID 124) an ...
> Lege neuen Benutzer »kolab« (UID 115) mit Gruppe »kolab« an ...
> Erstelle Home-Verzeichnis »/var/lib/kolab« nicht.
> Füge Benutzer »postfix« der Gruppe »sasl« hinzu ...
> Adding user postfix to group sasl
> Fertig.
> Füge Benutzer »cyrus« der Gruppe »kolab« hinzu ...
> Adding user cyrus to group kolab
> Fertig.
> Syntax error on line 17 of /etc/apache2/sites-enabled/kolab:
> SSLCertificateFile: file '/etc/kolab/cert.pem' does not exist or is empty
> Action 'configtest' failed.
> The Apache error log may have more information.
> ...fail!
> invoke-rc.d: initscript apache2, action "force-reload" failed.
> * Starting Kolab server kolabd [ OK ]

After that whole apache is unable to start:

> $ sudo /etc/init.d/apache2 stop
> * Stopping web server apache2
> * The apache2 configtest failed, so we are trying to kill it manually. This is
> almost certainly suboptimal, so please make sure your system is working
> as you'd expect now!
> ... waiting [ OK ]
>
> $ sudo /etc/init.d/apache2 start
> * Starting web server apache2
> Syntax error on line 17 of /etc/apache2/sites-enabled/kolab:
> SSLCertificateFile: file '/etc/kolab/cert.pem' does not exist or is empty
> Action 'start' failed.
> The Apache error log may have more information.
> [fail]

Besides: Although kolabd claims to be started it seems to not be running:
> sudo /etc/init.d/kolabd start
> * Starting Kolab server kolabd [ OK ]
>
> $ sudo ps -A | grep kolab
> $ [nothing]
>
> $ sudo /etc/init.d/kolabd stop
> * Stopping Kolab server kolabd
> start-stop-daemon: warning: failed to kill 7546: No such process
> [ OK ]

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: kolabd 2.2.4-20100624-4ubuntu1
ProcVersionSignature: Ubuntu 2.6.37-11.25-generic 2.6.37-rc7
Uname: Linux 2.6.37-11-generic x86_64
Architecture: amd64
Date: Sun Dec 26 18:38:54 2010
InstallationMedia: Kubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20101212)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: kolabd

Revision history for this message
FriedChicken (domlyons) wrote :
summary: - kolabd configuration fails: SSL certificate is not generated
+ kolabd configuration fails: SSL certificate is not generated, apache
+ unable to start
Revision history for this message
FriedChicken (domlyons) wrote :
Revision history for this message
FriedChicken (domlyons) wrote :

Workaround to get Apache running again (http://wiki.kolab.org/Kolab2_Maintenance_and_Use#Install_a_SSL_Certificate ):
     $ kolab_sslcert

This is not enough to get a fully working kolabd, but Apache is able to start again!

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in kolabd (Ubuntu):
status: New → Confirmed
Revision history for this message
Bayo Lekan (bayol) wrote :

Hello friends i am having the same problem starting apache after installing kolab on my debain please i need your advice on what to do thanx. this is the error i got starting apache:

root@mailserver:~# /etc/init.d/apache2 restart
Restarting web server: apache2Action 'start' failed.
The Apache error log may have more information.
 failed!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.