anyone played with amanda?

2001-02-26 Thread aphro

hi.

i am messing around with amanda tryin to get it working. and
am unsure why i recieve this error message:

Amanda Backup Client Hosts Check

ERROR: mail-wa2: [can not access /dev/hda7 (hda7): Permission denied]
ERROR: mail-wa2: [can not access /dev/md0 (md0): Permission denied]
Client check: 1 host checked in 0.092 seconds, 2 problems found.

(brought to you by Amanda 2.4.1p1)

my disklist shows:
mail-wa2 md0 always-full
mail-wa2 hda6 comp-root-tar
mail-wa2 hda7 comp-user

i checked the permissions, /dev/md0 and hda7 have the same
permissions as hda6

[EMAIL PROTECTED]:~$ ls -l /dev/hda6 /dev/md0 /dev/hda7
brw-rw1 root disk   3,   6 Nov 30 07:22 /dev/hda6
brw-rw1 root disk   3,   7 Nov 30 07:22 /dev/hda7
brw-rw1 root disk   9,   0 Dec 11 21:03 /dev/md0

permissions seem to be ok? :
[EMAIL PROTECTED]:~$ id 
uid=34(backup) gid=34(backup) groups=34(backup),6(disk),26(tape)
[EMAIL PROTECTED]:~$ /sbin/dump -S /dev/hda6
35379200
[EMAIL PROTECTED]:~$ /sbin/dump -S /dev/hda7
270146560
[EMAIL PROTECTED]:~$ /sbin/dump -S /dev/md0 
1456024576

can't figure out why it can access /dev/hda6(mounted as /) but
not able to access /dev/hda7(mounted as /usr) or /dev/md0(mounted
as /var/spool)

running debian 2.2r2 on both systems. apt-get'd amanda this
afternoon. this is my first time playing with amanda, if you
need more info lemme know.

thanks

nate



Re: anyone played with amanda?

2001-02-26 Thread aphro
On Mon, Feb 26, 2001 at 08:59:21PM -0500, Stan Brown wrote:
 
   Make certain Amanda (the user) is in the group that owns the disk 
 devices. 

i don't have an amanda user. i do have a 'backup' user which runs the amanda 
program according to xinetd:
service amanda
{
socket_type = dgram
protocol= udp
wait= yes
user= backup
server  = /usr/lib/amanda/amandad
}

and as i had in my original mail the user backup is a member of the correct 
group. 

also, it can't access 2 out of the 3 disks on the system, so it can access 
something..just not everything. all permissions are identical

thanks

nate



Re: anyone played with amanda?

2001-02-26 Thread Nate Amsden
Stan Brown wrote:

 Mmm, wierd. Have you check the debug files in /tmp/amanda? You did 
 build
 --with-debuging, right?

i'm using the amanda from debian..not sure how they built it. but i do have
/tmp/amanda
(didn't know about it before, thanks!) but it doesn't give much additional
info:

Amanda 2.4 REQ HANDLE 000-B02F0508 SEQ 983235854
SECURITY USER backup
SERVICE selfcheck
OPTIONS ;
DUMP hda7 0 OPTIONS |;bsd-auth;compress-fast;index;
GNUTAR hda6 0 OPTIONS
|;bsd-auth;compress-fast;index;exclude-list=/etc/amanda/exclude.gtar;
DUMP md0 0 OPTIONS |;bsd-auth;compress-fast;index;


sending ack:

Amanda 2.4 ACK HANDLE 000-B02F0508 SEQ 983235854
bsd security: remote host fury.graphon.com user backup local user backup
amandahosts security check passed
amandad: running service /usr/lib/amanda/selfcheck
amandad: sending REP packet:

Amanda 2.4 REP HANDLE 000-B02F0508 SEQ 983235854
OPTIONS ;
ERROR [can not access /dev/hda7 (hda7): Permission denied]
OK hda6
ERROR [can not access /dev/md0 (md0): Permission denied]
OK /usr/lib/amanda/runtar executable
OK /sbin/dump executable
OK /sbin/restore executable
OK /bin/tar executable
OK /var/lib/amanda/amandates read/writable
OK /var/lib/amanda/gnutar-lists/. read/writable
OK /bin/gzip executable
OK /var/lib/dumpdates read/writable
OK /dev/null read/writable
OK /tmp has more than 64 KB available.
OK /tmp/amanda has more than 64 KB available.
OK /var/lib has more than 64 KB available.


amandad: got ack:

Amanda 2.4 ACK HANDLE 000-B02F0508 SEQ 983235854


amandad: pid 29397 finish time Mon Feb 26 17:05:47 2001


the one thing i have not tried is changing the dump method for the
other 2 drives to match that of hda6. although it shouldn't make a
differenceworth a try i suppose i'll try that when i get in
tomorrow.

any other ideas?

thanks again!

nate

-- 
:::
ICQ: 75132336
http://www.aphroland.org/
http://www.linuxpowered.net/
[EMAIL PROTECTED]