[Kolab-devel] Maybe Common Freebsd bootstrapping error

Alexander Ehlers aeli at gmx.de
Sat Aug 28 12:49:26 CEST 2004


Hi
this is just the shell-Output form boostrapping  kolab2-20040817 on Freebsd.
I tested this on 4 different computers  with 3 different worlds and it seems 
to be commen and (for me) non critical.

Bernhart Herzog slave-setup-errors are present as well.

on all systems "hostname -f" in  /kolab/etc/kolab/kolab_boostrap 
and /Kolab/etc/kolab/kolab_sslcert.sh was changed to 'hostname' before 
bootstrapping


Request is in /kolab/etc/kolab/newreq.pem and private key is 
in /kolab/etc/kolab/key.pem
/kolab/etc/kolab/kolab_ca.sh 
-sign /kolab/etc/kolab/newreq.pem /kolab/etc/kolab/cert.pem
Using dn
Using configuration from /kolab/etc/kolab/kolab-ssl.cnf
Error opening CA private key /kolab/etc/kolab/ca/private/cakey.pem
81026:error:02001002:system library:fopen:No such file or 
directory:bss_file.c:276:fopen('/kolab/etc/kolab/ca/private/cakey.pem','r')
81026:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:278:
unable to load CA private key
/kolab/etc/kolab/kolab_ca.sh: line 273: 81026 Segmentation fault      (core 
dumped) $CA -policy policy_anything -out ${outfile} -infiles ${infile}
Signed certificate is in /kolab/etc/kolab/cert.pem
chgrp kolab-r /kolab/etc/kolab/key.pem;
chmod 0640 /kolab/etc/kolab/key.pem;
chgrp kolab-r /kolab/etc/kolab/cert.pem;
chgrp: /kolab/etc/kolab/cert.pem: No such file or directory
chmod 0640 /kolab/etc/kolab/cert.pem;
chmod: /kolab/etc/kolab/cert.pem: No such file or directory
################################################################################
CA and certificate creation complete.


# /kolab/bin/openpkg rc all start
OpenPKG: start: openpkg, openldap, sasl, spamassassin, amavisd, apache:FAILED
openpkg:rc:WARNING: /kolab:apache:%start: failed with return code 1
openpkg:rc:NOTICE: output from stdout/stderr is following:
+----------------------------------------------------------------------
| Syntax error on line 34 of /kolab/etc/apache/apache.conf:
| SSLCertificateFile: file '/kolab/etc/kolab/cert.pem' not exists or empty
| /tmp/rc-20040828114329-81035/rc.tmp: line 168: return: can only `return' 
from a function or sourced script
+----------------------------------------------------------------------
OpenPKG: start: clamav, imapd, postfix, proftpd, kolab.

# /kolab/bin/openpkg rc all stop
OpenPKG: stop: openldap, sasl, spamassassin, amavisd, apache, clamav, imapd
OpenPKG: stop: postfix, proftpd, kolab.

# /kolab/etc/kolab/kolab_sslcert.sh
generate self-signed certificate for hostname ...
 done
New certificate has been installed under /kolab/etc/kolab/

# /kolab/bin/openpkg rc all start
OpenPKG: start: openpkg, openldap, sasl, spamassassin, amavisd, apache, clamav
OpenPKG: start: imapd, postfix, proftpd, kolab.

I just wanted to metion this

regards 
  yours Alexander




More information about the devel mailing list