bpbkar32 holds exe from executing
hi,
i am trying to use bpstart_notify batch file to launch, say, regedit or notepad program, before a backup starts - note this I am doing a test and found backup doesn't start and fails with "client timed out waiting for bpstart_notify to complete(74)". At the client-side, found that bpbkar32 process still running during this waiting period along with the program i am trying to call (notepad / regedit). Also tried using dir/p in the bpstart_notify batch file. Why is this happening?
I am doing this because, I am trying to integrate EV backup and NetBackup (6.5) Enterprise. Here EV will be put into readonly and readwrite mode using evopmode.bat file before and after backup starts and ends. bpstart_notify would contains evopmode.bat readonly and bpend_notify would contains evopmode.bat readwrite. evopmode.bat file contains putting storage service to offline and change few registry dwords values using reg add command.
I am failing to execute evopmode.bat file using bpstart_notify.bat. Can anybody help, please?
Guru.
Comments
just how are you going to use notepad in a script
If you invoke notepad in your script, then notepad is going to open, and require someone to do something then CLOSE notepad before the script can continue. I can see this as causing the time out because note might get opened but nobody is there is close it.
you need to use awk, or 'here' files or something that makes a file for you to read but I don't see how you could open notepad and expect anything else to happen.
Can you explain more what you are really trying to do?
I don't have to know how to spell....I work on Unix.
NetBackup 7.0.1 - AIX & Windows
actually what i need is
i want to execute evopmode.bat from bpstart_notify.bat.
as evopmode.bat is not being executed i tried putting notepad, dir/p, mkdir test, like this to test and see whether bpstart_notify.bat is really working. but what i found is notepad, dir/p did not execute but "mkdir test" did work. what found while executing notepad is that bpbkar32 as well as notepad process were found in the running process list in background but notepad application not launched.
bpstart_notify.bat will contain only;
In evopmode.bat i have only;
REM ========================== :GET_VCS_LASTONLINE REM ========================== SET VCS_CLUSTER=%1 SET VCS_RES=%2 SET VCS_LASTONLINE= for /F "tokens=1,2,3* delims= " %%A IN ('hares -display "%VCS_RES%" -clus "%VCS_CLUSTER%"') DO CALL :FIND_VCS_LASTONLINE_ATTRIBUTE %VCS_RES% %VCS_CLUSTER% %%A %%B %%C %%D GOTO :END REM ========================== :FIND_VCS_LASTONLINE_ATTRIBUTE REM ========================== IF "%1" NEQ "%3" GOTO :END IF "%2" NEQ "%5" GOTO :END IF "%4" NEQ "LastOnline" GOTO :END SET VCS_LASTONLINE=%6 GOTO :ENDHow long does it take this
How long does it take this script to complete when you call it on its own from the command line? Maybe it's just a matter of increasing the bpstart timeout.
DISCLAIMER: I'm totally guessing here. Your script is way above my head. :)
more standard way of evoking a script
you said your notify file contains
I don't have to know how to spell....I work on Unix.
NetBackup 7.0.1 - AIX & Windows
Question
I wonder if the problem isn't that the script is getting run as "local system" and that account doesn't have enough permission to do what you want. In that case it might work as you and not work as "local system".
Technical Product Manger Symantec
now using windows schedule
hi,
now i am using windows schedules to take care of running the scripts. bpstart has not come to my help anywhere. still if anybody has any help in this regard and help me out of depending on windows schedules would be appreciated. increasing the timeout and checking the permissions are all done and even symantec support finally gave it up. : (
Would you like to reply?
Login or Register to post your comment.