Re: Initial test configuration
Winston Sorfleet <[email protected]> Fri, 7 Feb 2025 19:25:06 -0500
| Newsgroups | gmane.comp.archivers.amanda.user |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format.
--------------zO3gvKJwIeHu78qJQwU6qNJS
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
My first easy suggestion would be to check the ownership and permissions
of all the files or pipes listed. On Debian, everything should be
backup:backup. I am seeing that you have "amandabackup" user, not
"backup". Certainly fix that first.
On 2025-02-07 16:53, Scott Stadler wrote:
> 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
> ===================================
> ===================================
>
>
>
>
--------------zO3gvKJwIeHu78qJQwU6qNJS
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>My first easy suggestion would be to check the ownership and
permissions of all the files or pipes listed. On Debian,
everything should be backup:backup. I am seeing that you have
"amandabackup" user, not "backup". Certainly fix that first.<br>
</p>
<div class="moz-cite-prefix">On 2025-02-07 16:53, Scott Stadler
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAF5BZ9oB1pvfNMuTf7er6DTBSihG9zNLsHKc-C_h=F+u4sMwZQ@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hello,
<div><br>
</div>
<div>I am attempting to run the initial configuration via the <b>"Getting
Started with Amanda"</b> instructions. ( <a
href="https://docs.zmanda.com/amanda-community/getting-started-with-amanda/build-a-basic-configuration"
moz-do-not-send="true" class="moz-txt-link-freetext">https://docs.zmanda.com/amanda-community/getting-started-with-amanda/build-a-basic-configuration</a>
)</div>
<div>Upon running the ->amcheck MyConfig</div>
<div><br>
</div>
<div><b>I get the below output with an error:</b></div>
<div>ERROR: localhost: 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 to the below:</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div>===================================</div>
<div>Full message output</div>
<div>===================================</div>
</div>
<div>Amanda Tape Server Host Check</div>
<div>-----------------------------<br>
NOTE: tapelist file does not exists<br>
it will be created on the next run<br>
NOTE: Holding disk '/amanda/holding': 27860992 KB disk space
available, using 51200 KB as requested<br>
amandad: must be executed as the "backup" user instead of the
"amandabackup" 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 'MyData01' to new volume in slot 1.<br>
NOTE: skipping tape-writable test<br>
NOTE: host info dir '/amanda/state/curinfo/localhost' does not
exist<br>
It will be created on the next run<br>
NOTE: index dir '/amanda/state/index/localhost' does not exist<br>
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 sending REQ:
write error to: Broken pipe<br>
Client check: 1 host checked in 1.019 seconds. 1 problem
found.<br>
(brought to you by Amanda 3.5.1)<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>===================================</div>
<div>amanda.conf file</div>
<div>===================================</div>
<div>org "MyConfig"<br>
infofile "/amanda/state/curinfo"<br>
logdir "/amanda/state/log"<br>
indexdir "/amanda/state/index"<br>
dumpuser "amandabackup"<br>
<br>
<br>
tpchanger "chg-disk:/amanda/vtapes"<br>
labelstr "MyData[0-9][0-9]"<br>
autolabel "MyData%%" EMPTY VOLUME_ERROR<br>
tapecycle 4<br>
dumpcycle 3 days<br>
amrecover_changer "changer"<br>
<br>
tapetype "TEST-TAPE"<br>
define tapetype TEST-TAPE {<br>
length 100 mbytes<br>
filemark 4 kbytes<br>
}<br>
<br>
define dumptype simple-gnutar-local {<br>
auth "local"<br>
compress none<br>
program "GNUTAR"<br>
}<br>
<br>
holdingdisk hd1 {<br>
directory "/amanda/holding"<br>
use 50 mbytes<br>
chunksize 1 mbyte<br>
}<br>
</div>
<div>===================================</div>
<div>===================================</div>
<div><br>
</div>
<div><br>
</div>
<div>===================================</div>
<div>disklist file</div>
<div>===================================</div>
<div>localhost /etc simple-gnutar-local</div>
<div>
<div>===================================</div>
<div>===================================</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
</blockquote>
</body>
</html>
--------------zO3gvKJwIeHu78qJQwU6qNJS--