Amanda-Users

Re: amanda server on sco 5.0.6

2003-12-23 12:39:03
Subject: Re: amanda server on sco 5.0.6
From: "Kurt Yoder" <kylist AT shcorp DOT com>
To: gene.heskett AT verizon DOT net
Date: Tue, 23 Dec 2003 12:35:04 -0500 (EST)
Gene Heskett said:
> On Tuesday 23 December 2003 11:01, Kurt Yoder wrote:
>>Gene Heskett said:
>>
>><snipped>
>>
>>>>So if amlable is having trouble with this line, but this line
>>>>appears syntactically correct and doesn't cause warnings for
>>>>amcheck, doesn't it indicate some sort of trouble with my
>>>> compiled
>>>>amlabel? Could commenting out changer-src have caused this? Or is
>>>> it
>>>>something else?
>>>
>>> Is there a missmatch between the system end of line convention,
>>> like one is expecting a crlf and the other is lf only?
>>
>>There shouldn't be. They're both Unix. Also, if there were a
>>mismatch, wouldn't amcheck complain about it?
>
> I'd certainly think so Kurt.  Maybe it does have something to do
> with
> commenting out the changer-src stuffs.  Browseing the amlabel srcs
> might be informative.  But you knew that, and I'm just prattling. :)

Eh... forgive me, but I am a bit allergic to C source. Just not that
familiar with it. Someday...

OK, I figured out the problem with make. I think my sources got
messed up somehow. So I re-downloaded a virgin copy and
configure/make/make install worked without and changer-src trickery.

However, I'm still faced with the same problem when trying to run
amlabel. Maybe someone on the list can recommend something to try
based on what is in my configs, plust the errors I am getting?


####################################################################
Here's output of "amlabel REDailySet1 REDS1tape01":
####################################################################

"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 1:
configuration keyword expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 1: end of line
expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 2:
configuration keyword expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 2: end of line
expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 3:
configuration keyword expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 6:
configuration keyword expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 6: end of line
expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 7:
configuration keyword expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 7: end of line
expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 8:
configuration keyword expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 8: end of line
expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 10:
configuration keyword expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 10: end of
line expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 11:
configuration keyword expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 11: end of
line expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 12:
configuration keyword expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 12: end of
line expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 14:
configuration keyword expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 14: end of
line expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 15:
configuration keyword expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 15: end of
line expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 18:
configuration keyword expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 18: end of
line expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 19:
configuration keyword expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 19: end of
line expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 20:
configuration keyword expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 20: end of
line expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 21:
configuration keyword expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 21: end of
line expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 23:
configuration keyword expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 23: end of
line expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 24:
configuration keyword expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 24: end of
line expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 25:
configuration keyword expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 25: end of
line expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 26:
configuration keyword expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 26: end of
line expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 27:
configuration keyword expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 28:
configuration keyword expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 28: end of
line expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 29:
configuration keyword expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 29: end of
line expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 30:
configuration keyword expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 30: end of
line expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 31:
configuration keyword expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 31: end of
line expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 32:
configuration keyword expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 34:
configuration keyword expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 34: end of
line expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 35:
configuration keyword expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 35: end of
line expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 42:
configuration keyword expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 42: end of
line expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 43:
configuration keyword expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 43: end of
line expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 45:
configuration keyword expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 45: end of
line expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 46:
configuration keyword expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 46: end of
line expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 47:
configuration keyword expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 50:
configuration keyword expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 50: end of
line expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 51:
configuration keyword expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 53:
configuration keyword expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 53: end of
line expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 54:
configuration keyword expected
"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 0: default
tapetype EXABYTE not defined
amlabel: errors processing config file
"/usr/local/etc/amanda/REDailySet1/amanda.conf"


####################################################################
Here's my /usr/local/etc/amanda/REDailySet1/amanda.conf:
####################################################################

org "Regency DailySet1"

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

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

labelstr "REDS1tape[0-9][0-9]*"

infofile "/usr/local/amanda/lib/REDailySet1/curinfo"
logfile  "/usr/local/amanda/log/REDailySet1/log"
indexdir "/usr/local/amanda/lib/REDailySet1/index"
includefile "/usr/local/etc/amanda/amanda.conf.main"



####################################################################
Here's my /usr/local/etc/amanda/amanda.conf.main:
####################################################################

mailto "kylist AT shcorp DOT com"
dumpuser "backup"
inparallel 4
netusage  36000
tapedev "/dev/nrStp0"
reserve 25

tapetype DDS3
holdingdisk hold1 {
  comment "Main holding disk"
  directory "/usr/local/amanda/holdingdisk"
  use 4 GB
}
etimeout 3200
dtimeout 3600
ctimeout 60

