summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 93a6631)
raw | patch | inline | side by side (parent: 93a6631)
author | rettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 15 Jan 2008 09:32:09 +0000 (09:32 +0000) | ||
committer | rettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 15 Jan 2008 09:32:09 +0000 (09:32 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8342 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-si/gosa-si-server | patch | blob | history |
diff --git a/gosa-si/gosa-si-server b/gosa-si/gosa-si-server
index 37833524537e8f8fc6756738997871628a6257a1..8dae9c958a0d2b9c7949426888687083c135468d 100755 (executable)
--- a/gosa-si/gosa-si-server
+++ b/gosa-si/gosa-si-server
#
# OPTIONS: ---
# REQUIREMENTS: libconfig-inifiles-perl libcrypt-rijndael-perl libxml-simple-perl
-# libipc-shareable-perl libdata-dumper-simple-perl
-# libdbd-sqlite3-perl libnet-ldap-perl
+# libdata-dumper-simple-perl libdbd-sqlite3-perl libnet-ldap-perl
# BUGS: ---
# NOTES:
# AUTHOR: (Andreas Rettenberger), <rettenberger@gonicus.de>
use Sys::Syslog qw( :DEFAULT setlogsock);
use Cwd;
use File::Spec;
-use IPC::Shareable qw( :lock);
-IPC::Shareable->clean_up_all;
use GOSA::GosaSupportDaemon;
use GOSA::DBsqlite;
my $name = $0;
$name =~ s/\.\///;
- print LOG_HANDLE "\n$month $monthday $hours:$minutes:$seconds $name $msg";
+ my $log_msg = "\n$month $monthday $hours:$minutes:$seconds $name $msg";
+ print LOG_HANDLE $log_msg;
+ if( $foreground ) {
+ print STDERR $log_msg;
+ }
}
close( LOG_HANDLE );
}
if (defined $answer) {
print $PARENT_wr $answer."\n";
my $len_answer = length $answer;
- daemon_log("with answer: length of answer: $len_answer", 7);
- daemon_log("\n$answer", 7);
+# daemon_log("with answer: length of answer: $len_answer", 7);
+# daemon_log("\n$answer", 7);
} else {
print $PARENT_wr "done"."\n";
daemon_log(" ", 7);
}
chomp($in_msg);
- daemon_log("process child read: $in_msg", 7);
- daemon_log("\n$in_msg", 7);
+# daemon_log("process child read: $in_msg", 7);
+# daemon_log("\n$in_msg", 7);
if (not defined $in_msg) {
next;
} elsif ($in_msg =~ "done") {