Lotus Notes / Domino 10 > ND10: Administration & Userprobleme
TS001489373 - Nserver -c command not working properly when used with te amgr run
eknori (retired):
Supportanfragenummer
TS001489373
Beschreibung
Nserver -c command not working properly when used with te amgr run
With Domino 9.x we used the following program document settings to start an agent in an application on the server.
nserver -c "Tell AMgr Run ’LE4D.nsf’ 'letsencrypt’"
Starting with Domino 10 (also in beta ) this does no longer work as expected.
When the server tries to start the agent, we get the following output on the console
Tell AMGr Run 'LE4D.nsf' 'letsencrypt'
15.10.2018 07:24:11 AMgr: Start executing agent ' ' in 'LE4D.nsf'
15.10.2018 07:24:11 AMgr: Error attempting to load agent ' ' in 'LE4D.nsf': Entry not found in index
If we replace the single quotes around the dbname then we get a „invalid command“ error when the server executes the program document.
We have tried different ways to escape the double quotes without success.
Something must have changed in V10 in the way the -c command is parsed .
To me it seems that the second single quoted string (agentname) is not recognized.
This needs to be fixed ASAP, because many customers use this way to start agents.
This error has a huge impact.[
atbits:
Nicht schön aber selten.
Ist mir bei der Beta auch nicht aufgefallen.
Ich hoffe das wird schnell gefixed, vorher kann ich die Produktiv-Server nicht updaten :-(
Danke für den Hinweis Ulrich
eknori (retired):
gerade ist auch die SPR# reingekommen SPR GFALB5NKTV
plus
--- Code: ---The case has already been escalated to development and they are investigating the issue and I'm awaiting their feedback.
--- Ende Code ---
Zitti:
Oh oh... same here... :o
10/22/2018 06:00:07 Running Program document for 'server -c "tell amgr run 'le4dv2_0_0.nsf' 'letsencrypt'"'
> tell amgr run 'le4dv2_0_0.nsf' 'letsencrypt'
10/22/2018 06:00:09 AMgr: Start executing agent ' ' in 'le4dv2_0_0.nsf'
10/22/2018 06:00:09 AMgr: Error attempting to load agent ' ' in 'le4dv2_0_0.nsf': Entry not found in index
Das ist garnicht schön... hoffe das wird schnellstens gefixt....
Danke Ulrich für den Hinweis....
eknori (retired):
Du kannst einen workaround verwenden
Im Command-File steht dann
Tell AMgr Run "LE4D.nsf" 'letsencrypt'
Domino Log.nsf:
Tell AMgr Run "LE4D.nsf" 'letsencrypt'
16.10.2018 08:10:46 Running Program document for 'nserver -c "< C:\Domino\NotesNet\LE4D-Command.txt"'
16.10.2018 08:10:46 AMgr: Start executing agent 'letsencrypt' in 'LE4D.nsf'
16.10.2018 08:10:50 Agent Manager: Agent printing: LE4D - finished!
16.10.2018 08:10:50 AMgr: Agent 'letsencrypt' in 'LE4D.nsf' completed execution
Navigation
[0] Themen-Index
[#] Nächste Seite
Zur normalen Ansicht wechseln