From: Christophe J. <chr...@cn...> - 2002-09-24 15:16:33
|
Hello On solaris 2.7 I use backuppc to backup a linux client via rsh. The backup seems to begin quite well: - the tar command is launched on the client - The log file tells me that a full dump has begun But nothing happens: though all processes stay alive , no network traffic occurs. i tried to trace the backuppc_dump command code and it seems that the tool keeps stuck on a select system call: ... print("started $type dump, pid=$xferPid, tarPid=$tarPid\n"); # # Parse the output of the transfer program and BackupPC_tarExtract # while they run. Since we are reading from two or more children # we use a select. # my($FDread, $tarOut, $mesg); vec($FDread, fileno(TAR), 1) = 1; $xfer->setSelectMask(\$FDread); SCAN: while ( 1 ) { my $ein = $FDread; last if ( $FDread =~ /^\0*$/ ); #Everything gets well until here select(my $rout = $FDread, undef, $ein, undef); ## seems not to return if ( vec($rout, fileno(TAR), 1) ) { if ( sysread(TAR, $mesg, 8192) <= 0 ) { vec($FDread, fileno(TAR), 1) = 0; close(TAR); } else { $tarOut .= $mesg; } } Anyone can help?... Thanks Christophe Jouan |