Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Aug 1997 13:53:57 -0700 (PDT)
From:      David Lowe <dlowe@sirius.com>
To:        freebsd-questions@freebsd.org
Subject:   problems configuring amanda
Message-ID:  <Pine.NXT.3.95q.970814123435.2316B-100000@ds9>

next in thread | raw e-mail | index | archive | help
People -

I'm trying to get amanda working.  As a test, I've installed the latest
version (2.3.0) on 2 machines - client and server.  Both are FreeBSD
2.2.1-RELEASE machines.

I've followed the steps in the docs/INSTALL document, scoured the man
pages, and searched the archives, to no avail.  The problem seems to be
that the client isn't responding to queries from the server.  Here's as
much diagnostic information as I could get (probably much more than
necessary ;)

--------------------------------------------------------------------------
server$ id
uid=12(ambackup) gid=12 groups=12
server$ amcheck test
Amanda Tape Server Host Check
-----------------------------
/tmp: 346779 KB disk space available, that's plenty.
ERROR: /dev/nrst0: no tape online.
       (expecting a new tape)
NOTE: skipping tape-writeable test.
Server check took 0.045 seconds.

Amanda Backup Client Hosts Check
--------------------------------
WARNING: client.sirius.com.: selfcheck request timed out.  Host down?
Client check: 1 hosts checked in 30.076 seconds, 1 problems found.

(brought to you by Amanda 2.3.0)
server$ amdump test
server$ cat log.19970814.0 
START planner date 19970814
START driver date 19970814
INFO planner Adding new disk client.sirius.com.:sd0.
ERROR taper no-tape [no tape online]
WARNING planner Request to mail1.sirius.com. timed out.
FAIL planner client.sirius.com. sd0 0 [no estimate or historical data]
FINISH planner date 19970814
WARNING driver WARNING: got empty schedule from planner
STATS driver startup time 30.156
FINISH driver date 19970814 time 30.178
--------------------------------------------------------------------------

And the configuration details.  On the server:

-- amanda.conf -----------------------------------------------------------
org "Test Config"               # your organization name for reports
mailto "admin@sirius.com"       # the mailing list for operators at your
site
dumpuser "ambackup"             # the user to run dumps under

dumpcycle 7
tapecycle 20

bumpsize 10 MB          # minimum savings (threshold) to bump level 1 -> 2
bumpdays     2          # minimum days at each level
bumpmult     2          # threshold = bumpsize * (level-1)**bumpmult

tapedev "/dev/nrst0"    # or use the (no-rewind!) tape device directly

tapetype EXB-8500       # what kind of tape it is (see tapetypes below)
labelstr ".*."  # label constraint regex: all tapes must match

diskdir "/tmp"  # where the holding disk is
disksize 100 MB                 # how much space can we use on it

infofile "/usr/local/etc/amanda/test/curinfo"   # database filename
logfile  "/usr/local/etc/amanda/test/log"       # log filename

[... snipped tapetype and dumptype declarations ...]
-------------------------------------------------------------------------

-- disklist -------------------------------------------------------------
client.sirius.com. sd0 comp-test
-------------------------------------------------------------------------

Both the client and server have:

amanda		10080/udp
kamanda		10081/udp

in /etc/services

and inetd.conf looks like (on both, and yes I restarted inetd...):

telnet  stream  tcp     nowait  root    /usr/libexec/telnetd    telnetd
finger  stream  tcp     nowait  nobody  /usr/libexec/fingerd    fingerd -s
-l
pop3    stream  tcp     nowait  root    /usr/local/sbin/popper  popper
amanda  dgram   udp     wait    ambackup /usr/local/libexec/amanda/amandad amandad
kamanda dgram   udp     wait    ambackup /usr/local/libexec/amanda/amandad amandad -krb4
shell  stream  tcp     nowait  root    /usr/libexec/rshd       rshd
login  stream  tcp     nowait  root    /usr/libexec/rlogind    rlogind
exec   stream  tcp     nowait  root    /usr/libexec/rexecd     rexecd

and both have ~ambackup/.rhosts which contains:

client.sirius.com ambackup
server.sirius.com ambackup

and is owned by ambackup.

tcpdump shows that the server is correctly probing the client, but that
the client isn't responding properly: 

-------------------------------------------------------------------------
client$ # amdump running on the server...
client$ tcpdump udp and host client and host server
tcpdump: listening on de0
13:50:37.949862 mail2.sirius.com.815 > mail1.amanda: udp 126
13:50:47.956256 mail2.sirius.com.815 > mail1.amanda: udp 126
13:50:57.966371 mail2.sirius.com.815 > mail1.amanda: udp 126
-------------------------------------------------------------------------

Somehow, it looks like amandad isn't getting started properly.  Any hints,
anyone?

Thanks,

					David Lowe




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NXT.3.95q.970814123435.2316B-100000>