Hi,
I have been trying to install Amanda on a Redhat 7.0 Server. We
purchased the Redhat Professional server and Amanda is included on the
distribution CD's.
The Redhat CD'd include three packages:
Amanda
Amanda-server
and Amanda-client
I installed all three of these plus gnuplot and mtx RPMS with out any
problem.
As You already know Redhat has changed the inetd to xinetd because of
security. Fortunately the RPMS included configuration files for xinetd
which are copied to /etc/xinetd.d/amandaidx (indexing) and
/etc/xinetd.d/amidxtape.
By default these services are disable but I have enabled them.
This can be checked by "chkconfig -list" command.
The application is installed such as:
the backup users is: operator
the backup group is: disk
in /etc/services there are 5 lines containing ports for amanda
amanda 10080/udp # amanda backup services
kamanda 10081/tcp # amanda backup services (Kerberos)
kamanda 10081/udp # amanda backup services (Kerberos)
amandaidx 10082/tcp # amanda backup services
amidxtape 10083/tcp # amanda backup services
The user operator has the same home directory as root and there is a
file in /root called .amandahosts which contains localhost operator.
The computer is at this time not connected to any network and the
/etc/hosts has only on line containing
127.0.0.1 localhost.
After this I just did a quick configuration as suggested by the
documentation and I could communicate with the tape device (DLT 8000
sitting inside a HP 818 autoloader). I ran the amlabel application and I
could label the tape inside the drive without any problem.
Then I tried to run amcheck application as operator:
amcheck DailySet1
which gives me the following output
Amanda Backup Client Hosts Check
--------------------------------
/var/tmp: 911500 KB disk space available, that's plenty.
ERROR: cannot overwrite active tape DailySet101.
(expecting a new tape)
NOTE: skipping tape-writable test.
Server check took 5.880 seconds.
protocol packet receive: Connection refused
protocol packet receive: Connection refused
protocol packet receive: Connection refused
Amanda Backup Client Hosts Check
--------------------------------
WARNING: localhost: selfcheck request timed out. Host down?
Client check: 1 host checked in 30.000 seconds, 1 problem found.
(brought to you by Amanda 2.4.1p1)
As I understand this s a communication problem between the client and
the server machines (in this case the same machine).
So I just kept reading the documentation and FAQ until I found the
following:
Q: Why does `amcheck' report `selfcheck timed out'?
A: This can occur under several different situations. First, make
sure this problem is repeatable; if Amanda programs are
NFS-auto-mounted, some clients may fail to mount the Amanda binaries
in time.
If the error is repeatable, log into the client, and check whether
the directory /tmp/amanda exists, and a file named amandad.debug
exists in there: amandad will create this file whenever it starts. If
this file does not exist, amandad is not starting properly, or it
lacks permission to create /tmp/amanda/amandad.debug.
In the latter case, wipe out /tmp/amanda, and amandad should create
it next time it runs. In the former case, check your inetd
configuration. Make sure you have added the Amanda services to
/etc/services, that /etc/inetd.conf was properly configured, and that
you have signalled inetd to reread this file. Check section 2.2 from
the INSTALL file for details.
Pay special attention to typos in inetd.conf; error messages will
probably appear in /var/adm/messages if you have typed the amandad
program name incorrectly. Make sure the same user that you have
specified at configure-time (--with-user=<USERNAME>) is listed in
inetd.conf. Check whether this user has permission to run amandad, as
well as any shared libraries amandad depends upon, by running the
specified amandad command by hand, as the Amanda user. If you type
anything, amandad should abort because it can't read a UDP packet
from the keyboard.
As soon as you have properly configured inetd.conf so as to run
amandad, you should no longer get the `selfcheck timed out' message.
After this I thought that I had find the problem so I removed the
/tmp/amanda/amandad.debug file and ran amandad from the console as the
operator user. This created the a new file /tmp/amanda/amandad.debug
with some information.
So I removed it again and tried to run the amcheck program again which
gave me the same error.
After this I started to read about kerberos but I do not thing it's used
with the Amanda that came with Redhat RPMS?
To end my tests I just tried to run a "telnet localhost amanda" which
gave me an error about bad port.
I just wonder:
Should not there be a service for amandad? I thing the guys at Redhat
forget to create one :-)
Has anyone had the same problem with Redahat 7.0?
--
MVH/ Best regards
Siavosh Akhtary
Technical Account Manager
Teraport Aktiebolag
L. Bommen 6
SE-411 04 G�TEBORG Sweden
Phone: +46 31 745 01 10
Mobile: +46 70 569 72 61
Fax: +46 31 745 00 10
http://www.teraport.de
begin:vcard
n:Akhtary;Siavosh
tel;cell:+46 70 569 72 61
tel;fax:+46 31 745 00 10
tel;work:+46 31 745 01 10
x-mozilla-html:FALSE
org:Teraport Aktiebolag
adr:;;Lilla Bommen 6;Gothenburg;;SE-411 04;Sweden
version:2.1
email;internet:[EMAIL PROTECTED]
title:TAM
fn:Siavosh Akhtary
end:vcard