Hello,
I am attempting to run the initial configuration via the *"Getting Started
with Amanda"* instructions. (
https://docs.zmanda.com/amanda-community/getting-started-with-amanda/build-a-basic-configuration
)
Upon running the ->amcheck MyConfig
*I get the below output with an error:*
ERROR: localhost: selfcheck request failed: error sending REQ: write error
to: Broken pipe
Any help would be greatly appreciated. Please let me know if any
information is need in addition to the below:
===================================
Full message output
===================================
Amanda Tape Server Host Check
-----------------------------
NOTE: tapelist file does not exists
it will be created on the next run
NOTE: Holding disk '/amanda/holding': 27860992 KB disk space available,
using 51200 KB as requested
amandad: must be executed as the "backup" user instead of the
"amandabackup" user
amcheck-device: Error: Owner of AMANDA_TMPDIR (/tmp/amanda) is not backup
slot 1: contains an empty volume
Will write label 'MyData01' to new volume in slot 1.
NOTE: skipping tape-writable test
NOTE: host info dir '/amanda/state/curinfo/localhost' does not exist
It will be created on the next run
NOTE: index dir '/amanda/state/index/localhost' does not exist
it will be created on the next run
Server check took 0.168 seconds
Amanda Backup Client Hosts Check
--------------------------------
ERROR: localhost: selfcheck request failed: error sending REQ: write error
to: Broken pipe
Client check: 1 host checked in 1.019 seconds. 1 problem found.
(brought to you by Amanda 3.5.1)
===================================
amanda.conf file
===================================
org "MyConfig"
infofile "/amanda/state/curinfo"
logdir "/amanda/state/log"
indexdir "/amanda/state/index"
dumpuser "amandabackup"
tpchanger "chg-disk:/amanda/vtapes"
labelstr "MyData[0-9][0-9]"
autolabel "MyData%%" EMPTY VOLUME_ERROR
tapecycle 4
dumpcycle 3 days
amrecover_changer "changer"
tapetype "TEST-TAPE"
define tapetype TEST-TAPE {
length 100 mbytes
filemark 4 kbytes
}
define dumptype simple-gnutar-local {
auth "local"
compress none
program "GNUTAR"
}
holdingdisk hd1 {
directory "/amanda/holding"
use 50 mbytes
chunksize 1 mbyte
}
===================================
===================================
===================================
disklist file
===================================
localhost /etc simple-gnutar-local
===================================
===================================