× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Thanks. I'll take a look at the autostart jobs. Zend Core always starts. But I always have to start the Apache instances and the MySQL subsystem and instance manually. The autostart info is helpful.

Pete


Jim Essinger wrote:
Pete,

I had issues with this as well.

I have the following commands in my QSTRUP;

/* This will start ZENDCORE, MySQL and the basic ZEND HTTP server */
STRSBS SBSD(ZENDCORE/ZEND)
MONMSG MSGID(CPF0000)

/* Start the FLY RACING Zend PHP Backend
*/
SBMJOB CMD(CALL PGM(QP2SHELL)
+
PARM('/usr/local/Zend/apache2/bin/apachectl' '-f
+
/usr/local/Zend/apache2/conf/FLYRACING.conf -k
+
start')) JOB(FLYRACING) JOBQ(ZENDCORE/ZCOREJOBQ)
+

USER(ZENDADMIN)


STRTCPSVR SERVER(*HTTP)
HTTPSVR(FLYRACING)


The ZEND subsystem has two auto start jobs

ZC_STR_ASJ ZCOREJOBDA ZENDCORE
ZMYSQLSBS ZMYSQLSBS ZENDCORE

The job description for these contain the following entries that start the
process;

ZCOREJOBDA

User profile . . . . . . . . . . . . . . . . . . : ZENDADMIN
CL syntax check . . . . . . . . . . . . . . . . : *NOCHK
Hold on job queue . . . . . . . . . . . . . . . : *NO
End severity . . . . . . . . . . . . . . . . . . : 30
Job date . . . . . . . . . . . . . . . . . . . . : *SYSVAL
Job switches . . . . . . . . . . . . . . . . . . : 00000000
Inquiry message reply . . . . . . . . . . . . . : *RQD
Job priority (on job queue) . . . . . . . . . . : 5
Job queue . . . . . . . . . . . . . . . . . . . : ZCOREJOBQ
Library . . . . . . . . . . . . . . . . . . . : ZENDCORE
Output priority (on output queue) . . . . . . . : 5
Printer device . . . . . . . . . . . . . . . . . : *USRPRF
Output queue . . . . . . . . . . . . . . . . . . : *USRPRF
Library . . . . . . . . . . . . . . . . . . . :
Message logging:
Level . . . . . . . . . . . . . . . . . . . . : 4
Severity . . . . . . . . . . . . . . . . . . . : 0
Text . . . . . . . . . . . . . . . . . . . . . : *NOLIST
Log CL program commands . . . . . . . . . . . . : *YES
Job log output . . . . . . . . . . . . . . . . . : *SYSVAL
Accounting code . . . . . . . . . . . . . . . . : *USRPRF
Print text . . . . . . . . . . . . . . . . . . . : *SYSVAL

Routing data . . . . . . . . . . . . . . . . . . : ZCORE

Request data . . . . . . . . . . . . . . . . . . : QSYS/CALL
ZENDCORE/ZCCSBSA001
DDM conversation . . . . . . . . . . . . . . . . : *KEEP
Device recovery action . . . . . . . . . . . . . : *SYSVAL
Time slice end pool . . . . . . . . . . . . . . : *SYSVAL
Job message queue maximum size . . . . . . . . . : *SYSVAL
Job message queue full action . . . . . . . . . : *SYSVAL
Allow multiple threads . . . . . . . . . . . . . : *NO
Initial ASP group . . . . . . . . . . . . . . . : *NONE
Spooled file action . . . . . . . . . . . . . . : *SYSVAL
Text . . . . . . . . . . . . . . . . . . . . . . :

ZMYSQLSBS

User profile . . . . . . . . . . . . . . . . . . : ZENDADMIN
CL syntax check . . . . . . . . . . . . . . . . : *NOCHK
Hold on job queue . . . . . . . . . . . . . . . : *NO
End severity . . . . . . . . . . . . . . . . . . : 30
Job date . . . . . . . . . . . . . . . . . . . . : *SYSVAL
Job switches . . . . . . . . . . . . . . . . . . : 00000000
Inquiry message reply . . . . . . . . . . . . . : *RQD
Job priority (on job queue) . . . . . . . . . . : 5
Job queue . . . . . . . . . . . . . . . . . . . : QSYSNOMAX
Library . . . . . . . . . . . . . . . . . . . : QSYS
Output priority (on output queue) . . . . . . . : 5
Printer device . . . . . . . . . . . . . . . . . : *USRPRF
Output queue . . . . . . . . . . . . . . . . . . : *USRPRF
Library . . . . . . . . . . . . . . . . . . . :
Message logging:
Level . . . . . . . . . . . . . . . . . . . . : 4
Severity . . . . . . . . . . . . . . . . . . . : 0
Text . . . . . . . . . . . . . . . . . . . . . : *NOLIST
Log CL program commands . . . . . . . . . . . . : *NO
Job log output . . . . . . . . . . . . . . . . . : *SYSVAL
Accounting code . . . . . . . . . . . . . . . . : *USRPRF
Print text . . . . . . . . . . . . . . . . . . . : *SYSVAL

Routing data . . . . . . . . . . . . . . . . . . : ZCORE

Request data . . . . . . . . . . . . . . . . . . : QSYS/STRSBS
ZMYSQL/ZMYSQL
DDM conversation . . . . . . . . . . . . . . . . : *KEEP
Device recovery action . . . . . . . . . . . . . : *SYSVAL
Time slice end pool . . . . . . . . . . . . . . : *SYSVAL
Job message queue maximum size . . . . . . . . . : *SYSVAL
Job message queue full action . . . . . . . . . : *SYSVAL
Allow multiple threads . . . . . . . . . . . . . : *NO
Initial ASP group . . . . . . . . . . . . . . . : *NONE
Spooled file action . . . . . . . . . . . . . . : *SYSVAL
Text . . . . . . . . . . . . . . . . . . . . . . : Start MySQL Subsystem


Once the ZendCore subsystem is started, it starts the MySql subsystem.

Then I start the HTTP and ZEND instances for our web sites.

HTH


Jim


On Sat, Nov 21, 2009 at 1:00 PM, Pete Helgren <Pete@xxxxxxxxxx> wrote:

I was alerted to the fact that my blog was offline which was correct
since I had forgotten to start the Apache server instances and MySQL
after the local power company had shut off the power for a few hours to
replace a transformer. The Zend Core subsystem always starts with no
problem.

So I was just going to add a couple of entries to QSTRUP to start the
Apache Servers and the MySQL subsystem and then the MySQL daemon. No
sweat. However, although Zend has provided a handy manual way of
starting those services from a menu, I haven't been able to track down
the relevant commands or configuration changes behind those menu items.
The closest thing I can find from Zend is this:
http://www.zend.com/support/knowledgebase.php?kbid=298&view_only=1 which
identifies how to start the Zend Core subsystem in QSTRUP but nothing
about individual services (although they are mentioned).

Can anyone provide the commands to start the Apache servers, the MySQL
subsystem and the daemon?

Thanks

Pete Helgren


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.