On Monday 27 May 2019 12:36:51 pm Nathan Stratton Treadway wrote: > On Mon, May 27, 2019 at 11:57:29 -0400, Gene Heskett wrote: > > next pass at amcheck Daily got this: > > > > manda@coyote:/root$ /usr/local/sbin/amcheck Daily > > Amanda Tape Server Host Check > > [...] > > > Amanda Backup Client Hosts Check > > -------------------------------- > > ERROR: lathe: selfcheck request failed: amcheck-clients: error > > [exec /usr/local/libexec/amanda/ambind: Permission denied] > > [...] > > > amanda@coyote:/root$ ls -l /usr/local/libexec/amanda/ambind > > -rwsr-x--- 1 root backup 26840 May 27 > > 11:11 /usr/local/libexec/amanda/ambind > > > > Is that correct? If wrong for owner root, whats the fix, which we'll > > need > > Yes, that is correct. This is a setuid binary (note the "s" in > "rwsr-x") and is intended to run as root (and thus it needs to be > owned by root). > > > This is /etc/group now > > > > amanda@coyote:/root$ grep amanda /etc/group > > mail:x:8:gene,amanda > > amanda:x:1001: > > > > amanda@coyote:/root$ grep backup /etc/group > > backup:x:34: > > Ah, I see... Looking back your at email from yesterday, you had: > > root@coyote:amanda$ grep backup /etc/group > > disk:x:6:gene,backup > > backup:x:34: > > amanda:x:1001:backup > > Well, when I looked through that message, I didn't notice that you had > added the "backup" user to the "amanda" group, rather than the other > way around.... > > That is, in your new build script your are telling the Amanda config > that you want to use the "backup" group to run Amanda... but at the > moment your "amanda" user is not a member of that group. > > So, add "amanda" to the "backup" group and try amcheck again. > > (Then you might as well remove "backup" from the "amanda" group, to > keep things cleaned up... > > In the end the groups file should have these two lines: > backup:x:34:amanda > amanda:x:1001: > )
It does now, and amcheck is happy with everything but coyote, connection refused. Wanders off in general direction of kitchen, scratching head because it doesn't tell me why. Thanks Nathan. > > Nathan > > > ---------------------------------------------------------------------- >------ Nathan Stratton Treadway - natha...@ontko.com - 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 2019 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>