Re: Linux setup problems

2001-02-06 Thread Roland E. Lipovits

Stan Brown [EMAIL PROTECTED] wrote:
I'm just seting up my first Linux (Debian Potato) box in a while.
(...)
ERROR: debian: [can not read/write /etc/dumpdates: No such file or
directory]

/etc/dumpdates doesn't exist on a Debian installation, it's
/var/lib/dumpdates.

Maybe a symlink will work, the other way (which I did) is to fetch
the Debianized sources for amanda as a starting point. I've modified
the configure-Options and thrown in the newest amanda-release and
the built my own .deb-packages.

HTH, Lipo

-- 
Roland E. Lipovits
Vienna, Austria



Re: Linux setup problems

2001-02-06 Thread Chris Karakas

Stan Brown wrote:
 
 ERROR: debian: [can not access /dev/hdc1 (hdc1): Permission denied]
 ERROR: debian: [can not access /dev/hda1 (hda1): Permission denied]
 ERROR: debian: [can not access /dev/hda3 (hda3): Permission denied]
...
 brw-rw1 root disk   3,   1 Nov 30 10:22

Assuming that this is set so on all three disks, you should make
"amanda" (your AMANDA user) a member of the group "disk".

 ERROR: debian: [can not read/write /etc/dumpdates: No such file or
 directory]

touch /etc/dumpdates
amanda should get read/write permission on this file.

-- 
Regards

Chris Karakas
Dont waste your cpu time - crack rc5: http://www.distributed.net



Re: Linux setup problems

2001-02-06 Thread John R. Jackson

ERROR: debian: [can not read/write /etc/dumpdates: No such file or
directory]

/etc/dumpdates doesn't exist on a Debian installation, it's
/var/lib/dumpdates.

Sigh.

Do you think Amanda should be checking if either exist rather than just
the one name?  Or should it try to figure out at ./configure time which
way to go?

Maybe a symlink will work ...

A symlink should work fine:

  ln -s ../var/lib/dumpdates /etc/dumpdates

Lipo

John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]



Re: Linux setup problems

2001-02-05 Thread Ron Snyder

On Mon, Feb 05, 2001 at 10:50:45AM -0500, Stan Brown wrote:
 I'm just seting up my first Linux (Debian Potato) box in a while.
 Eventually it will be a tapehost, but tirght now I'm just trying to set it
 up as a client.
 
 Compile, and install went well, and i got /etc/services, and inetd.conf set
 up corectly (I think).
 
 However I am getting a premissions error:
 
 Amanda Backup Client Hosts Check
 
 ERROR: debian: [can not access /dev/hdc1 (hdc1): Permission denied]
 ERROR: debian: [can not access /dev/hda1 (hda1): Permission denied]
 ERROR: debian: [can not access /dev/hda3 (hda3): Permission denied]
 ERROR: debian: [can not read/write /etc/dumpdates: No such file or
 directory]
 Client check: 20 hosts checked in 0.545 seconds, 4 problems found
 
 Here are the premissions of the executables:
 
 -rwxr-xr-x1 amanda   disk   337250 Feb  5 05:05 amadmin
 -rwsr-x---1 root disk   345638 Feb  5 05:05 amcheck
 -rwxr-xr-x1 amanda   disk 1861 Feb  5 05:05 amcheckdb
 -rwxr-xr-x1 amanda   disk 3962 Feb  5 05:05 amcleanup
 -rwxr-xr-x1 amanda   disk 3556 Feb  5 05:05 amdump
 -rwxr-xr-x1 amanda   disk   317114 Feb  5 05:05 amflush
 -rwxr-xr-x1 amanda   disk   122193 Feb  5 05:05 amgetconf
 -rwxr-xr-x1 amanda   disk   261066 Feb  5 05:05 amlabel
 -rwxr-xr-x1 amanda   disk 4191 Feb  5 05:06 amoverview
 -rwxr-xr-x1 amanda   disk 4482 Feb  5 05:06 amplot
 -rwxr-x---1 amanda   disk   292191 Feb  5 05:06 amrecover
 -rwxr-xr-x1 amanda   disk   293332 Feb  5 05:05 amreport
 -rwxr-xr-x1 amanda   disk   171745 Feb  5 05:06 amrestore
 -rwxr-xr-x1 amanda   disk 6461 Feb  5 05:06 amrmtape
 -rwxr-xr-x1 amanda   disk20386 Feb  5 05:06 amstatus
 -rwxr-xr-x1 amanda   disk   270070 Feb  5 05:05 amtape
 -rwxr-xr-x1 amanda   disk 6587 Feb  5 05:06 amtoc
 -rwxr-xr-x1 amanda   disk11510 Feb  5 05:06 amverify
 
   And here are the permissions on the disks:
 
   brw-rw1 root disk   3,   1 Nov 30 10:22 /dev/hda1
 
   What have I got wrong?

Is amanda a member of group disk?  (it's not sufficient for the executables
to belong to group disk, unless they are setgid (and I'm not sure that would
be desirable))

-ron