Amanda-Users

Re: error processing config file with amcheck

2006-04-12 12:10:50
Subject: Re: error processing config file with amcheck
From: Thomas Ginestet <thomas.ginestet AT gpsa DOT fr>
To: Jean-Louis Martineau <martineau AT zmanda DOT com>
Date: Wed, 12 Apr 2006 18:05:29 +0200
Thanks JL you right. I've made my own dumptype and it's much better.
But amcheck tell me to run it as user backup instead of root and when I run it with user backup, i've got:

backup:/$ /usr/sbin/amcheck DailySet
amcheck: could not open /tmp/amanda/amcheck.temp.19982: Permission denied

amcheck is setuid so I don't understand why it fail (and why it tries to open /tmp/amanda)
-rwsr-xr--  1 root backup 35164 2006-04-03 14:07 amcheck

Any idea ?

Thomas


Jean-Louis Martineau a écrit :
Hi,

no-record is a predefined dumptype, you can't redefine it.

See 'man amanda.conf' or 'man amanda' for all predefined value.

The message could be more explicit.

Jean-Louis

Thomas Ginestet wrote:
Hi list,

I've got the following error running amcheck:

backup:/# amcheck DailySet
"/etc/amanda/DailySet/amanda
.conf", line 121: dumptype NO-RECORD
already defined on line -1
amcheck: errors processing config file "/etc/amanda/DailySet/amanda.conf"

I've checked the man page of amcheck but didn't find what this error
means.
Here are parts of my amanda.conf and disklist files concerning the
dumptype:

amanda.conf:

define dumptype no-record {
   comment "testing dump of this filesystem"
   options no-compress
   priority high
   index yes
}


disklist:

# PDC no-full backup
pdc /home/ no-record
pdc /etc/ no-record
pdc /var/lib/samba/ no-record

# Groupware no-full backup
groupware /etc/ no-record
groupware /var/spool/imap/ no-record
groupware /var/imap/ no-record


Did I made something wrong ?
Any help would be appreciate

Thanks a lot

Thomas


--
Service Informatique GPSA
tél:  01.53.20.50.22
mail: thomas.ginestet AT gpsa DOT fr


<Prev in Thread] Current Thread [Next in Thread>