Author |
Message
|
Cliff |
Posted: Mon Oct 24, 2005 3:41 am Post subject: MQ 6 Explorer won't start on RH Linux for mqm |
|
|
Centurion
Joined: 27 Jun 2001 Posts: 145 Location: Wiltshire
|
Folks,
I have FC3 running under VMWare 5.0.0 and I installed WMQ 6 with no apparent problems. I can create QMgrs etc from the command line in the usual manner, but have a problem with the Eclipse tooling. As root, the Explorer starts (opt/mqm/bin/strmqcfg) but root, quite correctly, has no rights to do anything. So I su to mqm and the Explorer will not start. In fact nothing happens at all - nothing in the system logs either - so I have no clues as to where the problem lies.
I know others (Wayne?) have this working, so could someone please tell me what I've missed? There are no clues in the documentation that I can find.
Thanks folks -
Cliff |
|
Back to top |
|
 |
wschutz |
Posted: Mon Oct 24, 2005 6:18 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Does it work if you put root in the mqm group? _________________ -wayne |
|
Back to top |
|
 |
rowles |
Posted: Mon Oct 24, 2005 7:04 am Post subject: |
|
|
 Acolyte
Joined: 12 Oct 2005 Posts: 51
|
Did you log on graphically as root? If so then the mqm user will have no rights to display on the screen, crudely this can be fixed by running:
as root before launching.
Also did you use su mqm, or su - mqm, if it was the former then it could be you have picked up some incorrect environment which has meant you are trying to read / write from some files that have been created as root and now mqm user does not have permission. As mentioned putting root in the mqm group might solve this problem.
Another potential gotcha is if the mqm user has its home directory mounted under NFS, eclipse needs to write several sets of files into the home directory and gets very upset if this is on NFS.
If eclipse has go some way though the startup then there might be extra log information available from eclipse in the log file:
Code: |
$HOME/.mqdata/.metadata/.log |
or a log file in the following directory:
Code: |
$HOME/.eclipse/com.ibm.mq.explorer.branding_1.0.0/configuration/ |
Last edited by rowles on Mon Oct 24, 2005 7:22 am; edited 1 time in total |
|
Back to top |
|
 |
Cliff |
Posted: Mon Oct 24, 2005 7:09 am Post subject: |
|
|
Centurion
Joined: 27 Jun 2001 Posts: 145 Location: Wiltshire
|
Hi Wayne.
If you meant 'does the tooling start when signed on as mqm if root is a member of the mqm group', then the answer is no. The user 'cliff', also a member of mqm, can't start the tooling either. And I was executing ./strmqcfg -c from a pwd of /opt/mqm/bin, which should be fine.
What I don't want to do is make root the MQ administrator. This should, as I'm sure you'll agree, be left to a different user.
One thing I do see in the X.Org X11 log is an error message 'AUDIT: Mon Oct 24 16:59:29 2005:2946 X: client 18 rejected from local host' which looks to be at the time I attempt to start Eclipse. I can't find anything about this message and it may be a red herring anyway, of course.
So, still baffled....
Cliff |
|
Back to top |
|
 |
rowles |
Posted: Mon Oct 24, 2005 7:10 am Post subject: |
|
|
 Acolyte
Joined: 12 Oct 2005 Posts: 51
|
Cliff wrote: |
One thing I do see in the X.Org X11 log is an error message 'AUDIT: Mon Oct 24 16:59:29 2005:2946 X: client 18 rejected from local host' which looks to be at the time I attempt to start Eclipse. I can't find anything about this message and it may be a red herring anyway, of course.
So, still baffled....
Cliff |
Ah ha, thats the key thing, looks like my first suggestion was correct, execute the xhost +localhost command, then try starting running strmqcfg
*edit* oh, and the -c flag runs eclipse -clean, so don't use that as the usual start method as it will slow down your launch time as eclipse tries to clean out all of its cache information every time. |
|
Back to top |
|
 |
Cliff |
Posted: Mon Oct 24, 2005 8:47 am Post subject: |
|
|
Centurion
Joined: 27 Jun 2001 Posts: 145 Location: Wiltshire
|
Mr/Mrs/Miss/Ms Rowles,
thanks. The xhost +localhost command didn't make any difference, but what worked was logging on graphically as the mqm member 'cliff' and starting the tooling from a terminal. Bingo, all works just fine.
So thanks again. Now to install DB2 + RAC + Broker 6 .........
Cheers -
Cliff |
|
Back to top |
|
 |
rowles |
Posted: Mon Oct 24, 2005 11:59 pm Post subject: |
|
|
 Acolyte
Joined: 12 Oct 2005 Posts: 51
|
Cliff wrote: |
Mr/Mrs/Miss/Ms Rowles,
thanks. The xhost +localhost command didn't make any difference, but what worked was logging on graphically as the mqm member 'cliff' and starting the tooling from a terminal. Bingo, all works just fine.
So thanks again. Now to install DB2 + RAC + Broker 6 .........
Cheers -
Cliff |
Hehe, its Mr, guess I ought to have a signature!
interesting that xhost +localhost didn't work, glad you got it working though! |
|
Back to top |
|
 |
wschutz |
Posted: Tue Oct 25, 2005 2:03 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Quote: |
interesting that xhost +localhost didn't work, glad you got it working though! |
Perhaps DISPLAY wasn't being set in the environment he SU'd into. _________________ -wayne |
|
Back to top |
|
 |
|