From: rettenbe Date: Fri, 1 Aug 2008 09:26:11 +0000 (+0000) Subject: update gosa-si-server: more debug infos in case of non-valid outgoing messages X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c4df9b8cff047d3f54696dd48014cd8a4476a41e;p=gosa.git update gosa-si-server: more debug infos in case of non-valid outgoing messages git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12092 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-si/gosa-si-server b/gosa-si/gosa-si-server index 48260797f..0b895da7d 100755 --- a/gosa-si/gosa-si-server +++ b/gosa-si/gosa-si-server @@ -625,7 +625,7 @@ sub check_outgoing_xml_validity { } }; if($@) { - daemon_log("$session_id ERROR: outgoing msg is not gosa-si envelope conform: ", 1); + daemon_log("$session_id ERROR: outgoing msg is not gosa-si envelope conform: $@", 1); daemon_log("$@ ".(defined($msg) && length($msg)>0)?$msg:"Empty Message", 1); $msg_hash = undef; } diff --git a/gosa-si/server/events/clMessages.pm b/gosa-si/server/events/clMessages.pm index c5dc787c5..3a77ea982 100644 --- a/gosa-si/server/events/clMessages.pm +++ b/gosa-si/server/events/clMessages.pm @@ -444,14 +444,7 @@ sub TASKBEGIN { if ($err != 0) { &main::daemon_log("$session_id ERROR: cannot add entry to job_db: $error_str", 1); } - } - -# -----------------------> Update hier -# finish -#
CLMSG_TASKBEGIN
-# macaddress auslesen, Client im LDAP lokalisieren -# FAIstate auf "localboot" setzen, wenn FAIstate "install" oder "softupdate" war } return; @@ -518,12 +511,6 @@ sub TASKERROR { my $res = $main::job_db->update_dbentry($sql_statement); &main::daemon_log("$session_id INFO: $header at '$macaddress' - '$content'", 5); -# -----------------------> Update hier -# finish -#
CLMSG_TASKBEGIN
-# macaddress auslesen, Client im LDAP lokalisieren -# FAIstate auf "error" setzen - return; } @@ -551,5 +538,73 @@ sub HOOK { return; } +=pod + +=head1 NAME + +clMessages - Implementation of a GOsa-SI event module for GOsa-SI-server. + +=head1 SYNOPSIS + + use GOSA::GosaSupportDaemon; + use MIME::Base64; + +=head1 DESCRIPTION + +This GOsa-SI event module containing all functions to handle messages coming from GOsa-SI-clients. + +This module will be automatically imported by GOsa-SI if it is under FPACKAGEMODULEE/> . + +=head1 METHODS + +=over 4 + +=item get_events ( ) + +=item confirm_usr_msg ( ) + +=item PROGRESS ( ) + +=item FAIREBOOT ( ) + +=item TASKSKIP ( ) + +=item TASKBEGIN ( ) + +=item TASKEND ( ) + +=item TASKERROR ( ) + +=item HOOK ( ) + +=item GOTOACTIVATION ( ) + +=item LOGIN ( ) + +=item LOGOUT ( ) + +=item CURRENTLY_LOGGED_IN ( ) + +=item save_fai_log ( ) + +=back + +=head1 BUGS + +Please report any bugs, or post any suggestions, to the GOsa mailing list Egosa-devel@oss.gonicus.deE or to L + +=head1 COPYRIGHT + +This code is part of GOsa (L) + +Copyright (C) 2003-2008 GONICUS GmbH + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +=cut + 1; diff --git a/gosa-si/server/events/databases.pm b/gosa-si/server/events/databases.pm index 22144aee9..687050582 100644 --- a/gosa-si/server/events/databases.pm +++ b/gosa-si/server/events/databases.pm @@ -241,4 +241,69 @@ sub update_status_jobdb_entry { return @out_msg_l; } + +=pod + +=head1 NAME + +databases - Implementation of a GOsa-SI event module for GOsa-SI-server. + +=head1 SYNOPSIS + + use GOSA::GosaSupportDaemon; + +=head1 DESCRIPTION + +This GOsa-SI event module containing all functions to handle messages coming from GOsa and concerning GOsa-SI databases. + +This module will be automatically imported by GOsa-SI if it is under FPACKAGEMODULEE/> . + +=head1 METHODS + +=over 4 + +=item get_events ( ) + +=item query_jobdb ( ) + +=item count_jobdb ( ) + +=item delete_jobdb_entry ( ) + +=item clear_jobdb ( ) + +=item update_status_jobdb_entry ( ) + +=item query_packages_list ( ) + +=item count_packages_list ( ) + +=item query_fai_server ( ) + +=item count_fai_server ( ) + +=item query_fai_release ( ) + +=item count_fai_release ( ) + +=back + +=head1 BUGS + +Please report any bugs, or post any suggestions, to the GOsa mailing list Egosa-devel@oss.gonicus.deE or to L + +=head1 COPYRIGHT + +This code is part of GOsa (L) + +Copyright (C) 2003-2008 GONICUS GmbH + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +=cut + + 1;