On Wed, 20 Jun 2001 at 10:01pm, Jobst Schmalenbach wrote
> I have configured amanda with as suggested in the INSTALL file:
> ./configure --with-user=bin and --with-group=disk
> NOTE: skipping tape-writable test
> Tape DailySet1-01 label ok
>
> Why does it skip the writetest?
That's normal.
> permissions on amcheck:
>
> 452] [piquet:root] /usr/local/sbin #ROOT# >ls -la
> total 2896
> drwxr-xr-x 2 root root 4096 Jun 20 21:14 .
> drwxr-xr-x 20 root root 4096 Jun 20 10:14 ..
> -rwsr-x--- 1 root disk 393508 Jun 20 21:14 amcheck
I'm guessing that 'bin' isn't in the 'disk' group...
> ERROR: program /usr/local/libexec/planner: not executable
...which would probably also lead to that problem.
What I did was to create a user 'amanda', and put that user in the 'disk'
group. Or, you could 'bin' in the 'disk' group, but I wouldn't recommend
that.
> WARNING: localhost: selfcheck request timed out. Host down?
>
> Even if I change it to the real name/ipaddress it doesnt work.
> I filled the ipaddress into the xinted.conf file and added all
> the stuff in there!
You shouldn't need to make any changes to xinetd.conf. You need the
proper files in /etc/xinetd.d and to allow the services in
/etc/hosts.allow.
> I can list the socket:
> [494] [piquet:root] /tmp/amanda #ROOT# >netstat -a | grep -i amanda
> tcp 0 0 *:amandaidx *:* LISTEN
Your amanda service isn't running. amandaidx is for listening for
amrecover requests from other hosts.
So, to summarize:
Create a new user 'amanda', and put it in the group 'disk'.
Recompile amanda --with-user=amanda --with-group=disk
Create /etc/xinetd.d/amanda, with the following content:
service amanda
{
protocol = udp
socket_type = dgram
wait = yes
user = amanda
group = disk
server = /usr/local/libexec/amandad
server_args = amandad
}
Restart xinetd.
Put 'amandad : $IP' in /etc/hosts.allow, where $IP is the IP address of
your amanda server.
Change your disklist entry to point to the real hostname.
Run amcheck again -- now it "should" work.
Good luck.
--
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University