On Tuesday 30 October 2018 15:31:59 Nathan Stratton Treadway wrote:

> On Tue, Oct 30, 2018 at 15:29:37 -0400, Nathan Stratton Treadway wrote:
> > On a different track of investigation, the  output of "amadmin
> > CONFIG balance" might show something useful (though off hand it
> > seems unlikely
>
> Also, "amadmin CONFIG due".
>
>                                                       Nathan
So I used this to lookup the overdues.

My first impression is that the directory is locked as if they are   
locked from access by amgtar:
root@coyote:/usr/local/etc/amanda/Daily# su 
amanda -c "/usr/local/sbin/amadmin Daily due"|grep Overdue
Overdue 20 days: shop:/usr/local
Overdue 20 days: shop:/var/amanda
Overdue 20 days: lathe:/usr/local
Overdue 20 days: lathe:/var/amanda
Overdue 20 days: GO704:/var/amanda

Whats the perms supposed to be?

cd-ing to the home of shop/etc and looking at amandates:
gene@coyote:/sshnet/shop/etc$ cat amandates
/etc 0 1540882971
/etc 1 1540796552
/home 0 1540884324
/home 1 1540796542
/lib/firmware 0 1540882919
/lib/firmware 1 1540796545
/root 0 1540882911
/root 1 1540796549
/usr/lib/amanda 0 1540882975
/usr/lib/amanda 1 1540796556
/usr/local 0 1540882908
/usr/local 1 1538809433
/var/amanda 0 1540882905
/var/amanda 1 1538636569
/var/lib/amanda 0 1540882914
/var/lib/amanda 1 1540796566
gene@coyote:/sshnet/shop/etc$ ls -l amandates
-rw-r----- 1 63998 disk 380 Oct 30 03:26 amandates

But it takes root to do a chown as sshfs only allows gene to modify his 
own stuff. I've got two paths to that machine, ssh has me logged in.
>From a root shell on this machine, the server: after 
making /etc/amandates amanda:disk from a shell on that machine:
root@coyote:/usr/local/etc/amanda/Daily# su 
amanda -c "/usr/local/sbin/amcheck Daily"
Amanda Tape Server Host Check
-----------------------------
NOTE: Holding disk '/usr/dumps': 641240 MB disk space available, using 
640740 MB
Searching for label 'Dailys-27':found in slot 27: volume 'Dailys-27'
Will write to volume 'Dailys-27' in slot 27.
NOTE: skipping tape-writable test
Server check took 1.473 seconds
Amanda Backup Client Hosts Check
--------------------------------
ERROR: shop: [can not read/write /var/amanda/amandates: Permission denied 
(ruid:63998 euid:63998)
Client check: 5 hosts checked in 3.280 seconds.  1 problem found.
(brought to you by Amanda 3.5.1)

Then I made it owned by amandabackup:disk

root@coyote:/usr/local/etc/amanda/Daily# su 
amanda -c "/usr/local/sbin/amcheck Daily"
Amanda Tape Server Host Check
-----------------------------
NOTE: Holding disk '/usr/dumps': 641240 MB disk space available, using 
640740 MB
Searching for label 'Dailys-27':found in slot 27: volume 'Dailys-27'
Will write to volume 'Dailys-27' in slot 27.
NOTE: skipping tape-writable test
Server check took 0.272 seconds
Amanda Backup Client Hosts Check
--------------------------------
Client check: 5 hosts checked in 3.091 seconds.  0 problems found.
(brought to you by Amanda 3.5.1)

So it looks as if I need to check for similar missfits on other machines, 
and this should fix the Overdue reports for that machine. But why didn't 
amcheck yell about that before now? It hasn't, so thats a hellofagood ?

All this is the debian way the client is installed.

I'll fix the other two and we'll see what happens at 3:45 am tom.

> ----------------------------------------------------------------------
>------ Nathan Stratton Treadway  -  [email protected]  -  Mid-Atlantic
> region Ray Ontko & Co.  -  Software consulting services  -  
> http://www.ontko.com/ GPG Key:
> http://www.ontko.com/~nathanst/gpg_key.txt   ID: 1023D/ECFB6239 Key
> fingerprint = 6AD8 485E 20B9 5C71 231C  0C32 15F3 ADCD ECFB 6239



Copyright 2018 by Maurice E. Heskett
-- 
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

Reply via email to