Did you define GNUTAR using --with-gnutar= on the ./configure line or in a
suitably placed config.site file? From my
/usr/local/amanda/etc/config.site:

# GNUTAR        --with-gnutar=PROG
#           Default: look for program named gtar, gnutar or tar
#           that prints GNU tar when run with --version.
GNUTAR=/usr/freeware/bin/tar

Robert L. Becker, Jr.
Col, USAF, MC
Department of Cellular Pathology
Armed Forces Institute of Pathology
Washington, DC 20306-6000
301-319-0300



On Thu, 6 Jun 2002, Jerry - Industry wrote:

> Newbie question - installing Amanda for the first time.
>
> Checked the FAQ's and didn't find an answer to this problem - could be a
> case of not seeing the forest for the trees.
>
> I installed amanda-2.4.2p2 and apparently compiled successfully.  After
> completing the configuration file, amlabel-2.4.2p2 (using suffix) ran
> successfully and labeled all the tapes. But when I attempt to run
> amcheck-2.4.2p2, it has a problem with the keyword 'program "GNUTAR"' entry.
>
> This is the section of the config file containing the GNUTAR entry:
>
> 358 #   program     - specify the dump system to use.  Valid values are
> "DUMP" and
> 359 #                 "GNUTAR".  Default: [program "DUMP"].
> 360 program "GNUTAR"
> 361 #   record      - record the dump in /etc/dumpdates.  Default: [record
> yes]
> 362 #   skip-full   - skip the disk when a level 0 is due, to allow full
> backups
> 363 #                 outside Amanda, eg when the machine is in single-user
> mode.
>
> and the error message results from amcheck:
>
> possum# amcheck-2.4.2p2 -s Set1
> "/usr/local/etc/amanda/Set1/amanda.conf", line 360: configuration keyword
> expected
> "/usr/local/etc/amanda/Set1/amanda.conf", line 360: end of line expected
> "/usr/local/etc/amanda/Set1/amanda.conf", line 361: configuration keyword
> expected
> amcheck: could not find config file "/usr/local/etc/amanda/Set1/amanda.conf
>
> /tmp/amanda debug file shows this information:
>
> amcheck: debug 1 pid 78916 ruid 0 euid 1000 start time Thu Jun  6 10:55:19
> 2002
> amcheck: dgram_bind: socket bound to 0.0.0.0.3095
> could not find config file "/usr/local/etc/amanda/Set1/amanda.conf"
> amcheck: pid 78916 finish time Thu Jun  6 10:55:19 2002
>
> Although the reported error is "can't find", it appears that the program's
> reading the config file, then erroring out on the keyword entry.  I'm not
> sure what error I've made with the "keyword" but it's obvious there must be
> one there. I've removed and replaced the entry several times, tried it with
> and without the quotes, and got the same results.
>
> I'd really appreciate somebody steering me in the right direction so I can
> get Amanda up and running.
>
> Jerry Stretch
> Industry Inet
> [EMAIL PROTECTED]
>
>


Reply via email to