I have run the script manually under root and mqm, queue manager started/stopped successfully by both. We have confirmed that the script is run under root during server startup.
-----Original Message----- From: MQSeries List [mailto:[EMAIL PROTECTED] Behalf Of Wyatt, T. Rob Sent: Friday, 12 March 2004 1:39 AM To: [EMAIL PROTECTED] Subject: Re: Auto start queue manager Hmmm...I never got Henry's response but I was headed in the same direction. Our Start/Stop script runqs MQ as mqm: su mqm -c "/opt/mqm/bin/StartMQ.pl" The StartMQ.pl script then cranks up MQ, the trigger monitor, the command server, the broker, the listener(s), etc. -- T.Rob -----Original Message----- From: Beinert, William [mailto:[EMAIL PROTECTED] Sent: Thursday, March 11, 2004 8:47 AM To: [EMAIL PROTECTED] Subject: Re: Auto start queue manager When you run it manually, are you mqm or root? How is it started during restart? I have had some confusing moments ofer this sort of thing... Bill -----Original Message----- From: MQSeries List [mailto:[EMAIL PROTECTED] Behalf Of Leung, Henry H Sent: Wednesday, March 10, 2004 5:40 PM To: [EMAIL PROTECTED] Subject: Re: Auto start queue manager T.Rob, case "$1" in 'start') /usr/sbin/ndd -set /dev/tcp tcp_keepalive_interval 300000 /opt/mqm/bin/strmqm QM1 wait $! /usr/bin/runmqsc QM1 < /var/mqm/admin/strtchl.cmd /opt/mqm/bin/strmqcsv QM1 ;; 'stop') /opt/mqm/bin/endmqm QM1 ;; If we invoke the script manually, QM1 starts/stops normally. During system restart, we found that the runmqsc command was processed but failed with rc2059. Regards Henry -----Original Message----- From: MQSeries List [mailto:[EMAIL PROTECTED] Behalf Of Wyatt, T. Rob Sent: Thursday, 11 March 2004 12:28 AM To: [EMAIL PROTECTED] Subject: Re: Auto start queue manager Henry, What's the line of script that starts the QMgr look like? -- T.Rob -----Original Message----- From: Leung, Henry H [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 09, 2004 5:58 PM To: [EMAIL PROTECTED] Subject: Auto start queue manager Hi, All, After migrating MQ for Sun Solaris from V5.2 to V5.3 with CSD06, we found that the queue manager no longer starts up automatically after restart of the server. It appears the strmqm command is not executed. We use a script in /etc/init.d and it was working fine under V5.2. Anybody have experienced the same problem and any ideas how it can be resolved? Thanks Henry Leung Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive
