On Wed, Apr 26, 2006 at 05:11:00PM +0300, Silver Salonen wrote: > > On Wednesday 26 April 2006 16:52, you wrote: > > On 2006-04-26 15:40, Silver Salonen wrote: > > > Hi. > > > > > > As I'm in kind of hurry (I'm writing a bachelor's thesis about backups > > > and ... > > > > > > > > I've configured everything exactly as written on the quick start page, > > > but > > > > ... "exactly"... :-) > > > > > > > when I try to label a virtual tape (being actually a folder on hard > drive), I > > > get several errors about my amanda.conf. > > > > > > I execute: > > > # su - amandabackup > > > $ cd /backup/amanda-vtapes/ > > > $ ammt -t file:/backup/amanda-vtapes/tape rewind > > > $ amlabel daily Test-01 > > > > > > And get: > > > > > > "/etc/amanda/daily/amanda.conf", line 164: holding disk parameter expected > > > "/etc/amanda/daily/amanda.conf", line 164: end of line expected > > > > > > > > I think there's no point to copy-paste all the problematic lines, but I'd > do > > > it about some of the first. Lines from 164 to 168 are: > > > > > > infofile "/var/lib/amanda/daily/curinfo" # database > > > logdir "/var/lib/amanda/daily" # log directory > > > indexdir "/var/lib/amanda/daily/index" # index directory > > > tapelist "/var/lib/amanda/daily/tapelist" # list of used tapes > > > > How about the lines just before? > > There is probably a "holdingdisk" section, > > and you forgot to close the brace? > > > > Oh, damn. Now I'm embarrased.. that was it.. I just didn't uncomment the last > brace. >
Golden Rule of debugging, when you get a message about a bug on line 68, look first at line 67 ;) -- Jon H. LaBadie [EMAIL PROTECTED] JG Computing 4455 Province Line Road (609) 252-0159 Princeton, NJ 08540-4322 (609) 683-7220 (fax)
