Amanda-Users

Re: amcheck: skipping tape test because amdump or amflush seem to be running

2003-11-24 13:06:51
Subject: Re: amcheck: skipping tape test because amdump or amflush seem to be running
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: Cedric Boudin <cccbg AT t-online DOT de>, AMANDA Users <amanda-users AT amanda DOT org>
Date: Mon, 24 Nov 2003 19:05:17 +0100
Cedric Boudin wrote:

Hello honourable readers of the list,

After some succesfull testing, I wanted to make a run for real. As
recommended in the FAQ I removed:

  -curinfo
  -any log files from the log directory
  -tapelist
  -reseted the changer state file

so I run the amcheck on a particular configuration and I do get:

Amanda Tape Server Host Check
-----------------------------
Holding disk /var/backups/holdingdisk: 1431256 KB disk space available, that's 
plenty
WARNING: skipping tape test because amdump or amflush seem to be running
WARNING: if they are not, you must run amcleanup
NOTE: info dir /var/lib/amanda/test/curinfo/dell: does not exist
NOTE: index dir /var/lib/amanda/test/index/dell: does not exist
Server check took 0.023 seconds

---------------
so I run amcleanup on the configuration

and amcheck does not believe me.

I checked that I did not forget to delete the recommended files

no process is running, no tape is in the drive

Then there probably is a file named "amflush". Rename it to "amflush.0"
or "amflush.1" (next free number).
Maybe you ran amflush or other testing as root? Then some files/directores were created as root, and now owned by root, amanda cannot write in them.



I remember I had that problem before but forgot to take notes  and my
memory fails me right now.

Does anybody out there keep notes in a beter way or has a non failling
memory :=)

archives and google search did not help much on this topic

cedric



--
Paul Bijnens, Xplanation                            Tel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM    Fax  +32 16 397.512
http://www.xplanation.com/          email:  Paul.Bijnens AT xplanation DOT com
*********************a**************************************************
* I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, F6, *
* quit,  ZZ, :q, :q!,  M-Z, ^X^C,  logoff, logout, close, bye,  /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
* kill -9 1,  Alt-F4,  Ctrl-Alt-Del,  AltGr-NumLock,  Stop-A,  ...    *
* ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out          *
***********************************************************************