Video Screencast Help
Search Video Help Close Back
to help
New in the Rewards Catalog: Vouchers for "Symantec Technical Specialist" and "Symantec Certified Specialist" exams.

Available_media Script Problems

Updated: 22 May 2010 | 4 comments
Gerald W. Gitau's picture
0 0 Votes
Login to vote

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

Gerald W. Gitau's picture
04
Oct
2006
0 Votes 0
Login to vote

My environment is WK3 and running NBU 6.0 MP3.

DavidParker's picture
04
Oct
2006
0 Votes 0
Login to vote

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 ...

Billy Strickland's picture
04
Oct
2006
0 Votes 0
Login to vote

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.)

Gerald W. Gitau's picture
04
Oct
2006
0 Votes 0
Login to vote

Thanks Billy. Problem sorted!