Amanda-Users

Re: all estimates failed for gnutar

2004-10-13 11:17:36
Subject: Re: all estimates failed for gnutar
From: Fernan Aguero <fernan AT iib.unsam.edu DOT ar>
To: Matt Hyclak <hyclak AT math.ohiou DOT edu>
Date: Wed, 13 Oct 2004 12:13:02 -0300
+----[ Matt Hyclak <hyclak AT math.ohiou DOT edu> (13.Oct.2004 11:58):
|
| On Wed, Oct 13, 2004 at 11:42:33AM -0300, Fernan Aguero enlightened us:
| > I did the installation as root, of course. I'm not using the
| > amanda sources 'as is', however, but through the added layer
| > of the FreeBSD ports system. I doubt this can cause any
| > trouble, I've already checked the port's Makefile and it is
| > not overriding amanda's 'install' target ... it is just
| > setting some default configure options ...
| 
| Check your xinetd settings. I bet you have user amanda on your system, but
| xinetd is trying to run it as user operator, or vice versa.
| 
| Matt
|
+----]

Hmm ... this is what I have in inetd.conf:

amandaidx stream tcp nowait amanda /usr/local/libexec/amanda/amindexd   amindexd
amidxtape stream tcp nowait amanda /usr/local/libexec/amanda/amidxtaped 
amidxtaped
amanda    dgram  udp wait   amanda /usr/local/libexec/amanda/amandad    amandad

and these are their privileges:

pi# ls -l /usr/local/libexec/amanda/amindexd 
-r-xr-xr-x  1 amanda  operator  23136 Sep 30 15:54 
/usr/local/libexec/amanda/amindexd

pi# ls -l /usr/local/libexec/amanda/amidxtaped 
-r-xr-xr-x  1 amanda  operator  13604 Sep 30 15:54 
/usr/local/libexec/amanda/amidxtaped

pi# ls -l /usr/local/libexec/amanda/amandad 
-r-xr-xr-x  1 operator  operator  13972 Sep 28 12:22 
/usr/local/libexec/amanda/amandad

Still don't see how to fix it ... should runtar be owned by
root? If it can be owned by operator, then is it possible to
change the permissions on /tmp/amanda accordingly? (i.e.
without breaking yet another process?)

Thanks again,

Fernan

-- 
Fernan Aguero -  fernan at iib.unsam.edu.ar
Phone: +54 11 4580-7255/7 ext 310, Fax: +54 11 4752-9639
Check http://genoma.unsam.edu.ar/~fernan for more info.