|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
queue manager service not starting command |
« View previous topic :: View next topic » |
Author |
Message
|
ae06425 |
Posted: Wed May 16, 2012 1:18 pm Post subject: queue manager service not starting command |
|
|
Centurion
Joined: 02 Apr 2007 Posts: 100
|
solaris 10, wmq V7
I have below SERVICE defined to run some ksh script
SERVICE(JVM) CONTROL(QMGR)
SERVTYPE(COMMAND)
STARTCMD(/tmp/jvm1.sh)
STARTARG( ) STOPCMD( )
STOPARG( )
STDOUT(/tmp/log.txt)
STDERR(/tmp/err.txt) DESCR(bounce jvms)
ALTDATE(2012-05-16) ALTTIME(14.14.18)
starting queue manager doesn't run the ksh script via service.
all permissions are good
what possibly am I missing?
thx |
|
Back to top |
|
 |
bruce2359 |
Posted: Wed May 16, 2012 1:41 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Any errors logged?
Can you manually execute the exact same script from a shell? If so, does the qmgr have the same privileges as those when you successfully executed the same script? _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
mvic |
Posted: Wed May 16, 2012 1:52 pm Post subject: Re: queue manager service not starting command |
|
|
 Jedi
Joined: 09 Mar 2004 Posts: 2080
|
Also consider a trace, and grep the trace for the name of your script; maybe the error will be there in greater detail.
strmqtrc -m QMNAME -t all -t detail
recreate failure
endmqtrc -m QMNAME
cd /var/mqm/trace
dspmqtrc *.TRC
grep /tmp/jvm1.sh *.FMT |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed May 16, 2012 9:55 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
does your jvm have any front end interaction or can it run exclusively in the background? And shouldn't startarg be '&' ?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|