Scheduled Agents not running on server

Strange…there is no rhyme or reason to this. The scheduled agents worked perfectly…then suddenly stopped working. Nothing has been changed at all. The server has been rebooted completely. Other servers in the domain have no such issues. Yet if I go in through designer I can run any of the agents manually and they behave as desired. I have tried all available troubleshooting tools. I am frustrated and at a loss.

Subject: Scheduled Agents not running on server

Andrew,

this only a rough guess, but I’d give it a try. Given that NO scheduled agent runs on your server, I’d guess that the agent manager might not be able to correctly read its configuration and might not be able correctly determine when to run your agents. This might be due to some corruption in the NAB view indices.

Try this:

  • Quit the server

  • from the server machine, open a command prompt and cd to the Notes program directory

  • enter the following command:

nupdall -r names.nsf

  • Make sure you don’t forget the -r switch! It is essential

  • Depending on the size of your NAB this may take some minutes

  • After nupdall -r has finished, restart your server.

  • Give the agents another try.

Doublecheck the Admin Client, server-status tab, in the Schedule-Agents view whether or not the agents are in the execution list.

Is there any error message when the server tries to run a scheduled agent, or do the agents never make it to being started by the Agent Manager at all?

Subject: Scheduled Agents not running on server

Andrew,

I’m not certain if you’ve tried this or not, but I would recommend taking a look at the agent properties themselves; reason being is that a few weeks ago, we encountered the same issue…come to find out there were a couple of things going on: (1) Agents were set as private and could not be signed with the Server’s ID, and the signer of the agent had insufficient priviledges to run such an agent. More speicifically, the setting that specifies shared v/s private had suddenly become active. Thanks to some genius! (2) After we resolved this, a group with insufficient priviledges had been entered in the Run As Web User field of the agent. And last but not least, (3) We had implemented tighter security within our server document.

After referencing some documentation on everything you wanna know about agents (posted by Julie K.), we were able to resolve our issues, and even get a more indepth understanding on agents themselves.

My recommendation would be to start with what I mentioned here above, if neither of these is your case, then do a search on Julie K and you’re sure to get some results; somewhere in there you should be pointed to the Tech Doc she created on this subject.

All The Best Luck,

Governor

Subject: RE: Scheduled Agents not running on server

Thank you for your detailed responses. I am going to get back into this issue during the afternoon. I hope to post of some success with this later. Thanks again.

Subject: RE: Scheduled Agents not running on server

If you check Agent FAQ you will see the collection of commonly asked/answered questions about Agents. There are a lot of tips on how to figure out why agents are not running - putting the agent manager in debug mode and running ‘test’ diagnostics would be where I start. Agent FAQ is under resources on the right.