ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » runmqsc not working from my profile

Post new topic  Reply to topic
 runmqsc not working from my profile « View previous topic :: View next topic » 
Author Message
urspradeep330
PostPosted: Tue Aug 02, 2011 1:24 pm    Post subject: runmqsc not working from my profile Reply with quote

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.

Thanks
Pradeep
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Aug 02, 2011 8:01 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Can you show us the output of the id command for your profile?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
markt
PostPosted: Tue Aug 02, 2011 9:57 pm    Post subject: Reply with quote

Knight

Joined: 14 May 2002
Posts: 508

Quote:
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.
Back to top
View user's profile Send private message
urspradeep330
PostPosted: Wed Aug 03, 2011 9:44 am    Post subject: Reply with quote

Newbie

Joined: 26 Jun 2009
Posts: 9

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » runmqsc not working from my profile
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.