Restart Apache on IBM i

Follow

Issue

Sometimes there is a need to restart the ZENDSVR6 Apache instance on the IBM i.  This article tells how to do it from the 5250 command line.  Doing it this way also provides the opportunity to look into the subsystem and verify that the jobs stop and start as intended.

Environment

Zend Server 6 or higher, running on any supported version of IBM i.

Resolution

Note: the menu options have changed for newer versions.  Please use the menu options that appear on your version of Zend Server.

From the 5250 command line:

GO ZENDSVR6/ZSVMENU

Depending on the version, use option "6. Stop Apache server instances" or option "11. Stop Apache Server Instance".

Use option "3. Work with Zend Server subsystems" or "3. Work with Zend Server Jobs".  Enter Subsystem Name "QHTTPSVR" or "2", and press Enter.  Verify that there are no jobs named "ZENDSVR6" active in this subsystem.  If any are there, use F5 a few times until all of them are gone.  If they will not end within a reasonable time, say 5 minutes or more, please end the jobs using option 4, optiion(*immed).  When there are no more ZENDSVR6 jobs in the QHTTPSVR subsystem, use F3 to return to the menu.

Use option "5. Start Apache server instances" or .

Once again, use option "3. Work with Zend Server subsystems" or "10. Start Apache Server Instance".  Enter Subsystem Name "QHTTPSVR" or "2", and press Enter.  Verify that there are at least 16 jobs named "ZENDSVR6" active in this subsystem.  If they do not appear right away, use F5 a few times until they are all there.  Note: If FastCGI has been modified from the default of 10 child processes, there should be 6 plus the number of child process jobs.

Have more questions? Submit a request

Comments

Powered by Zendesk