[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: CipUX, cipux_setup_ldap schlägt fehl



Hallo Hannes,
die Entwicklung und Verbesserung von CipUX/CAT ist dieses Wochenende
vorangeschritten.
Es gibt mehrere Schulen, die diese Nutzerverwaltung einsetzen.
Allerdings nicht als Debian Paket. 
Die jetztige Version 3.2.5-1 wurde veroeffentlicht, weil 2 Projkte
bis Ende August eine neue Benutzerverwaltung brauchen. Da wird
es in den naechsten 2 Wochen einige Aenderungen geben, die zum einen
auf die Debianisierung und zum anderen durch die Erweiterungen
(neue Features) zurueckzufuehren sein werden. In dem Moment, in
dem ich dieses schreibe sitzt z.B. Thierry Bock im Testzentrum um
die franzoesische Uebersetzung zu schreiben.
On Mon, Aug 22, 2005 at 11:59:19AM +0200, Hannes Kunstreich wrote:
> Moin Liste,
> 
> ich bin mittlerweile dazu übergegangen die prerelease05 zu testen,  
> u.a. gerade den Thin Client Server.
> Da mir nahe gelegt wurde mal die neue Nutzerverwaltung (cipux)  
> anzutesten habe ich dies getan, der Anleitung im wiki folgend. Leider  
> schlägt das Script 'cipux_setup_ldap' fehl.
> 
> Hier mal die Ausgabe:
> 
> #################################################################
> tjener:~# cipux_setup_ldap
> ======================================================================== 
> ====
> migrates Skolelinux (sarge)  Machines  from
> ou=Machines,ou=People,dc=skole,dc=skolelinux,dc=no
>                      to
> ou=Machines,dc=skole,dc=skolelinux,dc=no
> ======================================================================== 
> ====
> No such object (32)
> Matched DN: ou=People,dc=skole,dc=skolelinux,dc=no
> ======================================================================== 
> ====
> add ou=CipUX,dc=skole,dc=skolelinux,dc=no
> ======================================================================== 
> ====
> adding new entry "ou=CipUX,dc=skole,dc=skolelinux,dc=no"
> ldap_add: Already exists (68)
Entweder hast du Version >= 3.2.4 getestet oder du hast das Skript 2x
gestartet. (Vermute ich mal)
> 
> log dir exists ...
> delete wlus objects jradmins (if it is there, just to be save)
> Can't locate Quota.pm in @INC (@INC contains: /etc/perl /usr/local/ 
Danke, der Fehler ist gefunden. In der naechsten Version 3.2.6 wird
die Abhaengigkeit vom Quotamodul wieder enhalten sein.
> lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/ 
> perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/ 
> site_perl .) at /usr/share/perl5/CipUX/CiBot.pm line 16.
> BEGIN failed--compilation aborted at /usr/share/perl5/CipUX/CiBot.pm  
> line 16.
> Compilation failed in require at /usr/bin/cipux_del line 91.
> BEGIN failed--compilation aborted at /usr/bin/cipux_del line 91.
> Can't locate Quota.pm in @INC (@INC contains: /etc/perl /usr/local/ 
> lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/ 
> perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/ 
> site_perl .) at /usr/share/perl5/CipUX/CiBot.pm line 16.
> BEGIN failed--compilation aborted at /usr/share/perl5/CipUX/CiBot.pm  
> line 16.
> Compilation failed in require at /usr/bin/cipux_del line 91.
> BEGIN failed--compilation aborted at /usr/bin/cipux_del line 91.
> 
> ---usw---
> #################################################################
> 
> Ich habe dann mal ganz doof einfach die Zeile 16 in /usr/share/perl5/ 
> CipUX/CiBot.pm ausgeklammer, woraufhin 'cipux_setup_ldap' durchläuft,  
> 'cipux_maint_diagnostic' aber folgendes ausgibt:
> 
> #################################################################
> tjener:/usr/share/perl5/CipUX# cipux_maint_diagnostic
> 1..12
> # Running under perl version 5.008004 for linux
> # Current time local: Mon Aug 22 11:56:15 2005
> # Current time GMT:   Mon Aug 22 09:56:15 2005
> # Using Test.pm version 1.24
> # This script will test the CipUX installation.
> # If somthing is not ok, follow the instruction in brackets: [...] if  
> any
> #
> #
> # exsists /etc/cipux? => ok 1
> # /etc/cipux has the mode 0750, is this equal to 750? =>ok 2
> # exsists /var/log/cipux? => ok 3
> # /var/log/cipux has the mode 0750, is this equal to 750? =>ok 4
> # exists  /etc/cipux/cipux.conf? => ok 5
> # is it readable? => ok 6
> # is the Ldap_Password set? => ok 7
> # existse /etc/ldap/schema/cipux.schema? => ok 8
> # is the cipux.schema in slapd.conf included? => ok 9
> # is the LDAP server running? => ok 10
> # do the module CipUX::CiBot load without warnings? =>
> # ERROR: Can't locate Quota.pm in @INC (@INC contains: /etc/perl /usr/ 
> local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/ 
> share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/ 
> site_perl .) at /usr/share/perl5/CipUX/CiBot.pm line 16.
> BEGIN failed--compilation aborted at /usr/share/perl5/CipUX/CiBot.pm  
> line 16.
> Compilation failed in require at -e line 1.
> BEGIN failed--compilation aborted at -e line 1.
libquota-perl ist nicht installiert, daher der Fehler. Loesung siehe
oben.
> not ok 11
> # Failed test 11 in /usr/bin/cipux_maint_diagnostic at line 71
> #  /usr/bin/cipux_maint_diagnostic line 71 is:  ok($load eq ""); #  
> [install a new version of the module!]
> # do the module CipUX::Task load without warnings? => ok 12
> # do the module CipUX::Conversion load without warnings? => ok 13
> # do the module CipUX::Cat load without warnings? =>
> # ERROR: Can't locate Quota.pm in @INC (@INC contains: /etc/perl /usr/ 
> local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/ 
> share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/ 
> site_perl .) at /usr/share/perl5/CipUX/Cat.pm line 20.
> BEGIN failed--compilation aborted at /usr/share/perl5/CipUX/Cat.pm  
> line 20.
> Compilation failed in require at -e line 1.
> BEGIN failed--compilation aborted at -e line 1.
s.o. (der Rest sind Folgefehler)
> not ok 14
> # Failed test 14 in /usr/bin/cipux_maint_diagnostic at line 71 fail #4
> # do the CipUX::CiBot module load with require at once? => not ok 15
> # Failed test 15 in /usr/bin/cipux_maint_diagnostic at line 75
> #  /usr/bin/cipux_maint_diagnostic line 75 is: ok(eval("require  
> CipUX::CiBot;")); # [please install an new version of cipux-cibot!]
> # do the CipUX::Cat module load with require at once? => not ok 16
> # Failed test 16 in /usr/bin/cipux_maint_diagnostic at line 78
> #  /usr/bin/cipux_maint_diagnostic line 78 is: ok(eval("require  
> CipUX::Cat;")); # [please install an new version of cipux-cat-webmin!]
> # do the CipUX::Task module load with require at once? => ok 17
> # do the CipUX::Conversion module load with require at once? => ok 18
> # is the cipux_task_list_users script installed? => ok 19
> # is the cipux_task_list_users script executable? => ok 20
> # get we some ouput? => Can't locate Quota.pm in @INC (@INC  
> contains: /etc/perl /usr/local/lib/perl/5.8.4 /usr/local/share/perl/ 
> 5.8.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/ 
> perl/5.8 /usr/local/lib/site_perl .) at /usr/share/perl5/CipUX/ 
> CiBot.pm line 16.
> BEGIN failed--compilation aborted at /usr/share/perl5/CipUX/CiBot.pm  
> line 16.
> Compilation failed in require at /usr/bin/cipux_get_value line 135.
> BEGIN failed--compilation aborted at /usr/bin/cipux_get_value line 135.
> not ok 21
> # Failed test 21 in /usr/bin/cipux_maint_diagnostic at line 94
> #  /usr/bin/cipux_maint_diagnostic line 94 is: ok($#userlist > 0);
> # is the cipux_task_list_courses script installed? => ok 22
> # is the cipux_task_list_courses script executable? => ok 23
> # is the cipux_task_list_roles script installed? => ok 24
> # is the cipux_task_list_roles script executable? => ok 25
> # get we some ouput? => Can't locate Quota.pm in @INC (@INC  
> contains: /etc/perl /usr/local/lib/perl/5.8.4 /usr/local/share/perl/ 
> 5.8.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/ 
> perl/5.8 /usr/local/lib/site_perl .) at /usr/share/perl5/CipUX/ 
> CiBot.pm line 16.
> BEGIN failed--compilation aborted at /usr/share/perl5/CipUX/CiBot.pm  
> line 16.
> Compilation failed in require at /usr/bin/cipux_get_value line 135.
> BEGIN failed--compilation aborted at /usr/bin/cipux_get_value line 135.
> not ok 26
> # Failed test 26 in /usr/bin/cipux_maint_diagnostic at line 132
> #  /usr/bin/cipux_maint_diagnostic line 132 is: ok($#roleslist > 0);
> # is the user object cipadmin  there? => not ok 27
> # Failed test 27 in /usr/bin/cipux_maint_diagnostic at line 142
> #  /usr/bin/cipux_maint_diagnostic line 142 is: ok($userlist 
> {cipadmin}); # [please run cipux_setup_ldap_objects!]
> # is the role object teacher   there? => not ok 28
> # Failed test 28 in /usr/bin/cipux_maint_diagnostic at line 145
> #  /usr/bin/cipux_maint_diagnostic line 145 is: ok($roleslist 
> {teacher}); # [please run cipux_setup_ldap_objects!]
> # is the role object student   there? => not ok 29
> # Failed test 29 in /usr/bin/cipux_maint_diagnostic at line 148
> #  /usr/bin/cipux_maint_diagnostic line 148 is: ok($roleslist 
> {student}); # [please run cipux_setup_ldap_objects!]
> # is the role object guest     there? => not ok 30
> # Failed test 30 in /usr/bin/cipux_maint_diagnostic at line 151
> #  /usr/bin/cipux_maint_diagnostic line 151 is: ok($roleslist 
> {guest}); # [please run cipux_setup_ldap_objects!]
> # is the role object examinee  there? => not ok 31
> # Failed test 31 in /usr/bin/cipux_maint_diagnostic at line 154
> #  /usr/bin/cipux_maint_diagnostic line 154 is: ok($roleslist 
> {examinee}); # [please run cipux_setup_ldap_objects!]
> # is the CipUX Configuration there? => Can't locate Quota.pm in @INC  
> (@INC contains: /etc/perl /usr/local/lib/perl/5.8.4 /usr/local/share/ 
> perl/5.8.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/ 
> share/perl/5.8 /usr/local/lib/site_perl .) at /usr/share/perl5/CipUX/ 
> CiBot.pm line 16.
> BEGIN failed--compilation aborted at /usr/share/perl5/CipUX/CiBot.pm  
> line 16.
> Compilation failed in require at /usr/bin/cipux_get_value line 135.
> BEGIN failed--compilation aborted at /usr/bin/cipux_get_value line 135.
> not ok 32
> # Failed test 32 in /usr/bin/cipux_maint_diagnostic at line 160
> #  /usr/bin/cipux_maint_diagnostic line 160 is: ok($cipux_producer eq  
> "www.cipworx.org");# [The CipUX Configuration LDAP nodes are missing!]
> tjener:/usr/share/perl5/CipUX#
> #################################################################
> 
> Ideen?
Ja, installiere heute nachmittag 3.2.6-1,  das ich gerade baue.
 Es gibt 2 CAT Module, an denen ich heute und morgen arbeite:
 import.cgi und examadmin.cgi. (diese funktionieren nicht)
Danke fuer deine Tests!
Gruss
Christian


Reply to: