Hi,

The documentation from zmanda follow decisions and options for their
packages that is diferent for what is done by the distributions.  The
first option is to choose the packages from zmanda or what is
distributed with the Linux distributions.

If you are using Debian or Ubuntu and want to use their packages maybe
is easier to start over.  Undo your changes and start again with:

apt-get install amanda-server amanda-client

Read the file:

/usr/share/doc/amanda-server/README.Debian.gz

And follow the examples in
/usr/share/doc/amanda-server/examples/quick/

Please post any doubts you have with the documentation inside the
packages so I can improve on next upload to Debian.

Take notice that I prefer authentication by SSH and that is what I
promote.


Kind regards
Jose M Calhariz


On Fri, Feb 07, 2025 at 04:53:26PM -0500, 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
> ===================================
> ===================================

-- 
--
O disco é rígido, mas a lei da informática é flexível.

Attachment: signature.asc
Description: PGP signature

Reply via email to