Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Dec 1996 14:07:42 +0100 (MET)
From:      Andreas Klemm <andreas@klemm.gtn.com>
To:        Michael Reifenberger <root@totum.plaut.de>
Cc:        Yuri Gindin <yuri@aebeard.technion.ac.il>, gpalmer@FreeBSD.org, FreeBSD-Ports <freebsd-ports@FreeBSD.org>
Subject:   Re: amanda 2.3.0 anyone under current?
Message-ID:  <Pine.BSF.3.95.961201135042.19716A-100000@klemm.gtn.com>
In-Reply-To: <Pine.BSI.3.94.961125202716.20406B-100000@totum.plaut.de>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----

On Mon, 25 Nov 1996, Michael Reifenberger wrote:

> After trying amanda 2.3.0 on a current system it worked.
> The only problem I have now is, that running amdump from user bin's 
> cronjob , I get:
> PATH=/usr/local/libexec/amanda: Command not found.
> Bad : modifier in $ (/).  
> 
> Running amdump from terminal as user bin works OK.

My $0.02:

put a "#! /bin/sh" into the first line of the shellscript "amdump" 
to make sure, that it will be executed by the bourne shell ;-)

BTW, I'm still in deep trouble here. Don't get amanda working.

Perhaps one kind soul could look over my configuration ?!

Here is the mail I get, after starting amdump as user bin from 
a shell.
- ------------------------------------------------------------------------------
- From bin  Sun Dec  1 13:58:29 1996
Return-Path: <bin>
Received: (from bin@localhost) by klemm.gtn.com (8.8.3/8.8.2) id NAA16651 for andreas; Sun, 1 Dec 1996 13:58:29 +0100 (MET)
Date: Sun, 1 Dec 1996 13:58:29 +0100 (MET)
From: Binaries Commands and Source <bin@klemm.gtn.com>
Message-Id: <199612011258.NAA16651@klemm.gtn.com>
To: andreas@klemm.gtn.com
Subject: KLEMM AMANDA MAIL REPORT FOR December 1, 1996
Status: RO
X-Status: 

*** THE DUMPS DID NOT FINISH PROPERLY!

These dumps were to tape .
Tonight's dumps should go onto a new tape.

FAILURE AND STRANGE DUMP SUMMARY:
  taper: FATAL couldn't write tapelist: Permission denied
  klemm      sd0a  RESULTS MISSING
  klemm      sd0s3e  RESULTS MISSING
  klemm      sd0s3f  RESULTS MISSING
  klemm      sd0s3g  RESULTS MISSING
  klemm      sd1s1e  RESULTS MISSING
  klemm      sd1s1f  RESULTS MISSING


STATISTICS:
                          Total       Full      Daily
                        --------   --------   --------
Dump Time (hrs:min)        0:00       0:00       0:00   (0:00 start)
Output Size (meg)           0.0        0.0        0.0
Original Size (meg)         0.0        0.0        0.0
Avg Compressed Size (%)     --         --         -- 
Tape Used (%)               0.0        0.0        0.0
Filesystems Dumped            0          0          0
Avg Dump Rate (k/s)         --         --         -- 
Avg Tp Write Rate (k/s)     --         --         -- 


NOTES:
  planner: Adding new disk klemm:sd0a.
  planner: Adding new disk klemm:sd0s3e.
  planner: Adding new disk klemm:sd0s3f.
  planner: Adding new disk klemm:sd0s3g.
  planner: Adding new disk klemm:sd1s1e.
  planner: Adding new disk klemm:sd1s1f.


DUMP SUMMARY:
                                     DUMPER STATS                  TAPER STATS
  HOSTNAME   DISK      L  ORIG-KB   OUT-KB  COMP%  MMM:SS   KB/s  MMM:SS   KB/s
  ----------------------  --------------------------------------  -------------
  klemm      sd0a         MISSING ---------------------------------------------
  klemm      sd0s3e       MISSING ---------------------------------------------
  klemm      sd0s3f       MISSING ---------------------------------------------
  klemm      sd0s3g       MISSING ---------------------------------------------
  klemm      sd1s1e       MISSING ---------------------------------------------
  klemm      sd1s1f       MISSING ---------------------------------------------

(brought to you by Amanda version 2.2.6)
- -------------------------------------------------------------------------------

What I did after the make install:
a) made sure, that proper entries are in /etc/services and /etc/inetd.conf.
b) created the needed directory for my "akl" configuration
c) fixed the amdump script by putting #! /bin/sh in front of it
d) created a /var/log/amanda directory, which is writeable for the bin
   user.