columnspec
"Disk=1:10,HostName=0:10,Level=1:2,OrigKB=1:9,OutKB=1:9,Compress=1:6,DumpTime=1:7,DumpRate=1:7,TapeTime=1:7,TapeRate=1:7"
define tapetype QIC-60 {
    comment "Archive Viper"
    length 60 mbytes
    filemark 100 kbytes
    speed 100 kbytes
}
define tapetype DEC-DLT2000 {
    comment "DEC Differential Digital Linear Tape 2000"
    length 15000 mbytes
    filemark 8 kbytes
    speed 1250 kbytes
}
define tapetype DLT {
    comment "DLT tape drives"
    length 20000 mbytes
    filemark 2000 kbytes
    speed 1500 kbytes
}
define tapetype DLT-80 {
    comment "DLT 40/80 tape drive produced by tapetype program"


    length 37595 mbytes
    filemark 32 kbytes
    speed 5608 kps
}
define tapetype SURESTORE-1200E {
    comment "HP AutoLoader"
    length 3900 mbytes
    filemark 100 kbytes
    speed 500 kbytes
}
define tapetype EXB-8500 {
    comment "Exabyte EXB-8500 drive on decent machine"
    length 4200 mbytes
    filemark 48 kbytes
    speed 474 kbytes
}
define tapetype EXABYTE {
    comment "Exabyte EXB-8200 drive on decent machine"
    length 2200 mbytes
    filemark 2130 kbytes
    speed 240 kbytes
}
define tapetype EXB-8200 {
    comment "Exabyte EXB-8200 drive on decent machine"
    length 2200 mbytes
    filemark 2130 kbytes
    speed 240 kbytes
}
define tapetype HP-DAT {
    comment "DAT tape drives"
    length 1900 mbytes
    filemark 100 kbytes
    speed 500 kbytes
}
define tapetype DAT {
    comment "DAT tape drives"
    length 1000 mbytes
    filemark 100 kbytes
    speed 100 kbytes
}
define tapetype MIMSY-MEGATAPE {
    comment "Megatape (Exabyte based) drive through Emulex on Vax 8600"
    length 2200 mbytes
    filemark 2130 kbytes
    speed 170 kbytes
}
define tapetype QIC-3080 {
    comment "QIC 3080"
    length 2000 mbytes
    filemark 64 kbytes
    speed 250 kbytes
}
define tapetype DDS3 {
    comment "DDS3"
    length 11738 mbytes
    filemark 392 kbytes
    speed 1018 kbytes
}
define dumptype always-full {
    comment "Full dump of this filesystem always"
    options no-compress
    priority high
    dumpcycle 0
    maxcycle 0
}
define dumptype comp-user-tar {
    program "GNUTAR"
    comment "partitions dumped with tar"
    options compress-fast, index, exclude-list
"amanda_dump_exclude.txt"
    priority medium
}
define dumptype no-exclude-comp-user-tar {
    program "GNUTAR"
    comment "partitions dumped with tar"
    options compress-fast, index
    priority medium
}
define dumptype server-comp-user-tar {
    program "GNUTAR"
    comment "partitions dumped with tar and compressed on server"
    compress server fast
    options index, exclude-list "amanda_dump_exclude.txt"
    priority medium
}
define dumptype comp-root-tar {
    program "GNUTAR"
    comment "Root partitions with compression"
    options compress-fast, index, exclude-list
"amanda_dump_exclude.txt"
    priority low
}
define dumptype user-tar {
    program "GNUTAR"
    comment "partitions dumped with tar"
    options no-compress, index, exclude-list "amanda_dump_exclude.txt"
    priority medium
}
define dumptype high-tar {
    program "GNUTAR"
    comment "partitions dumped with tar"
    options no-compress, index, exclude-list "amanda_dump_exclude.txt"
    priority high
}
define dumptype root-tar {
    program "GNUTAR"
    comment "Root partitions dumped with tar"
    options no-compress, index, exclude-list "amanda_dump_exclude.txt"
    priority low
}
define dumptype comp-user {
    comment "Non-root partitions on reasonably fast machines"
    options compress-fast
    priority medium
}
define dumptype nocomp-user {
    comment "Non-root partitions on slow machines"
    options no-compress
    priority medium
}
define dumptype holding-disk {
    comment "The master-host holding disk itself"
    options no-hold
    priority medium
}
define dumptype comp-root {
    comment "Root partitions with compression"
    options compress-fast
    priority low
}
define dumptype nocomp-root {
    comment "Root partitions without compression"
    options no-compress
    priority low
}
define dumptype comp-high {
    comment "very important partitions on fast machines"
    options compress-best
    priority high
}
define dumptype nocomp-high {
    comment "very important partitions on slow machines"
    options no-compress
    priority high
}
define dumptype nocomp-test {
    comment "test dump without compression, no /etc/dumpdates
recording"
    options no-compress, no-record
    priority medium
}
define dumptype comp-test {
    comment "test dump with compression, no /etc/dumpdates recording"
    options compress-fast, no-record
    priority medium
}



-- 
Kurt Yoder
Sport & Health network administrator