HP-UX 11.0 PA-RISC: full_backup seems to sleep for ever

[email protected] Fri, 5 Mar 2004 21:57:18 +0100
Newsgroups gmane.comp.sysutils.backup.afbackup.general
Message-ID <[email protected]>
Hello !

I have compiled and installed afbackup-3.3.7pl6 on HP-UX 11.0
PA-RISC. I configured it to be a client and server for itself. When
I run full_backup it goes to the sleep state shortly and nothing
happens (no activity on streamer). When Ctrl-C is pressed there is
some activity on the streamer and some data is written to tape (but
only small part of the backup is saved).
I have tried to backup some files directly with "afclient -c" and it
works fine.
I have tryed to run tusc program to diagnose the problem, but it's
output doesn't say much for me.
The output of tusc invoked with servers PID as parameter shows:

tusc 11835
read(3, 0x7f7f0138, 1) ................................... [sleeping]
ksleep(PTH_CONDVAR_OBJECT, 0x40002528, 0x40002530, NULL) . [sleeping]

The output of tusc invoked with full_backup PID as parameter shows:

tusc 11824
( Attached to process 11824 ("full_backup") [32-bit] )
write(6, "h o m e / w a r o w n y r / . d ".., 43) ....... [sleeping]

I have checked configuration of afbackup (see below) several times,
and I can't find what is wrong with my installation.
There are no error messages in client log file and there is no
server log file.
Have I missed something ? Any suggestions welcome.

Ragards
Radek

Client configuration:

BackupHosts:		backuphost
CartridgeSets:		1
RootDirectory:		/
DirsToBackup:		*
FilesToSkip:		*.obj core
DirsToSkip:		lost+found d01 d02 d03
ExcludeListFile:	.buexcl
FilesystemTypes:	/nfs /smb
WriteChecksums:		no
UseCTime:		no
NumBackupParts:		1
ProcessCmd:		gzip -1
UnprocessCmd:		gunzip
DoNotProcess:		*.gz *.bz2 *.[Zz] *.[Zz][Ii][Pp] *.jpg *.jpeg *.mpg
*.mpeg *.rpm *.deb
ProcessBackupedFiles:	1
IndexFilePart:		%V/backup_log.
IndexProcessCmd:	gzip -9
IndexUnprocessCmd:	gunzip
NumIndexesToStore:	5
LoggingFile:		%I/client.backup.log
ProcessLogfiles:	1
CheckRestoreAccessPerms:	0
VarDirectory:		/usr/local/afbackup/client/var
StartupInfoProgram:	tee -a %V/bumsgs
ExitProgram:		(echo '[Afbackup]: Overall exit status: %e';echo "
";echo Minimum restore information:; echo "%i";echo " "; cat %r;
uuencode %l `basename %l`)|mail backupadmin

Server configuration:

Backup-Device:		/dev/rmt/0mn
Tape-Blocksize:		10240
Full-Append: Yes
Variable-Append Mode: Yes
Reject Unlabeled Tapes:	0
PreferCartInChanger:	Yes
Cartridge-Handler:	0
Number Of Cartridges:	2
Max Bytes Per File:	50000000
Cart-Insert-Gracetime:	70
Dev Unavail Send mail after min:	6
Device Unavail give up after min:	45
Device-Probe Interval:			5
Changer-Configuration-File:	%C/changer.conf
SetFile-Command:	sh -c "mt -f %d rew && %B/__mt -f %d fsf %m"
SkipFiles-Command:	%B/__mt -f %d fsf %n
Changecart-Command:	mt -f %d offl
User To Inform:         backupadmin
Mail-Program:		mail -s "[Afbackup]: Backup Service Information" %u
Var-Directory:		/usr/local/afbackup/server/var
Tape-Pos-File:          %V/tapepos
Logging-file:		@ /usr/local/afbackup/server/var/server.backup.log
Status-file:		%V/status
Program-Directory:	/usr/local/afbackup/server/rexec




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click