I am recieving the following errors when running

su amanda -c "amcheck daily"


<root@mail>su amanda -c "amcheck daily"
"/usr/local/etc/amanda/daily/amanda.conf", line 104: an identifier expected
"/usr/local/etc/amanda/daily/amanda.conf", line 104: "{" expected
"/usr/local/etc/amanda/daily/amanda.conf", line 104: end of line expected
"/usr/local/etc/amanda/daily/amanda.conf", line 105: holding disk parameter
expected
"/usr/local/etc/amanda/daily/amanda.conf", line 105: end of line expected
"/usr/local/etc/amanda/daily/amanda.conf", line 106: holding disk parameter
expected
"/usr/local/etc/amanda/daily/amanda.conf", line 106: end of line expected
amcheck: could not find config file
"/usr/local/etc/amanda/daily/amanda.conf"
<root@mail>


I have /etc/amamda/daily/amanda.conf linked to
/usr/local/etc/amanda/daily/amanda.conf

Here is a copy of the relivent lines of the amanda.conf.  I am running the
server and the client on the same machine.  Solaris 7.  Maybe I have the
holding disk section configured wrong?  Any help is always appreciated.
Thanks...

 92  # Specify holding disks.  These are used as a temporary staging area
for
    93  # dumps before they are written to tape and are recommended for most
sites.
    94  # The advantages include: tape drive is more likely to operate in
streaming
    95  # mode (which reduces tape and drive wear, reduces total dump time);
multiple
    96  # dumps can be done in parallel (which can dramatically reduce total
dump time.
    97  # The main disadvantage is that dumps on the holding disk need to be
flushed
    98  # (with amflush) to tape after an operating system crash or a tape
failure.
    99  # If no holding disks are specified then all dumps will be written
directly
   100  # to tape.  If a dump is too big to fit on the holding disk than it
will be
   101  # written directly to tape.  If more than one holding disk is
specified then
   102  # they will all be used round-robin.
   103
   104  holdingdisk /dev/dsk/c0t1d0s4 {
   105      directory "/export/home/dumps"
   106      use 1700 Mb
   107
   108
   109      chunksize 1Gb
   110      }
   111  #holdingdisk hd2 {
   112  #    directory "/dumps2/amanda"
   113  #    use 1000 Mb
   114  #    }
   115  #holdingdisk hd3 {
   116  #    directory "/mnt/disk4"
   117  #    use 1000 Mb
   118  #    }
   119
   120
   121  # If amanda cannot find a tape on which to store backups, it will
run
   122  # as many backups as it can to the holding disks.  In order to save
   123  # space for unattended backups, by default, amanda will only perform
   124  # incremental backups in this case, i.e., it will reserve 100% of
the
   125  # holding disk space for the so-called degraded mode backups.
   126  # However, if you specify a different value for the `reserve'
   127  # parameter, amanda will not degrade backups if they will fit in the
   128  # non-reserved portion of the holding disk.
   129
"amanda.conf" 402 lines, 17258 characters
<root@mail>su amanda -c "amcheck daily"
"/usr/local/etc/amanda/daily/amanda.conf", line 104: an identifier expected
"/usr/local/etc/amanda/daily/amanda.conf", line 104: "{" expected
"/usr/local/etc/amanda/daily/amanda.conf", line 104: end of line expected
"/usr/local/etc/amanda/daily/amanda.conf", line 105: holding disk parameter
expected
"/usr/local/etc/amanda/daily/amanda.conf", line 105: end of line expected
"/usr/local/etc/amanda/daily/amanda.conf", line 106: holding disk parameter
expected
"/usr/local/etc/amanda/daily/amanda.conf", line 106: end of line expected
amcheck: could not find config file
"/usr/local/etc/amanda/daily/amanda.conf"
<root@mail>


Brandon Amundson
BBN Technologies
LAB: 703 486 4567
Office: 703 486 4555
[EMAIL PROTECTED]

Reply via email to