Posted: Tue Aug 02, 2011 1:24 pm Post subject: runmqsc not working from my profile
Newbie
Joined: 26 Jun 2009 Posts: 9
Hi,
Recenly we have installed Websphere MQ 7.0.1.4 on a virtual server running on Linux 2.6.18-194.17.1.el5 OS. When tried to run runmqsc command it is not working from my profile. none of the control commands are working from my porile. Same commands are working fine When i run from mqm profile.
No error is thrown when i ran runmqsc command. But when i ran dspmqver i have got the below error.
dspmqver
AMQ7047: An unexpected error was encountered by a command.
AMQ6090: WebSphere MQ was unable to display an error message 40806106.
Usage: dspmqver [-p Components] [-f Fields] [-b] [-v]
All the files in /opt/mqm/bin have 775 permissions. User and Group owner of these files are mqm and mqm. My user id is added in the mqm group. Please help in this and let me know if any other info needed. In the FDC file i have seen "'13 - Permission denied' from Open CCSID.TBL" error. I have given 775 permissions to this file. But still i am facing the same problem. PFB the FDC report.
WebSphere MQ First Failure Symptom Report |
| ========================================= |
| |
| Date/Time :- Tue August 02 2011 10:38:31 PDT |
| UTC Time :- 1312306711.676816 |
| UTC Time Offset :- -420 (PST) |
| Host Name :- TEST.COM |
| Operating System :- Linux 2.6.18-194.17.1.el5 |
| PIDS :- 5724H7230 |
| LVLS :- 7.0.1.4 |
| Product Long Name :- WebSphere MQ for Linux (x86-64 platform) |
| Vendor :- IBM |
| Probe Id :- XC207003 |
| Application Name :- MQM |
| Component :- xxxInitialize |
| SCCS Info :- lib/cs/amqxxinc.c, 1.54.2.1 |
| Line Number :- 540 |
| Build Date :- Jan 14 2011 |
| CMVC level :- p701-104-110114 |
| Build Type :- IKAP - (Production) |
| Effective UserID :- 173 (userid) |
| Real UserID :- 173 (userid) |
| Program Name :- runmqsc |
| Addressing mode :- 64-bit |
| Process :- 32106 |
| Process(Thread) :- 32106 |
| Thread(n) :- 1 |
| UserApp :- FALSE |
| Last HQC :- 0.0.0-0 |
| Last HSHMEMB :- 0.0.0-0 |
| Major Errorcode :- xecF_E_UNEXPECTED_SYSTEM_RC |
| Minor Errorcode :- OK |
| Probe Type :- MSGAMQ6119 |
| Probe Severity :- 2 |
| Probe Description :- AMQ6119: An internal WebSphere MQ error has occurred |
| ('13 - Permission denied' from Open CCSID.TBL.) |
| FDCSequenceNumber :- 0 |
| Arith1 :- 13 (0xd) |
| Comment1 :- '13 - Permission denied' from Open CCSID.TBL.
All the files in /opt/mqm/bin have 775 permissions.
So you've got a bad install (or you manually changed permissions). Many of those files should have setuid/setgid. And not all are executable by everyone.
Let me guess since you didn't state it. You did not do a proper rpm install. Instead you are using a distribution something like Ubuntu and used "alien" to install MQ. That does not work as it does not run the installation scripts that set permissions.
You are absolutely correct. I have changed the permissions manually. When i saw the permissions suid was not set. Once again i have manually set the suid using 'chmod +s mqm' and now it has the suid set for the directory. Now i am able to run the runmqsc and other control commands form any profile. Thanks a lot for all the support.
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