e) chmod 666 /dev/*rst*

What's this tape list amanda can't write ?! *sigh* ;-)

Does somebody have a clue ?

Here my configuration:

- -----------------------------------------------------------------------------

#
# amanda.conf - sample Amanda configuration file.  This is the actual config
#		file in use at CS.UMD.EDU.
#
# If your configuration is called, say, "csd", then this file normally goes
# in /etc/amanda/csd/amanda.conf.
#

org "KLEMM"		# your organization name for reports
mailto "andreas"	# the mailing list for operators at your site
dumpuser "bin"		# the user to run dumps under

inparallel 3		# maximum dumpers that will run in parallel
netusage  999		# maximum net bandwidth for Amanda, in KB per sec

dumpcycle 1 weeks	# the number of days in the normal dump cycle
tapecycle 7 tapes	# the number of tapes in rotation

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

#tpchanger "chg-generic"	# the tape-changer glue script
tapedev "/dev/nrst0"	# or use the (no-rewind!) tape device directly

tapetype TDC-4222	# what kind of tape it is (see tapetypes below)
labelstr "^AKL[0-9][0-9]*$"	# label constraint regex: all tapes must match

#Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
#/dev/sd0s3e     63567     2976    55506     5%    /www

#diskdir "/www/holding-disk"	# where the holding disk is
#disksize 30 MB			# how much space can we use on it

# Amanda needs a few MB of diskspace for the log and debug files,
# as well as a database.  This stuff can grow large, so the conf directory
# isn't usually appropriate.  We use /usr/adm.  Create an amanda directory
# under there.  You need a separate infofile and logfile for each
# configuration, so create subdirectories for each conf and put the files
# there.  Specify the filenames below.

infofile "/var/log/amanda/curinfo"	# database filename
logfile	 "/var/log/amanda/log"		# log filename

# tapetypes
#
# Define the type of tape you use here, and use it in "tapetype" above.
# Some typical types of tapes are included here.  The tapetype tells amanda
# how many MB will fit on the tape, how big the filemarks are, and how
# fast the tape device is.
#
# For completeness Amanda should calculate the inter-record gaps too, but it
# doesn't.  For EXABYTE and DAT tapes this is ok.  Anyone using 9 tracks for
# amanda and need IRG calculations?  Drop me a note if so.

define tapetype TDC-4222 {
    comment "TANDBERG TDC-4222 5GB QIC TAPE"
    length 5000 mbytes
    filemark 32 kbytes
    speed 500 kbytes			
}

define dumptype akl-high {
    comment "high priority"
    options no-compress
    priority high
}

define dumptype akl-medium {
    comment "medium priority"
    options no-compress
    priority medium
}

define dumptype akl-low {
    comment "low priority"
    options no-compress
    priority low
}

- -----------------------------------------------------------------------------


# sample Amanda2 disklist file, derived from CS.UMD.EDU's disklist
#
# If your configuration is called, say, "csd2", then this file normally goes
# in /etc/amanda/csd2/disklist.
#
# File format is:
#
#	hostname diskdev dumptype
#
# where the dumptypes are defined by you in amanda.conf.

#Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
#/dev/sd0a       31775    14553    14680    50%    /
#/dev/sd0s3e     63567     2976    55506     5%    /www
#/dev/sd0s3f    127151    21914    95065    19%    /var
#/dev/sd0s3g    765058   642255    61599    91%    /usr
#/dev/sd1s1e    197951    93676    88439    51%    /news
#/dev/sd1s1f   1786531  1010960   632649    62%    /local

klemm sd0a   akl-high
klemm sd0s3e akl-low
klemm sd0s3f akl-medium
klemm sd0s3g akl-medium
klemm sd1s1e akl-low
klemm sd1s1f akl-high

- --
andreas@klemm.gtn.com         /\/\___      Wiechers & Partner Datentechnik GmbH
   Andreas Klemm          ___/\/\/         Support Unix -- andreas.klemm@wup.de
pgp p-key  http://www-swiss.ai.mit.edu/~bal/pks-toplev.html  >>> powered by <<<
ftp://sunsite.unc.edu/pub/Linux/system/Printing/aps-491.tgz  >>>    FreeBSD <<<

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv

iQCVAwUBMqGDIPMLpmkD/U+FAQH+GwP+ILn44VaClpL6/SSWxRfgBuAZYOmQd1yd
zKH65MwtJ2X7z2mG/omq5mwOZXIcqzfS/wbxNvfuGxjbqB2n1sFFyVeC0vaRZYiA
J79/W7ZMhcsGjwYTSf2Z2UcffeOY9Q+iVOmZbDNQMAwWl1XSMzKc8dLWgaDEu1zR
BpO7BJRi2zs=
=YIYl
-----END PGP SIGNATURE-----




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.961201135042.19716A-100000>