Does anyone have a script that will check status of bopauth_nxd.exe process and if status=not running run pdm_d_refresh to start the process. Needs to check every 2 minutes. Windows2012
Hi Stephanie, I heard about this one and I know that our SE team is working hard to figure out what is causing the problem in your environment. As you know its not a common problem that we have come across and is a bit more complex than expected, but they are working feverishly to figure out the cause on this one. My first thought here is that if the process is actually crashing, meaning that it shows as not-running in pdm_status, and is not showing in task manager, then you dont really have to run a script to check it, but rather just have a script/batch file that runs pdm_d_refresh every 2-3 minutes. Pdm_d_refresh will only attempt to start processes that are not running at the time, and it will not affect any other processes that are running, so it should not be an issue to just run pdm_d_refresh every 2-3 mins as a fail-safe. With that, here is the syntax for a batch file to run pdm_d_refresh every 2 minutes, then run a pdm_status, and pipe out the date/time each time it runs just so you have a record of it:
echo %DATE% %TIME% >> "E:\CA\SERVIC~1\log"
echo -=-=-=-=-=-=-=-=-=-=-=-= >> "E:\CA\SERVIC~1\log"
echo Running pdm_d_refresh command >> "E:\CA\SERVIC~1\log"
timeout /t 3
echo Running pdm_status command >> "E:\CA\SERVIC~1\log"
pdm_status >> "E:\CA\SERVIC~1\log"
echo -=-=-=-=End-of-Cycle-=-=-=-=-=-=-=-= >> "E:\CA\SERVIC~1\log"
timeout /t 120
Looking at an nx.env that you had uploaded to one of your cases, it looks like you have SDM installed in "E:\CA\SERVICE~1", so I used that path in the batch file syntax for the log directory, but if that is not the case on this particular server, then just update the path in the syntax. Once running, the batch file will automatically re-run itself every 2 minutes. The challenge is that if you kick it off and then log off the server, it will stop working. To avoid that, you can either run it and then just lock the screen but stay logged into the server, OR, you can use task scheduler to kick it off as an admin user and select to run it whether or not the user is logged in.
Hope this helps in the mean time while we work on getting this resolved as quickly as we can.
Principal Support Engineer
It looks like you a problem where the bopauth_nxd process dies for whatever reason. The way you want to address the problem does not look like an efficient way. You should instead log a support case for assistance to figure out why the process dies or stops in the first place.
I have had a support ticket open since a week ago Tuesday. Trying to find a band aid since it is taking so long to figure out the issue. I have spectrum sending out alerts when the process goes up and down but not always around to restart it.
Hopefully SE will get a fix soon.
Thanks Jon. I wasn’t sure if I could just run the pdm_d_refresh command if all processes were in running status.
I tested in test environment and works perfect.
No problem - its my pleasure to help you guys out Basically all the pdm_d_refresh command does, is reset the "counter" on the processes - when a process fails, it will attempt to restart it 10 times, and after that if it wont start, it stops trying. So the pdm_d_refresh will reset that start counter to zero, and attempt to start any process that shows as "not running" in pdm_status.
This should alleviate the pain at least while SE works through the code.
Thanks, and I hope this will allow you to have a bit of a better day!!
Retrieving data ...