Amanda-Users

Tape changer is not sending mail notification

2006-03-25 16:55:11
Subject: Tape changer is not sending mail notification
From: "Nathanel" <nathanels AT biocontrol.co DOT il>
To: <amanda-users AT amanda DOT org>
Date: Sat, 25 Mar 2006 23:49:08 +0200

Hi,

 

I have following line in :

-bash-2.05b$tail /var/lib/amanda/Weekly/log

INFO taper tape archive8 kb 73908032 fm 19 writing file: No space left on device

 

But I don’t receive any mail notification about tape changer.

 

I do able to receive mail for all other Amanda activity.

 

Following processes are running:

 

-bash-2.05b$ ps -ef | grep amanda

amanda   18924 18923  0 Mar23 ?        00:03:12 taper Weekly

amanda   18932 18923  0 Mar23 ?        00:00:00 dumper1 Weekly

amanda   18933 18923  0 Mar23 ?        00:00:00 dumper2 Weekly

amanda   18936 18923  0 Mar23 ?        00:00:00 dumper3 Weekly

amanda   18931 18923  1 Mar23 ?        00:43:54 dumper0 Weekly

amanda   10903 18925  0 Mar24 ?        00:00:00 /bin/sh /usr/lib/amanda/chg-manual -slot next

amanda   18925 18924  0 Mar23 ?        00:02:24 taper Weekly

root     16548 16516  0 23:48 pts/14   00:00:00 su - amanda

amanda   16549 16548  0 23:48 pts/14   00:00:00 -bash

amanda   18923 18914  0 Mar23 ?        00:00:04 /usr/lib/amanda/driver Weekly

amanda   18914     1  0 Mar23 ?        00:00:00 /bin/sh /usr/sbin/amdump Weekly

amanda   16588 16549  0 23:52 pts/14   00:00:00 ps –ef

 

Strace one of the processes shows:

 

-bash-2.05b$ strace -fp  10903 

Process 10903 attached - interrupt to quit

write(2, "/usr/lib/amanda/chg-manual: line"..., 73

 

Here the part of the file where the line 73 is after:” changerfile=`amgetconf$SUF changerfile” is empty:

 

-bash-2.05b$ vi /usr/lib/amanda/chg-manual

MAILER=/usr/bin/Mail

_ONLINEREGEX_="ONLINE|READY|sense[_ ]key[(]0x0[)]|sense key error = 0|^er=0$|, mt_erreg: 0x0|^Current Driver State: at rest$"

REPORTTO=`amgetconf$SUF mailto`

tape=`amgetconf$SUF tapedev`

ORG=`amgetconf$SUF ORG`

 

firstslot=1

lastslot=99

 

changerfile=`amgetconf$SUF changerfile`

 

cleanfile=$changerfile-clean

accessfile=$changerfile-access

slotfile=$changerfile-slot

 

The line 73 in  "/usr/lib/amanda/chg-manual” is empty,

 

 

 

 

What should I check to receive e-mail notification about tape change whiles it’ full?

 

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