Code

new logmessages are appended into the old logfile
authorrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 11 Jan 2008 09:39:42 +0000 (09:39 +0000)
committerrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 11 Jan 2008 09:39:42 +0000 (09:39 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8305 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/gosa-si-bus
gosa-si/gosa-si-server
gosa-si/tests/client.php

index bec214a3f4520948ba25842d081c6e8cf5fe494d..30808a668744523ae276583c712b183d31fd2ecf 100755 (executable)
@@ -36,8 +36,6 @@ use Cwd;
 use File::Spec;
 use GOSA::GosaSupportDaemon;
 use GOSA::DBsqlite;
-#use IPC::Shareable qw( :lock);
-#IPC::Shareable->clean_up_all;
 
 my ($cfg_file, $default_cfg_file, %cfg_defaults, $foreground, $verbose);
 my ($bus_activ, $bus_passwd, $bus_ip, $bus_port, $bus_address, $bus, $bus_mac_address);
index 520ba5e0003086dd3b38dc7766e4e5b375de78d6..04577f38e935f15be1c991176b3a876a69d65cb7 100755 (executable)
@@ -942,7 +942,7 @@ GetOptions("h|help" => \&usage,
 $SIG{CHLD} = 'IGNORE';
 
 # restart daemon log file
-if(-e $log_file ) { unlink $log_file }
+#if(-e $log_file ) { unlink $log_file }
 daemon_log(" ", 1);
 daemon_log("$0 started!", 1);
 
index 03509692c2d9d62ca9ee3e2b0e80063bbfe10114..e825d57c9bb3b98d507b70070c6e075c92835dbe 100755 (executable)
@@ -12,10 +12,10 @@ if($sock->connected()){
        /* Prepare a hunge bunch of data to be send */
 
 # add
-       $data = "<xml><header>gosa_ping</header><source>10.89.1.155:20082</source><target>10.89.1.155:20080</target></xml>";
+       #$data = "<xml><header>gosa_ping</header><source>10.89.1.155:20082</source><target>10.89.1.155:20080</target></xml>";
        #$data = "<xml> <header>job_ping</header> <source>10.89.1.155:20083</source><mac>00:1B:77:04:8A:6C</mac> <timestamp>19700101000000</timestamp> </xml>";
        #$data = "<xml> <header>job_sayHello</header> <source>10.89.1.155:20083</source><mac>00:1B:77:04:8A:6C</mac> <timestamp>20130102133900</timestamp> </xml>";
-       #$data = "<xml> <header>job_ping</header> <source>10.89.1.155:20083</source><mac>00:1B:77:04:8A:6C</mac> <timestamp>20130102133900</timestamp> </xml>";
+       $data = "<xml> <header>job_ping</header> <source>10.89.1.155:20083</source><mac>00:1B:77:04:8A:6C</mac> <timestamp>20130102133900</timestamp> </xml>";
 
 # delete
        #$data = "<xml> <header>gosa_delete_jobdb_entry</header> <where>headertag</where> <headertag>sayHello</headertag> </xml>";