I have installed Amanda 2.4.2b2 on four workstation:
n.1 Linux i386 Red Hat 7.0 hostname = WIND
n.2 SunOS 5.7 Generic sun4u sparc SUNW,Ultra-5_10 hostname= cirrus and
nimbus
n.1 SGI IRIX64 6.2 hostname= tornado
the net work fine. I use cirrus with dat for tape server and every night
amdump works fine for workstation and pc with smbtar
Now the problem is for amrecover: from every work stations it is OK, but
from linux do not work.
I have upgraded Linux with amanda Version 2.4.2p1: no change but one
problem
more; I have root filesystem on a RAID disk and new version look for a
/dev/root device that do not exist. I have to link /dev/md4 to /dev/root
on linux or change SUN in disklist from / to /dev/md4
(on raid disk I do not use label that I known it is a problem)
below you can find some logs from my commands:
1) ping and nslookup fron linux to SUN OK
2) telnet from linux to SUN at port amandaidx OK
3) telnet from linux to SUN at port amidxtape OK
4) amrecover from linux to linux for test OK
5) amrecover from Linux to SUN and amrecover.debug NOT OK !
6) amrecover from SGI to SUN OK!
7) amrecover from SUN to Linux OK
Very strange !
Thanks in advance
Paolo Patruno
1)
# ping cirrus
PING cirrus.sat (192.168.1.4) from 192.168.1.2 : 56(84) bytes of data.
64 bytes from cirrus.sat (192.168.1.4): icmp_seq=0 ttl=255 time=222 usec
64 bytes from cirrus.sat (192.168.1.4): icmp_seq=1 ttl=255 time=180 usec
--- cirrus.sat ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/mdev = 0.180/0.201/0.222/0.021 ms
# nslookup cirrus
Server: localhost
Address: 127.0.0.1
Name: cirrus.sat
Address: 192.168.1.4
2)
# telnet cirrus amandaidx
Trying 192.168.1.4...
Connected to cirrus.sat.
Escape character is '^]'.
220 cirrus AMANDA index server (2.4.2b2) ready.
3)
# telnet cirrus amidxtape
Trying 192.168.1.4...
Connected to cirrus.sat.
Escape character is '^]'.
quit
Connection closed by foreign host.
4)
# amrecover -t wind -s wind
AMRECOVER Version 2.4.2p1. Contacting server on wind ...
220 wind AMANDA index server (2.4.2p1) ready.
200 Access OK
Setting restore date to today (2001-04-06)
200 Working date set to 2001-04-06.
"/etc/amanda/DailySet1/amanda.conf", line 87: Negative chunksize (-1) is
no
longer supported
501 Could not read config file /etc/amanda/DailySet1/amanda.conf!
501 Must set config before setting host.
Trying wind ...
501 Must set config before setting host.
Trying localhost.localdomain ...
501 Must set config before setting host.
Trying localhost ...
501 Must set config before setting host.
amrecover>
5)
#amrecover utenti -t cirrus -s cirrus
AMRECOVER Version 2.4.2p1. Contacting server on cirrus ...
amrecover: Error connecting to server: Invalid argument
#cat amrecover.debug
amrecover: debug 1 pid 7654 ruid 0 euid 0 start time Fri Apr 6 16:38:32
2001
Error connecting to server
amrecover: pid 7654 finish time Fri Apr 6 16:38:32 2001
6)
# amrecover utenti -t cirrus -s cirrus
AMRECOVER Version 2.4.2b2. Contacting server on cirrus ...
220 cirrus AMANDA index server (2.4.2b2) ready.
200 Access OK
Setting restore date to today (2001-04-06)
200 Working date set to 2001-04-06.
200 Config set to utenti.
200 Dump host set to tornado.
Can't determine disk and mount point from $CWD
amrecover> quit
200 Good bye.
7)
# amrecover -s wind -t wind
AMRECOVER Version 2.4.2b2. Contacting server on wind ...
220 wind AMANDA index server (2.4.2p1) ready.
200 Access OK
Setting restore date to today (2001-04-06)
200 Working date set to 2001-04-06.
"/etc/amanda/DailySet1/amanda.conf", line 87: Negative chunksize (-1) is
no longer supported
501 Could not read config file /etc/amanda/DailySet1/amanda.conf!
501 Must set config before setting host.
Trying cirrus ...
501 Must set config before setting host.
Trying cirrus.sat ...
501 Must set config before setting host.
Trying loghost ...
501 Must set config before setting host.
amrecover> quit
200 Good bye.
bash-2.03#