|
We have all the subsystems autostart as well as the web server. The following CL, which is called from QSTRUP starts mysql.
dcl var(&NULL) type(*char) len(1) value(x'00') 300 DCL var(&P1) type(*char) len(40) 400 dcl var(&P2) type(*char) len(90) 500 600 strsbs sbsd(zmysql/zmysql) 700 monmsg msgid(cpf1010) 800 900 chgvar var(&P1) value('/QOpenSys/usr/bin/ksh' *TCAT &NULL) 1000 chgvar var(&P2) value('/usr/local/mysql/bin/mysqld_safe + 1100 --user=mysql &' *TCAT &NULL) 1200
1300 SBMJOB CMD(CALL PGM(QP2SHELL) PARM(&P1 &P2)) + 1400 JOB(MYSQLD) JOBD(ZMYSQL/ZMySQLJOBD) 1500 1600 endpgm
Thanks,
Carl Novit
Vice President
FRS, Inc.
843.720.7436 ext.7708
Carln@xxxxxxxxx
Pete Helgren <Pete@xxxxxxxxxx> Sent by: midrange-l-bounces@xxxxxxxxxxxx
11/21/2009 03:00 PM
Please respond to
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
To
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
cc
Subject
Starting the Zend subsystems in QSTRUP
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
As an Amazon Associate we earn from qualifying purchases.
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.