Available_media Script Problems
Updated: 22 May 2010 | 4 comments
Hi All,
I normally use the available_media to change media in the library. Recently, one of my media server was offline and I tried running the script. It hanged and I canceled the process by pressing cltr + C. Since then, every time I try to run the script the following error appears:
D:\VERITAS\NetBackup\bin\goodies>available_media
You are already running Available_Media.
Try again later.
I have rebooted the master server six times and still the script won't run. I even rebooted all the media servers. That was two weeks ago and still no joy.
Please help.
discussion Filed Under:
Comments
My environment is WK3 and running NBU 6.0 MP3.
There's probably a touch-file out there that's indicating that the command is in use ...
I'm not totally familiar with 6.0, so I don't know for sure, or where to look, but I bet it's something like that ...
This is from the 5.1 script but I doubt it has changed:
@set LOCKFILE="%TEMP%\AM.%USERNAME%.lok"
@if NOT exist %LOCKFILE% goto SetLock
@echo You are already running Available_Media. 1>&2
@echo Try again later. 1>&2
So look for a lock file in your temp directory ('echo %TEMP%' at a command prompt if you are not sure.)
Thanks Billy. Problem sorted!
Would you like to reply?
Login or Register to post your comment.