Fehler import_user
Hallo Liste , bei dem Import von Benutzern durch eine Textdatei , kommt es nach einigen Einträgen zu einem Fehler (ja , ich hab gestern ein Update gemacht sowie die idletime von LDAP-Verbindungen auf 10 Sec gesetzt). Auf dem Webinterface erscheint : ------------------------------------------------------------------------------------------ OK The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, mailadmin and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. --------------------------------------------------------------------------------------- Also schau ich in die /var/log/httpd/errorlog und finde folgendes: <SNIP> cat: /var/adm/updates/do_update_release: No such file or directory [Fri Apr 30 08:50:00 2004] [error] Can't call method "get_value" on an undefined value at /srv/www/lib/func/import_user.pm line 906. <SNAP> Hm... Also versuch ich mal mein Glück im Modul import_user.pm und find dort : <SNIP> # Nun ist jetzt addressbuch dran: $mesg = $ldap->search( base => $ldapbase, scope => 'sub', filter => "uid=$uid", attrs => ['uidNumber']); my $uidNumber = $mesg->entry(0)->get_value('uidNumber'); <SNAP> liegt also anscheinend immernoch an der Verbindung zum LDAP-Server. Hat jemand ähnliche Probleme oder gar eine Idee um Abhilfe zu schaffen ? Danke im voraus.
Am Freitag, 30. April 2004 09:17 schrieb Patrick Machauer:
Hallo Liste , bei dem Import von Benutzern durch eine Textdatei , kommt es nach einigen Einträgen zu einem Fehler (ja , ich hab gestern ein Update gemacht sowie die idletime von LDAP-Verbindungen auf 10 Sec gesetzt).
Fehler ist bekannt, wird bald behoben.
Auf dem Webinterface erscheint :
--------------------------------------------------------------------------- ---------------
OK
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, mailadmin and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
--------------------------------------------------------------------------- ------------
Also schau ich in die /var/log/httpd/errorlog und finde folgendes:
<SNIP> cat: /var/adm/updates/do_update_release: No such file or directory [Fri Apr 30 08:50:00 2004] [error] Can't call method "get_value" on an undefined value at /srv/www/lib/func/import_user.pm line 906. <SNAP>
Hm...
Also versuch ich mal mein Glück im Modul import_user.pm und find dort :
<SNIP> # Nun ist jetzt addressbuch dran: $mesg = $ldap->search( base => $ldapbase, scope => 'sub', filter => "uid=$uid", attrs => ['uidNumber']); my $uidNumber = $mesg->entry(0)->get_value('uidNumber'); <SNAP>
liegt also anscheinend immernoch an der Verbindung zum LDAP-Server.
Hat jemand ähnliche Probleme oder gar eine Idee um Abhilfe zu schaffen ? Danke im voraus.
-- ----------------------------------- P�ter Varkoly -o) SuSE Linux AG /\\ e-mail: Peter.Varkoly@suse.de _\_/ Tel.: +49-911-74053484 Mobil.: +49-179-1277635 -----------------------------------
participants (2)
-
Patrick Machauer
-
Peter Varkoly