On Tue, May 11, 2004 at 12:00:20PM -0400, Bram Smits wrote:
> New installation of Amanda 2.4.4p2i (compiled from source) on Mandrake 10.0
>
> Trying to get it running on the local (tape server) host first and I'm
> getting permission denied errors on the disk I'm trying to back up (root
> partition) and the /etc/dumpdates file.
>
> I checked/fixed permissions, group membership, xinetd.d, .amandahosts,
> disklist... (see below) I'm missing something here, but can't figure
> out what.
>
> If it makes any difference, hardware is a Dell PE6150, disks are a 5*146G
> raid-5 array on a PERC3 controller. sda1 is the 20G / partition, 500M used.
>
> Thanks,
>
> Bram
>
>
> $amcheck (edited for brevity)
> ERROR: fred: [could not access /dev/scsi/host0/bus0/target0/lun0/part1
> (sda1): Permission denied]
> ERROR: fred: [can not read/write /etc/dumpdates: Permission denied]
>
> $more /etc/group (edited for brevity)
> root:x:0:amanda
> disk:x:6:amanda
>
> $ls -l /dev/scsi/host0/bus0/target0/lun0/
> brw-r----- 1 root root 8, 1 Dec 31 1969 part1
>
> $ls -l /etc/dumpdates
> -rw-rw-r-- 1 root disk 0 May 11 11:20 /etc/dumpdates
>
> $more /etc/xinetd.d/amandad
> service amanda
> {
> disable = no
> socket_type = dgram
> wait = yes
> user = amanda
> server = /usr/local/libexec/amandad
> }
>
> $more .amandahosts
> fred.ravenclaw amanda
^^^^^^^^^^^^^^
>
> $more usr/local/etc/amanda/daily_sys/disklist (edited for brevity)
> fred sda1 always-full -1 local
^^^^
It may be the difference in host names noted above.
--
Jon H. LaBadie jon AT jgcomp DOT com
JG Computing
4455 Province Line Road (609) 252-0159
Princeton, NJ 08540-4322 (609) 683-7220 (fax)
|