Initial test configuration

Scott Stadler <[email protected]> Fri, 7 Feb 2025 16:53:26 -0500
Newsgroups gmane.comp.archivers.amanda.user
Message-ID <CAF5BZ9oB1pvfNMuTf7er6DTBSihG9zNLsHKc-C_h=F+u4sMwZQ@mail.gmail.com>
--0000000000000ba318062d946439
Content-Type: text/plain; charset="UTF-8"

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
===================================
===================================

--0000000000000ba318062d946439
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hello,<div><br></div><div>I am attempting to run the initi=
al=C2=A0configuration via the <b>&quot;Getting Started with Amanda&quot;</b=
>=C2=A0instructions. ( <a href=3D"https://docs.zmanda.com/amanda-community/=
getting-started-with-amanda/build-a-basic-configuration">https://docs.zmand=
a.com/amanda-community/getting-started-with-amanda/build-a-basic-configurat=
ion</a> )</div><div>Upon running the -&gt;amcheck MyConfig</div><div><br></=
div><div><b>I get the below output with an error:</b></div><div>ERROR: loca=
lhost: selfcheck request failed: error sending REQ: write error to: Broken =
pipe</div><div><br></div><div>Any help would be greatly appreciated. Please=
 let me know if any information is need in addition=C2=A0to the below:</div=
><div><br></div><div><br></div><div><div>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</d=
iv><div>Full message output</div><div>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</div>=
</div><div>Amanda Tape Server Host Check</div><div>------------------------=
-----<br>NOTE: tapelist file does not exists<br>=C2=A0 =C2=A0 =C2=A0 it wil=
l be created on the next run<br>NOTE: Holding disk &#39;/amanda/holding&#39=
;: 27860992 KB disk space available, using 51200 KB as requested<br>amandad=
: must be executed as the &quot;backup&quot; user instead of the &quot;aman=
dabackup&quot; user<br>amcheck-device: Error: Owner of AMANDA_TMPDIR (/tmp/=
amanda) is not backup<br><br>slot 1: contains an empty volume<br>Will write=
 label &#39;MyData01&#39; to new volume in slot 1.<br>NOTE: skipping tape-w=
ritable test<br>NOTE: host info dir &#39;/amanda/state/curinfo/localhost&#3=
9; does not exist<br>=C2=A0 =C2=A0 =C2=A0 It will be created on the next ru=
n<br>NOTE: index dir &#39;/amanda/state/index/localhost&#39; does not exist=
<br>=C2=A0 =C2=A0 =C2=A0 it will be created on the next run<br>Server check=
 took 0.168 seconds<br>Amanda Backup Client Hosts Check<br>----------------=
----------------<br>ERROR: localhost: selfcheck request failed: error sendi=
ng REQ: write error to: Broken pipe<br>Client check: 1 host checked in 1.01=
9 seconds. =C2=A01 problem found.<br>(brought to you by Amanda 3.5.1)<br></=
div><div><br></div><div><br></div><div>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</div>=
<div>amanda.conf file</div><div>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</div><div>o=
rg &quot;MyConfig&quot;<br>infofile &quot;/amanda/state/curinfo&quot;<br>lo=
gdir &quot;/amanda/state/log&quot;<br>indexdir &quot;/amanda/state/index&qu=
ot;<br>dumpuser &quot;amandabackup&quot;<br><br><br>tpchanger &quot;chg-dis=
k:/amanda/vtapes&quot;<br>labelstr &quot;MyData[0-9][0-9]&quot;<br>autolabe=
l &quot;MyData%%&quot; EMPTY VOLUME_ERROR<br>tapecycle 4<br>dumpcycle 3 day=
s<br>amrecover_changer &quot;changer&quot;<br><br>tapetype &quot;TEST-TAPE&=
quot;<br>define tapetype TEST-TAPE {<br>=C2=A0 length 100 mbytes<br>=C2=A0 =
filemark 4 kbytes<br>}<br><br>define dumptype simple-gnutar-local {<br>=C2=
=A0 =C2=A0 auth &quot;local&quot;<br>=C2=A0 =C2=A0 compress none<br>=C2=A0 =
=C2=A0 program &quot;GNUTAR&quot;<br>}<br><br>holdingdisk hd1 {<br>=C2=A0 =
=C2=A0 directory &quot;/amanda/holding&quot;<br>=C2=A0 =C2=A0 use 50 mbytes=
<br>=C2=A0 =C2=A0 chunksize 1 mbyte<br>}<br></div><div>=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D</div><div>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</div><div><br></div>=
<div><br></div><div>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</div><div>disklist file=
</div><div>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</div><div>localhost /etc simple-=
gnutar-local</div><div><div>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</div><div>=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D</div></div><div><br></div><div><br></div><div><=
br></div><div><br></div></div>

--0000000000000ba318062d946439--