AW: obmtool kolab_bootstrap -b errors
ComCept Net GmbH Soliva
soliva at comcept.ch
Wed Aug 11 22:51:35 CEST 2004
Hi
Thanks for answer but I'm giving up after 4 weeks because kolab is something
for Linux but NOT for Solaris. Anyway here my comment to your request:
- /dev/random and urandom is default installed on our system because of
openssl. For Your information if you need in the future this devices you
just have to install following patch:
Patch-ID# 112438-01
Datafile: 112438-01.zip
Keywords: secuity random number generator PRNG
Synopsis: SunOS 5.8: /kernel/drv/random patch
Date: Mar/28/2002
BugId's fixed with this patch: 4337350
Download von: http://www.sun.com
mkdir /var/spool/patch
cp 112438-01.zip /var/spool/patch
cd /var/spool/patch
unzip 112438-01.zip
patchadd /var/spool/patch/112438-01
Checking installed patches...
Verifying sufficient filesystem capacity (dry run method)...
Installing patch packages...
Patch number 112438-01 has been successfully installed.
See /var/sadm/patch/112438-01/log for details
Executing postpatch script...
Reboot client to install driver.
Patch packages installed:
SUNWcarx
SUNWcsr
SUNWhea
- In the binary /kolab/bin/openssl there is a bug it means I would say the
same as to the other errors NOT for SOLARIS or not compatible. The bug is in
line 1 ')"
My comment is clear...! Openpackage is a good idea to solve the problems
overall compatibility to other OS but that is not all...! If you would solve
the problem overall you should/could/must not use commands and scripts which
are only running on Linux etc. like diff -q. It means do not use bash or
what else use clear native shell like bourneshell. I now that scripting in
clear native shell is not even easy like perl but is compatible overall os.
Another way would be to set the correct intepreter in a way all script are
using this interpreter etc. Another comment is that it is not nice to not
include in /kolab/bin/perl the option -w .......troubleshooting will be very
difficult!!!! Finaly the solution with OpenPKG is a good idea but will bring
nothing if the scripts are proprietary based on Linux or what else......!
Sorry but this is my opinion...! By and good look with your project kolab.
Andrea
-----Ursprüngliche Nachricht-----
Von: kolab-users-bounces at kolab.org [mailto:kolab-users-bounces at kolab.org] Im
Auftrag von Stephan Buys
Gesendet: Mittwoch, 11. August 2004 12:11
An: kolab-users at kolab.org
Betreff: Re: obmtool kolab_bootstrap -b errors
Ok, there are a couple of issue that need to be resolved before Kolab
will bootstrap on Solaris 8.
1) Solaris 8 does not have: /dev/random, /dev/urandom
Run the following (executed as a part of kolab_sslcert.sh) and check the
error, there is a tip on where to go and find help in the error message. It
will
require the download of a patch from Sun and a restart of your machine to
get those devices working.
/kolab/bin/openssl req -new -x509 -outform PEM -keyform PEM -nodes \
-days 3650 -out cert.pem -keyout key.pem
\
-config tmp.req.cnf
2) As to the diff issues:
Edit /kolab/lib/perl/vendor_perl/5.8.3/Kolab/Conf.pm
Then try to run the bootstrap again.
Regards,
--
Stephan Buys
Code Fusion cc.
Tel: +27 11 391 1412
Mobile: +27 83 294 1876
Email: s.buys at codefusion.co.za
E-mail Solutions, Kolab Specialists.
http://www.codefusion.co.za
On lines 210, 271, 339 just remove the -q switch from the diff command.
On Wednesday 11 August 2004 00:07, ComCept Net GmbH Soliva wrote:
> Ok I did it again with more troubleshooting focus and there is something
> funny:
>
> As somebody mentioned the kolab_bootstrap is a perl is OK but there are
> shell erros it means diff has nothing to do with perl and is a shell
> command. If I set the perl -w variable in the kolab_bootstrap script there
> are not more errors as in the beginning and two more notes about openldap:
>
>
> "my" variable $tmp masks earlier declaration in same scope at
> /kolab/etc/kolab/kolab_bootstrap line 65, <DATA> line 225.
> \1 better written as $1 at /kolab/etc/kolab/kolab_bootstrap line 291,
<DATA>
> line 225.
>
> KOLAB BOOTSTRAP
>
> Please enter Hostname [proteus]:
> proceeding with Hostname proteus
> Please enter your Maildomain [proteus]:comcept.ch
> proceeding with Maildomain comcept.ch
> Generating default configuration:
> base_dn : dc=proteus
> bind_dn : cn=manager,dc=proteus
> Please choose a manager password [Zssjkj8en0odY]:XXXXXXXX
> bind_pw : XXXXXXXX
> done modifying /kolab/etc/kolab/kolab.conf
>
> IMPORTANT NOTE:
> use login=manager and passwd=265097as when you log into the webinterface!
>
> prepare LDAP database...
> kill running slapd (if any)
> OpenPKG: stop: openldap.
> OpenPKG: stop: openldap.
> temporarily start slapd
> Argument "exact" isn't numeric in addition (+) at
> /kolab/lib/perl/vendor_perl/5.8.4/Net/LDAP.pm line 405, <DATA> line 283.
> no dc=proteus object found, creating one
> Argument "exact" isn't numeric in addition (+) at
> /kolab/lib/perl/vendor_perl/5.8.4/Net/LDAP.pm line 405, <DATA> line 283.
> no kolab config object in ldap, generating a reasonable default
> mynetworkinterfaces: 127.0.0.0/8
> LDAP setup finished
>
> Create initial config files for postfix, apache, proftpd, cyrus imap,
> saslauthd
> running /kolab/etc/kolab/kolab -v -o -lldap://127.0.0.1:389/
> NOTE: USE OF THIS SCRIPT IS DEPRECATED. Please use `/kolab/sbin/kolabconf'
> in the future.
> kolabconf - Kolab Configuration Generator
>
> Copyright (c) 2003 Code Fusion cc
> Copyright (c) 2003 Tassilo Erlewein, Martin Konold, Achim Frank
>
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
> postmap: fatal: unsupported map type: dbm
> diff: illegal option -- q
> usage: diff [-bitw] [-c | -e | -f | -h | -n] file1 file2
> diff [-bitw] [-C number] file1 file2
> diff [-bitw] [-D string] file1 file2
> diff [-bitw] [-c | -e | -f | -h | -n] [-l] [-r] [-s] [-S name]
> directory1 directory2
> diff: illegal option -- q
> usage: diff [-bitw] [-c | -e | -f | -h | -n] file1 file2
> diff [-bitw] [-C number] file1 file2
> diff [-bitw] [-D string] file1 file2
> diff [-bitw] [-c | -e | -f | -h | -n] [-l] [-r] [-s] [-S name]
> directory1 directory2
> OpenPKG: restart: openldap.
> OpenPKG: stop: sasl.
> /kolab/sbin/apachectl graceful: httpd not running, trying to start
> Syntax error on line 25 of /kolab/etc/apache/apache.conf:
> SSLCertificateFile: file '/kolab/etc/kolab/cert.pem' not exists or empty
> /kolab/sbin/apachectl graceful: httpd could not be started
> postfix/postfix-script: fatal: the Postfix mail system is not running
> OpenPKG: restart: imapd.
> OpenPKG: stop: proftpd.
>
> kill temporary slapd
>
> OpenPKG: stop: openldap.
> -n generate self-signed certificate for hostname proteus...
> done
> /kolab/etc/kolab/kolab_sslcert.sh: -: does not exist
> kolab should now be ready to run
> please run '/kolab/etc/rc all start'
>
>
> This script is not working correct!
>
> Andrea
>
> _______________________________________________
> Kolab-users mailing list
> Kolab-users at kolab.org
> https://kolab.org/mailman/listinfo/kolab-users
>
>
>
_______________________________________________
Kolab-users mailing list
Kolab-users at kolab.org
https://kolab.org/mailman/listinfo/kolab-users
More information about the users
mailing list