Date: Sat, 30 Mar 2024 07:46:56 +0000 (UTC) Message-ID: <1927394023.484.1711784816613@library.aws.roguewave.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_483_1252764877.1711784816611" ------=_Part_483_1252764877.1711784816611 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Zend Job Queue is not working. PHP scripts may return a message si= milar to this:
Or there may be no message at all. This article tells how to verif= y the Job Queue is running and check for errors.
Zend Server running on any version of IBM i. This document =
references version Zend Server 2020.x and 2021.x and higher. If you a=
re running 9.1.x, Zend Server 2018.0x or Zend Server 2019.0.x, or
In the Zend Server administrative interface in your web browser, at addr= ess http://<your IBMi ip address>:10101 (http://<your IBMi ip addr= ess>:10091 for versions 9.1.x, 2018.x and 2019.x or http://<you= r IBMi ip address>:10081 for versions 6 - 8.5.x), please navigate to the= Configurations -> Components tab.
Find Zend Job Queue on the list. Check the status. By default, the Zend = Job Queue status should be 'Loaded'.
If the status is 'Off', please check the check box on the left to select= Zend Job Queue, and then click the 'Enable' button. When prompted to resta= rt Zend Server, please click the 'Restart' icon to complete the task. The '= Restart' icon is in the upper right, and looks like a couple of arrows chas= ing each other around in a circle. Please note that 'Restart' will stop and= restart Apache, so for a couple of minutes your web site will be unavailab= le. So, consider scheduling this task for a time when usage is low.
If the status is 'Error', please check the messages field to see what fu= rther action needs to be taken.
Common situations that may prevent successful start up follow:
Step 1. Zend Server needs to be restarted (see above fo= r instructions on using the 'Restart' icon).
Step 2. The license is for Zend Server Basic, or the li= cense is expired. The Job Queue requires a current Zend Server license for = the Professional, Enterprise, or Developer edition. To learn more about the= differences between Zend Server for IBM i editions, please visit this web = page:
Zend Server for IBM i Editions Chart
To obtain a license for Zend Server, please contact your Zend Account Ma= nager.
Step 3. The Zend Job Queue daemon job needs to be start= ed on the IBM i. From the 5250 command line:
WRKACTJOB SBS(ZENDPHP74)
Chec= k for two entries on the 'Work with Active Jobs' display that look like thi= s:
ZSJOBQMNG QTMHHTTP BCI .0 PGM-watchdog
ZSJOBQMNG QTMHHTTP BCI .0 PGM-jqd
If they are missing, please go to the Zend Server for IBM i Service Menu= :
GO ZENDPHP74/ZSVMENU
Then use option '13. Job Queue Management Menu'. Then use option '1. Sta= rt Job Queue'.
Return to the 'Work with Active Jobs' display to verify that the Job Que= ue daemon jobs have started.
Step 4. By default, the Job Queue daemon is set up to s= tart automatically any time the ZENDPHP74 subsystem is started.
To control which Zend Server daemons start up when the ZENDphp74 subsyst= em is started, please make sure ZENDPHP74 is in your library list, and then= run this command:
ZSAUTOJOB
This= command displays the following screen:
Autostart Job Settings (ZSAUTOJOB)
Type choices, press Enter.
Monitor daemon (Y/N) . . . . . . > Y
Java Bridge daemon (Y/N) . . . . > N
Job Queue daemon (Y/N) . . . . . > Y
Deployment daemon (Y/N) . . . . > Y
Prngd daemon (Y/N) . . . . . . . > N
Zend Server Daemon (Y/N) . . . . > Y
Flag services that are desired to start up automatically with a 'Y'. Fla= g services that are not desired to start up automatically with an 'N'. Plea= se make sure that the Job Queue daemon is flagged 'Y'. Press enter for chan= ges to take effect.
After using ZSAUTOJOB, please run this command:
Step 5. If none = of the above steps resolve the issue, please run the Support Tool and send = the output to us. This article tells how: