From owner-freebsd-questions Thu Aug 14 13:54:13 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id NAA12878 for questions-outgoing; Thu, 14 Aug 1997 13:54:13 -0700 (PDT) Received: from mail2.sirius.com (mail2.sirius.com [205.134.253.132]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA12871 for ; Thu, 14 Aug 1997 13:54:04 -0700 (PDT) Received: from ds9.sirius.com (ds9.sirius.com [205.134.226.34]) by mail2.sirius.com (8.8.7/Sirius-8.8.7-97.08.12) with ESMTP id NAA13870 for ; Thu, 14 Aug 1997 13:54:02 -0700 (PDT) Received: from localhost (dlowe@localhost) by ds9.sirius.com (8.6.12/961127) with SMTP id NAA02473 for ; Thu, 14 Aug 1997 13:53:59 -0700 X-Authentication-Warning: ds9.sirius.com: dlowe owned process doing -bs Date: Thu, 14 Aug 1997 13:53:57 -0700 (PDT) From: David Lowe X-Sender: dlowe@ds9 Reply-To: David Lowe To: freebsd-questions@freebsd.org Subject: problems configuring amanda Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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