I'm running a new amanda server at my site, to new clients.

Both the client and server are Solaris 10 x86
Amanda is version 2.6.1p1.

the apparent error is
---------------------
1267158428.081782: amgtar:   0: strange(?): /usr/sfw/bin/gtar: /usr/local/var/am
anda/gnutar-lists/bioqq5_biotera1_rna_0.new: Cannot open: Permission denied


Which is found in the following debug file.

# more /tmp/amanda/client/flower/amgtar.20100225232708.debug 
1267158428.024917: amgtar: pid 9918 ruid 110 euid 110 version 2.6.1p1: start at 
Thu Feb 25 23:27:08 2010
1267158428.025079: amgtar: version 2.6.1p1-20091023
1267158428.026444: amgtar: pid 9918 ruid 110 euid 110 version 2.6.1p1: rename at
 Thu Feb 25 23:27:08 2010
1267158428.026476: amgtar: GNUTAR-PATH /usr/sfw/bin/gtar
1267158428.026485: amgtar: GNUTAR-LISTDIR /usr/local/var/amanda/gnutar-lists
1267158428.026492: amgtar: DIRECTORY /biotera1/rna/.zfs/snapshot/amanda-_biotera
1_rna-current
1267158428.026499: amgtar: ONE-FILE-SYSTEM yes
1267158428.026506: amgtar: SPARSE yes
1267158428.026513: amgtar: ATIME-PRESERVE no
1267158428.026519: amgtar: CHECK-DEVICE yes
1267158428.026525: amgtar: SIZE ^ *Total bytes written: [0-9][0-9]*
1267158428.026532: amgtar: IGNORE : Directory is new$
1267158428.026538: amgtar: IGNORE : Directory has been renamed
1267158428.026545: amgtar: NORMAL ^could not open conf file
1267158428.026551: amgtar: NORMAL ^Elapsed time:
1267158428.026557: amgtar: NORMAL ^Throughput
1267158428.026563: amgtar: NORMAL : socket ignored$
1267158428.026569: amgtar: NORMAL : File .* shrunk by [0-9][0-9]* bytes, padding
 with zeros
1267158428.026575: amgtar: NORMAL : Cannot add file .*: No such file or director
y$
1267158428.026581: amgtar: NORMAL : Error exit delayed from previous errors
1267158428.050553: amgtar: pipespawnv: stdoutfd is 1
1267158428.050794: amgtar: Spawning "/usr/sfw/bin/gtar /usr/sfw/bin/gtar --creat
e --verbose --file - --directory /biotera1/rna/.zfs/snapshot/amanda-_biotera1_rn
a-current --one-file-system --listed-incremental /usr/local/var/amanda/gnutar-li
sts/bioqq5_biotera1_rna_0.new --sparse --ignore-failed-read --totals ." in pipel
ine
1267158428.081782: amgtar:   0: strange(?): /usr/sfw/bin/gtar: /usr/local/var/am
anda/gnutar-lists/bioqq5_biotera1_rna_0.new: Cannot open: Permission denied
1267183192.251690: amgtar:  78:    size(|): Total bytes written: 328823756800 (3
07GiB, 13MiB/s)
1267183192.251828: amgtar:   0: strange(?): /usr/sfw/bin/gtar: Exiting with fail
ure status due to previous errors
1267183192.414471: amgtar: after /usr/sfw/bin/gtar /biotera1/rna wait
1267183192.414483: amgtar: amgtar: /usr/sfw/bin/gtar: pid 9919
1267183192.414492: amgtar: /usr/sfw/bin/gtar exited with status 2: see /tmp/aman
da/client/flower/amgtar.20100225232708.debug1267183192.414507: amgtar: sendbacku
p: size 321116950
1267183192.414517: amgtar: sendbackup: end

However I do see that these files do get created.

# ls -las /usr/local/var/amanda/gnutar-lists/
total 32
  16 drwxr-xr-x   2 amanda   sys          512 Feb 25 23:26 .
  16 drwxr-xr-x   3 amanda   sys          512 Feb 10 14:07 ..
   0 -rw-------   1 amanda   sys            0 Feb 25 15:54 bioqq5_biotera1_0.new
   0 -rw-------   1 amanda   sys            0 Feb 25 23:26 
bioqq5_biotera1_rna_0.new

I am attempting to dump with dumptype zfs-snapshots, which I have
working on several other amanda servers/clients. I do see that the
snapshot files are created as expected.

I initially had issues with amanda running correctly because /usr/local
is on a remote system, but we have it mounting with suid set and backups
do seem to initiate. [We added the  suid attribute was added to the
auto_local entry in our ldap server]

Able to send additional logs, but didn't want to have too cluttered
an initial email.

                                                thank you,

                                                Brian
---
   Brian R Cuttler                 brian.cutt...@wadsworth.org
   Computer Systems Support        (v) 518 486-1697
   Wadsworth Center                (f) 518 473-6384
   NYS Department of Health        Help Desk 518 473-0773



IMPORTANT NOTICE: This e-mail and any attachments may contain
confidential or sensitive information which is, or may be, legally
privileged or otherwise protected by law from further disclosure.  It
is intended only for the addressee.  If you received this in error or
from someone who was not authorized to send it to you, please do not
distribute, copy or use it or any attachments.  Please notify the
sender immediately by reply e-mail and delete this from your
system. Thank you for your cooperation.


Reply via email to