10.1 What to do if an attempt to set execution agents for the task-processing engine fails
If the KNAE04326-E message appears and an attempt to set execution agents for the task-processing engine fails during installation, the JP1 user might not have the required permissions. In this case, perform the following procedure.
Procedure
-
Execute the following command to start the JP1/AO service.
Common-Component-installation-folder\bin\hcmdssrv /start
-
Execute the following command to set the JP1 user with JP1_AO_Admin permission, JP1_AJS_Manager permission, and JP1_JPQ_Admin permission assigned in the JP1_USERNAME environment variable.
set JP1_USERNAME=JP1-user-name
-
Make sure that the HAutomation Engine service is running, and execute the following command to confirm the execution agent settings.
ajsagtshow -l#
Check the results of the command to see if all the conditions listed below are satisfied. If any condition is not satisfied, go to step 4 and change the execution agent settings. If all conditions are satisfied, steps 4 to 7 are unnecessary. Go to step 8.
-
The value of CON-EXE for @SYSTEM is 50.
-
The AGENT items contain loop.
-
The AGENT items contain userResponse.
-
-
If the value of CON-EXE for @SYSTEM is not 50, execute the following command to change the maximum number of concurrently executable jobs for the execution agent.
ajsagtalt -a @SYSTEM -c 00:00-00:00=50#
-
If the AGENT items do not contain loop, execute the following command to add loop to the execution agent settings.
ajsagtadd -a loop -s command-execution-host-name -c 00:00-00:00=20#
-
If the AGENT items do not contain userResponse, execute the following command to add userResponse to the execution agent settings.
ajsagtadd -a userResponse -s command-execution-host-name -c 00:00-00:00=70#
-
Execute the following command to back up the JP1/AO system with the new execution agent settings.
backupsystem /dir path-to-backup-data /auto#
- Important note
-
If you execute the restoresystem command to restore the system from the existing backup data without backing up the new execution agent settings, the JP1/AO system will return to the status that existed before the execution agent was changed.
-
Change the JP1 user to the user to which you assigned permissions in step 2.
For details about how to change a JP1 user, see 4.2 Procedure to change a JP1 user.
- #
-
For details about the location of the command, see A.1 List of folders. Commands whose name begins with ajs are stored in the folder for task-processing engine system files.
Related topics
-
Messages KNAE04000 through KNAE04999 in the manual Job Management Partner 1/Automatic Operation Messages