Amanda-Users

Use of uninitialized value at /opt/amanda/sbin/amstatus line 868.

2004-07-28 05:29:34
Subject: Use of uninitialized value at /opt/amanda/sbin/amstatus line 868.
From: "Ranveer Attalia" <Ranveer.Attalia AT tertio DOT com>
To: <amanda-users AT amanda DOT org>
Date: Wed, 28 Jul 2004 10:15:03 +0100
I was wondering if anyone can help. Myself and colleagues have been
struggling with this amanda problem for a couple of weeks now and we
dont seem to be no where near resolving it. We thought you may beable to
enlighten us!
 
Bascially the daily backups on hostname: tsssun1 (Solaris 8
machine)appears to be failing. I've set up two slices on the disk for
the data before it flushes it to tape: 

/dev/dsk/c0t2d0s0    17408538      15 17234438     1%    /amanda
/dev/dsk/c0t3d0s0    35006272      29 34656181     1%    /amanda1



They write to disk but do not flush to tape. When I run an amflush on
it, it says that there are no files to flush. Also the /amanda and
/amanda1 partitions dont clear themselves up afterwards. Problem is,
this seems to be happening on different days (ie: one Monday it'll fail
and the next Monday it'll succeed - using the same tapes) I checked the
/tmp/ambackup_Daily.log file and it gave me about 10 lines of the error
below:
 
/tmp/ambackup_Daily.log
Use of uninitialized value at /opt/amanda/sbin/amstatus line 868.
 
 
/opt/amanda/sbin/amstatus
 
elsif($dump_finished{$hostpart} == 1 &&
 
$taper_started{$hostpart} != 1) {
                                                if( defined
$opt_waittaper ) {
                                                        printf "%8s ",
$datestamp if defined $opt_date;
                                                        printf
"%-${maxnamelength}s%2d", "$host:$partition", $level{$hostpart};
                                                        printf "%9dk",
$size{$hostpart};
                                                        print " dump
done";
                                                        if( defined
$starttime ) {
                                                                print "
(", &showtime($dump_time{$hostpart}), ")";
                                                        }
                                                        print ", wait
for writing to tape\n";
                                                }

 
 
 
If there are errors from the night before, or if I have to do an amflush
then I normally run an amcleanup Daily and then kill off all Amanda
processes that are currently running. IS this correct? should I be
killing off all processes or should there be some running in order for
the following nights backup to succeed?

Also any ideas on why this is happening intermittantly?

A confused amanda user:

- Ranveer 
 




________________________________________________________________________

Tertio Telecoms (www.telco-tertio.com)

Head Office: One Angel Square  Torrens Street  London  EC1V 1PL
Tel: +44 (0)20 7843 4000 - Fax: +44 (0)20 7843 4001

Bath Office: Riverside Buildings  108 Walcot Street  Bath  BA1 5BG
Tel: +44 (0)1225 478000 - Fax: +44 (0)1225 478001 

Munich Office: Freisinger Strasse 10, 85737 Ismaning/Munich, Germany,
Tel: +49 (0)89 665506 41 - Fax: +49 (0)89 665506 99

Any views expressed in this message are those of the individual sender,
except where the sender specifically states them to be the views of Tertio Ltd.

This email has been scanned by the MessageLabs Email Security System.
________________________________________________________________________


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