Operating System - HP-UX
1834586 Members
3383 Online
110069 Solutions
New Discussion

Re: Trouble setting up an amanda client on HP-UX

 
Scott Sprague_4
Occasional Advisor

Trouble setting up an amanda client on HP-UX

Hello. I am setting up Amanda to do backups to disk on a linux server. The
linux side of things is running fine, but I'm having trouble getting the
client set up on an HP-UX 11.00. The uname -a from the HP:

apollo > uname -a
HP-UX apollo B.11.00 U 9000/800 808347471 unlimited-user license

The /etc/services entries on both the client and server are identical as far
as amanda is concerned. They are:

amanda 10080/tcp # amanda backup services
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 /etc/inetd.conf file from the HP (which has been kicked after editing):

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

The .amandahosts and .rhosts files are both in the ~amanda directory, and
contain the following line:

gdcvault amanda

Finally, I configured the amanda software with the following options:

--with-user=amanda
--with-group=disk
--with-tape-server=gdcvault
--without-server

I'm at a loss as to what's wrong. Any suggestions?
4 REPLIES 4
Sundar_7
Honored Contributor

Re: Trouble setting up an amanda client on HP-UX

You havent mentioned what is the trouble ? -what kind of error messages do you see ?
Learn What to do ,How to do and more importantly When to do ?
Scott Sprague_4
Occasional Advisor

Re: Trouble setting up an amanda client on HP-UX

Doh! That's what I get for writing this without enough caffeine. :) Here's the output from the backup server, gdcvault. J1 is the name of the HP I'm trying to back up.

-bash-2.05b$ /usr/sbin/amcheck Daily
Amanda Tape Server Host Check
-----------------------------
Holding disk /var/tmp/daily: 4011704 KB disk space available, that's plenty
NOTE: skipping tape-writable test
Tape Daily label ok
NOTE: info dir /var/lib/amanda/Daily/curinfo/j1: does not exist
NOTE: index dir /var/lib/amanda/Daily/index/j1: does not exist
Server check took 0.000 seconds

Amanda Backup Client Hosts Check
--------------------------------
WARNING: j1: selfcheck request timed out. Host down?
Client check: 3 hosts checked in 30.069 seconds, 1 problem found

(brought to you by Amanda 2.4.4)


Host J1 is up, is pingable from the backup server, and I can ssh to it from the backup server. They're both on the same network (10.23.1.x).
Richard Ray
Advisor

Re: Trouble setting up an amanda client on HP-UX

I'm having the same trouble. What was the solution?

Richard Ray
Scott Sprague_4
Occasional Advisor

Re: Trouble setting up an amanda client on HP-UX

We are using a local /etc/hosts file on the machine, instead of using DNS. The backup server uses DNS, so it didn't have a problem seeing the client, but I forgot to put the backup server in the client's /etc/hosts table, so it couldn't see the server. As soon as I did, the problem was solved, and we've been backing up the HP just fine.We have to use dump to back up the server, since it refuses to use gtar. That's one remaining problem I'd like to solve, but I'm just happy that the backups are now running.