* Gene Heskett <gene.heskett AT verizon DOT net> [20060908 15:01]:
> On Friday 08 September 2006 09:46, Jean-Francois Malouin wrote:
> >* Ronan KERYELL <Ronan.Keryell AT enstb DOT org> [20060908 06:41]:
> >> >>>>> On Thu, 7 Sep 2006 16:34:36 -0400, Jean-Francois Malouin
> >> >>>>> <Jean-Francois.Malouin AT bic.mni.mcgill DOT ca> said:
> >>
> >> Jean-Francois> Hello, I had my first compilation try at
> >> amanda-2.5.1 Jean-Francois> today on a SGI irix-6.5 and apart from the
> >> fact that I Jean-Francois> had to add '-lgen' to LDFLAGS while
> >> configuring Jean-Francois> everything went smooth. I read the release
> >> notes on the Jean-Francois> wiki on the new auth scheme and updated
> >> inetd.conf and Jean-Francois> the amandahost file and after installing
> >> a new Jean-Francois> amanda.conf and its minions (I plan to use a STK
> >> L180 Jean-Francois> with LTO drives) my first attempt at checking the
> >> Jean-Francois> server and client fails while parsing the conf file:
> >>
> >> Jean-Francois> "...amanda.conf", line 43: configuration keyword
> >> Jean-Francois> expected "...amanda.conf", line 43: end of line is
> >> Jean-Francois> expected
> >>
> >> Jean-Francois> ad nauseam. amanda.conf is 42 lines long...
> >>
> >> Jean-Francois> I compiled using the native sgi C compiler and gcc
> >> Jean-Francois> 3.3.2 with the same results. Any ideas?
> >>
> >> Same here for me.
> >>
> >> I guesse this is because the format of the conf file has changed and is
> >> less permisive about old features. So I needed to update my conf, by
> >> replacing for example "option compress best" by "compress client best"
> >> and so on. And afterwards it was fine.
> >>
> >> But with your file, we could help more...
> >
> >Here it comes with the includes put inline (makes it 185 lines long):
> >
> >org "stk_180-conf10"
> >mailto "amanda"
> >dumpuser "amanda"
> >inparallel 10
> >dumporder "TTTTTTTTTT"
> >taperalgo largestfit
> >netusage 1000 Mbps
> >dumpcycle 7 days
> >runspercycle 7
> >tapecycle 20 tapes
> >displayunit "m"
> >bumpsize 20 Mb
> >bumpdays 1
> >bumpmult 4
> >etimeout 2880
> >dtimeout 2880
> >ctimeout 60
> >tapebufs 20
> >runtapes 20
> >usetimestamps no
> >tpchanger "chg-zd-mtx"
> >tapedev "/hw/tape/500507630000d95d/lun0nrnsv/c2p400000"
> >rawtapedev "/dev/null"
> >changerfile "/opt/amanda/amanda10/etc/amanda/stk_180-conf10/stk_180"
> >changerdev "/dev/changer-l180"
> >tapetype "Ultrium-SGT-LTO1"
> >labelstr "^stk_180-conf10-[0-9][0-9]*$"
> >holdingdisk hd1 {
> > comment "main holding disk"
> > directory "/holddisk/conf10/stk_180"
> > use 100 Gb
> > chunksize 0
> >}
> >reserve 100
>
> Humm, I believe the reserve keyword defaults to 100%. I use about 20%.
yes, that's what the doc says...
>
> >autoflush no
> >diskfile "/opt/amanda/amanda10/etc/amanda/stk_180-conf10/disklist"
> >tapelist "/opt/amanda/amanda10/etc/amanda/stk_180-conf10/tapelist"
> >infofile "/opt/amanda/amanda10/usr/adm/amanda/stk_180-conf10/curinfo"
> >logdir "/opt/amanda/amanda10/usr/adm/amanda/stk_180-conf10/log"
> >indexdir "/opt/amanda/amanda10/usr/adm/amanda/stk_180-conf10/index"
> >columnspec
> > "HostName=0:8,Disk=1:8,OrigKB=1:10,OutKB=1:10,DumpRate=1:7,TapeRate=1:7"
> > amrecover_do_fsf yes
> ^ an extra space here & this is about line 43...
nope, I rechecked the amanda.conf I sent as well as the email
and there is no space there... maybe the mailter indentention?
[...%<...]
I've started from scratch and followed the order of keyword
as explained on the wiki and I still get the error:
line XXX: configuration keyword expected
line XXX: end of line is expected
where XXX is the 1 + the number of lines in amanda.conf.
Here is my new amanda.conf and amanda-client.conf that still have
amcheck barfing. I can't see what I'm missing. Or is it an declaration
order issue? That had me bitten a while ago...
amanda.conf:
org "stk_180-conf10"
mailto "amanda"
dumpcycle 7
runspercycle 7
tapecycle 20
usetimestamps no
dumpuser "amanda"
printer "wb219"
tapedev "/hw/tape/500507630000d95d/lun0nrnsv/c2p400000"
rawtapedev "/dev/null"
tpchanger "chg-zd-mtx"
changerdev "/dev/changer-l180"
changerfile "/opt/amanda/amanda10/etc/amanda/stk_180-conf10/stk_180"
runtapes 20
taperalgo largestfit
labelstr "^stk_180-conf10-[0-9][0-9]*$"
tapetype "Ultrium-SGT-LTO1"
ctimeout 60
dtimeout 2880
etimeout 2880
netusage 1000 Mbps
inparallel 10
displayunit "m"
dumporder "TTTTTTTTTT"
maxdumps 10
bumpsize 20 Mb
bumppercent 0
bumpmult 4
bumpdays 2
diskfile "/opt/amanda/amanda10/etc/amanda/stk_180-conf10/disklist"
infofile "/opt/amanda/amanda10/usr/adm/amanda/stk_180-conf10/curinfo"
logdir "/opt/amanda/amanda10/usr/adm/amanda/stk_180-conf10/log"
indexdir "/opt/amanda/amanda10/usr/adm/amanda/stk_180-conf10/index"
tapelist "/opt/amanda/amanda10/etc/amanda/stk_180-conf10/tapelist"
tapebufs 20
reserve 100
autoflush off
amrecover_do_fsf on
amrecover_check_label on
amrecover_changer "changer"
columnspec
"HostName=0:8,Disk=1:20,OrigMB=1:7,OutMB=1:7,DumpRate=1:4,TapeRate=1:
4"
holdingdisk hd1 {
directory "/holddisk/conf10/stk_180"
use 100 Gb
chunksize 0
}
define dumptype global {
index yes
record yes
auth "bsdtcp"
}
define dumptype always-full {
global
comment "Full dump of this filesystem always"
compress none
priority high
dumpcycle 0
}
define tapetype Ultrium-SGT-LTO1 {
length 101376 mbytes
filemark 0 kbytes
speed 15084 kps
}
define interface local {
comment "a local disk"
use 1000 kbps
}
define interface le0 {
comment "1 Gbps ethernet"
use 1 Gbps
}
amanda-client.conf:
conf "stk_180-conf10"
index_server "yorick"
tape_server "yorick"
tapedev "/hw/tape/500507630000d95d/lun0nrnsv/c2p400000"
auth "bsdtcp"
gnutar_list_dir "/opt/amanda/amanda10/var/amanda/gnutar-lists"
>
> --
> Cheers, Gene
> "There are four boxes to be used in defense of liberty:
> soap, ballot, jury, and ammo. Please use in that order."
> -Ed Howdershelt (Author)
> Yahoo.com and AOL/TW attorneys please note, additions to the above
> message by Gene Heskett are:
> Copyright 2006 by Maurice Eugene Heskett, all rights reserved.
--
<° ><
|