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 » IBM MQ Installation/Configuration Support » how to find whether MQ client is installed in Linux

Post new topic  Reply to topic Goto page Previous  1, 2
 how to find whether MQ client is installed in Linux « View previous topic :: View next topic » 
Author Message
mqjeff
PostPosted: Thu Aug 27, 2015 4:51 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Did you verify that runmqsc uses MQSERVER?
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
pandeg
PostPosted: Thu Aug 27, 2015 6:07 am    Post subject: Reply with quote

Disciple

Joined: 21 Oct 2014
Posts: 195

mqjeff wrote:
Did you verify that runmqsc uses MQSERVER?


I exported MQSERVER as environment variable and executed "runmqsc" as mqm user and it gave me below results:
runmqsc ?
5724-H72 (C) Copyright IBM Corp. 1994, 2014.
Usage: runmqsc [-e] [-v] [-c] [-n] [-u UserName] [-w WaitTime [-x] [-m LocalQMgrName]] [QMgrName]

-c Client connection to queue manager.
-e Do not echo MQSC commands into the output.
-m Local queue manager used to send commands to the target.
-n Do not connect to a queue manager.
-u User name for authentication.
-v Verify commands without performing the actions.
-w Run the MQSC commands on another queue manager.
-x Target queue manager is on z/OS.

Not sure, if this is the way to verify runmqsc with MQSERVER
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Aug 27, 2015 6:21 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

pandeg wrote:
I exported MQSERVER as environment variable and executed "runmqsc" as mqm user and it gave me below results


Well what's the immediate potential issue with that then??


pandeg wrote:
Not sure, if this is the way to verify runmqsc with MQSERVER


Given that the method in no way exercises or engages with the client functionality, I'm not sure why you thought it might.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
pandeg
PostPosted: Thu Aug 27, 2015 6:33 am    Post subject: Reply with quote

Disciple

Joined: 21 Oct 2014
Posts: 195

Now , I am getting below message

AMQ8135: Not authorized.

0 command responses received.

As, per this link http://www-01.ibm.com/support/docview.wss?uid=swg21442991, runmsc permisison should be set with correct value. It is showing me value -r-xr-xr-x. in my linux machine.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Aug 27, 2015 6:37 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

pandeg wrote:
As, per this link http://www-01.ibm.com/support/docview.wss?uid=swg21442991, runmsc permisison should be set with correct value. It is showing me value -r-xr-xr-x. in my linux machine.


And you can post with a straight face that you think you shouldn't be getting an AMQ message from the MQ software because the OS permissions are set correctly?

pandeg wrote:
Now , I am getting


And why is "now" different from "then"? Have you randomly changed something in the hope you'll hit the magic combination?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
pandeg
PostPosted: Thu Aug 27, 2015 11:56 am    Post subject: Reply with quote

Disciple

Joined: 21 Oct 2014
Posts: 195

Thanks !

Now i am able to execute runmqsc command on remote Queue Manager. I want to pu some message using amqsputc but I am not seeing any client commands under /opt/mqm/samp/bin. I have just installed MQC8 client version on my machine. Do i have to install MQ Server 8 to get those commands.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Aug 27, 2015 12:04 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

pandeg wrote:
Now i am able to execute runmqsc command on remote Queue Manager.


Care to share how for the benefit of future readers?

pandeg wrote:
I want to pu some message using amqsputc but I am not seeing any client commands under /opt/mqm/samp/bin. I have just installed MQC8 client version on my machine. Do i have to install MQ Server 8 to get those commands.


As the directory path indicates, amqsputc isn't a command, it's a sample application.

You could always try copying them from the server install...
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
pandeg
PostPosted: Fri Aug 28, 2015 11:33 am    Post subject: Reply with quote

Disciple

Joined: 21 Oct 2014
Posts: 195

[quote="Vitor"]
pandeg wrote:
Now i am able to execute runmqsc command on remote Queue Manager.


Quote:
Care to share how for the benefit of future readers?


Sure...I installed MQC8 from IBM KC http://www-01.ibm.com/support/knowledgecenter/SSFKSJ_8.0.0/com.ibm.mq.ins.doc/q009010_.htm

Installed only 2 packages- MQSeries®Runtime and the MQSeriesClient.

Set following environment variables

MQSERVER=SVRCONN/TCP/remoteservername(port)
MQ_ENV_MODE=64
MQ_INSTALLATION_NAME=Installation1
MQ_INSTALLATION_PATH=/opt/mqm
MQ_DATA_PATH=/var/mqm
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Aug 28, 2015 12:43 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA



On behalf of the future readers, I thank you.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
pandeg
PostPosted: Fri Aug 28, 2015 1:35 pm    Post subject: Reply with quote

Disciple

Joined: 21 Oct 2014
Posts: 195

Vitor wrote:


On behalf of the future readers, I thank you.


Thanks Vitor !

Although , I am able to execute runmqsc command from remote system after installing MQ client. But, I am only able to execute as "mqm" user. Can i still able to execute runmqsc from other user after any configuration. These reason is we will have to remove "mqm" user from this system as we have uninstalled MQ server. We want the user to connect to remote MQ server with using non-mqm user id.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Fri Aug 28, 2015 2:00 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9394
Location: US: west coast, almost. Otherwise, enroute.

Control commands are restricted to mqm group on Unix
_________________
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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » how to find whether MQ client is installed in Linux
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.