...
Info |
---|
|
Unable to connect socket to /usr/local/zendsvr6zendphp7/tmp/jobqueue.sock . No such file or directory |
Or there may be no message at all. This article tells how to verify the Job Queue is running and check for errors.
Environment
Zend Server 6 or 7 running on any version of IBM i. This document references version Zend Server 9.1.x, Zend Server 2018.0x and Zend Server 2019.0.x or higher. If you are running Zend Server 6 - 8.5.x, Please replace all instances of ZENDPHP7 or zendphp7 with ZENDSVR6 or zendsvr6.
Resolution
In the Zend Server administrative interface in your web browser, at address http://<your IBMi ip address>:10091 (http://<your 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 restart Zend Server, please click the 'Restart' icon to complete the task. The 'Restart' icon is in the uper upper right, and looks like a couple of arrows chasing 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 unavailable. So, consider scheduling this task for a time when usage is low.
...
Info |
---|
|
WRKACTJOB SBS(ZENDSVR6ZENDPHP7) |
Check for two entries on the 'Work with Active Jobs' display that look like this:
...
Info |
---|
|
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:
Info |
---|
|
GO ZENDSVR6ZENDPHP7/ZSVMENU |
Then use option '13. Job Queue Management Menu'. Then use option '1. Start Job Queue'.
...
To control which Zend Server daemons start up when the ZENDSVR subsystem is started, please make sure ZENDSVR6 ZENDPHP7 is in your library list, and then run this command:
...
Info |
---|
|
CHGDTAARA DTAARA(ZENDSVR6ZENDPHP7/ZAUTOJOB (7 1)) VALUE('1') |
...