[Kolab-devel] kolab_bootstrap fails on a fresh installed system

Richard Bos ml at radoeka.nl
Mon Dec 28 21:39:12 CET 2009


Hi,

'kolab_bootstrap -b' fails with the following error:

IMPORTANT NOTE:
use login=manager and passwd=xxxxx when you log into the webinterface!

Enter fully qualified hostname of slave kolab server e.g. thishost.domain.tld (empty when done): 
prepare LDAP database...                                                                         
DEBUG: tpl = /etc/kolab/templates/slapd.access.template.in                                       
Use of uninitialized value $cfg in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.10.0/Kolab/Conf.pm line 622, <TEMPLATE> line 3978.                                                                                                                       
DEBUG: cfg =                                                                                                                        
Use of uninitialized value $cfg in hash element at /usr/lib/perl5/vendor_perl/5.10.0/Kolab/Conf.pm line 623, <TEMPLATE> line 3978.  
Use of uninitialized value $cfg in hash element at /usr/lib/perl5/vendor_perl/5.10.0/Kolab/Conf.pm line 623, <TEMPLATE> line 3978.  
Use of uninitialized value $cfg in hash element at /usr/lib/perl5/vendor_perl/5.10.0/Kolab/Conf.pm line 623, <TEMPLATE> line 3978.  
Use of uninitialized value in scalar assignment at /usr/lib/perl5/vendor_perl/5.10.0/Kolab/Conf.pm line 119, <TEMPLATE> line 3978.  

I added the "DEBUG:" statements.

This is in the following part of the code:
615     # defaults to all templates
616     $args{templates} = [ keys %templates ] if !exists $args{templates};
617     my $cfg;
618     my $tpl;
619     foreach $tpl (@{$args{templates}}) {
620         $cfg = $templates{$tpl};
621 print "DEBUG: tpl = $tpl\n";
622 print "DEBUG: cfg = $cfg\n";
623         build($tpl, $cfg, $ownership{$cfg}, $permissions{$cfg}, $commentchar{$cfg});
624      }

The function is called with:
477       Kolab::Conf::rebuildTemplates(
478             dorunonchange =>0,
479             templates => [
480               "$templatedir/slapd.access.template.in",
481               "$templatedir/slapd.conf.template.in",
482               "$templatedir/slapd.replicas.template.in"
483             ],
484         );

Any idea what is wrong?

This is on native openSUSE, where I removed the previously installed rpms and
re-installed the packages fresh from the repository.

-- 
Richard




More information about the devel mailing list