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 » MQ Explorer Cannot Connect to MQ V7.5 (AMQ4043)

Post new topic  Reply to topic
 MQ Explorer Cannot Connect to MQ V7.5 (AMQ4043) « View previous topic :: View next topic » 
Author Message
naio
PostPosted: Fri Jul 19, 2013 11:38 am    Post subject: MQ Explorer Cannot Connect to MQ V7.5 (AMQ4043) Reply with quote

Voyager

Joined: 08 Nov 2012
Posts: 82

Hello Masters,

I am installing MQ server v7.5 for the first time in a Linux environment, and I am not beeing able to connect the MQ Explorer in a workStation with Windows 7 to que QM.

The error is AMQ4043, but I am not able to figured it out.

Theese are the steps:


LINUX Server login with mqsiuser

crtmqm -q -u SYSTEM.DEAD.LETTER.QUEUE QM1
strmqm QM1

runmqsc QM1
DEFINE QLOCAL(QUEUE1)
SET AUTHREC PROFILE(QUEUE1) OBJTYPE(QUEUE) PRINCIPAL('mqm') AUTHADD(PUT,GET,DSP)
SET AUTHREC OBJTYPE(QMGR) PRINCIPAL('mqm') AUTHADD(CONNECT,INQ,DSP)
SET AUTHREC PROFILE(SYSTEM.MQEXPLORER.REPLY.MODEL) OBJTYPE(QUEUE) PRINCIPAL('mqm') AUTHADD(DSP,INQ,GET)
SET AUTHREC PROFILE(SYSTEM.ADMIN.COMMAND.QUEUE) OBJTYPE(QUEUE) PRINCIPAL('mqm') AUTHADD(PUT,INQ)
DEFINE CHANNEL(QM1.SRVCONN) CHLTYPE(SVRCONN) MCAUSER('mqm')
DEFINE LISTENER(LISTENER.TCP) TRPTYPE(TCP) CONTROL(QMGR) PORT(1414) REPLACE
START CHANNEL(QM1.SRVCONN)
START LISTENER(LISTENER.TCP)
END


I have tried a telnet to 1414 from the workstation and works fine, I also chequed:

netstat -an | grep 1414
tcp 0 0 :::1414 :::* LISTEN



Any help will be apreciated!


Naio
_________________
"God is in his heaven all's right with the world"
Back to top
View user's profile Send private message
naio
PostPosted: Fri Jul 19, 2013 12:04 pm    Post subject: Reply with quote

Voyager

Joined: 08 Nov 2012
Posts: 82

Moreover,

IBM WebSphere MQ Explorer (on windows)

Version: 7.0

As it will be a Developers environment, I have tried:

ALTER QMGR CHLAUTH(DISABLED)


But I Still Cannot connect to the QM from MQ Explorer.

Thanks you in advance.
_________________
"God is in his heaven all's right with the world"
Back to top
View user's profile Send private message
bruce2359
PostPosted: Fri Jul 19, 2013 12:44 pm    Post subject: Reply with quote

Poobah

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

Did you research AMQ4043? Perhaps you could post the entire AMQ4043 error with all of the details?

Did you look in the error folders/directories for more details?
_________________
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
naio
PostPosted: Fri Jul 19, 2013 12:52 pm    Post subject: Reply with quote

Voyager

Joined: 08 Nov 2012
Posts: 82

The error is:

AMQ4043
Queue manager not available for connection. Ensure that the queue manager is running. If the queue manager is running on another computer, ensure it is configured to accept remote connections.



I have no new log entry in the server, since it is not receiving a cnx.


I am sure that is a problem, with the environment set up that I have made, but I have no further ideas.


Thanks in advace.
_________________
"God is in his heaven all's right with the world"
Back to top
View user's profile Send private message
bruce2359
PostPosted: Fri Jul 19, 2013 1:19 pm    Post subject: Reply with quote

Poobah

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

Have you tried any of the supplied applications, like amqsput, amqsbcg? How about amqsputc? Amqsbcgc? Did they, too, fail to connect?

What environment variables did you set/unset? Use the set command. Post the results here.
_________________
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
fjb_saper
PostPosted: Fri Jul 19, 2013 11:04 pm    Post subject: Reply with quote

Grand High Poobah

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

What user id is your qmgr and more importantly your listener running under?

_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Sat Jul 20, 2013 2:39 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

I don't see the necessary SET CHLAUTH commands in there to allow remote users to connect as an *MQADMIN user.

Please go look for the articles by Morag Hughson on MQExplorer and non-administrative users.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sat Jul 20, 2013 2:39 pm    Post subject: Reply with quote

Grand High Poobah

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

mqjeff wrote:
I don't see the necessary SET CHLAUTH commands in there to allow remote users to connect as an *MQADMIN user.

Please go look for the articles by Morag Hughson on MQExplorer and non-administrative users.


Sure but the op doesn't seem to get any traction either using chlauth(disabled). So the likely culprit is still somewhere else.

So a few suggestions: Verify spelling of connection parameters: host, channel(yes case does matter) and port.
Verify user id running the qmgr listener.

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
naio
PostPosted: Mon Jul 22, 2013 5:28 am    Post subject: Reply with quote

Voyager

Joined: 08 Nov 2012
Posts: 82

mqjeff I have tried "ALTER QMGR CHLAUTH(DISABLED)" but with no luky.

I am gonna study the link that you recomend me and I will let you know later.


As far as I know, the names are ok!


Thanks in advance!
_________________
"God is in his heaven all's right with the world"
Back to top
View user's profile Send private message
naio
PostPosted: Mon Jul 22, 2013 6:36 am    Post subject: MQ Explorer Cannot Connect to MQ V7.5 (AMQ4043) (SOLVED) Reply with quote

Voyager

Joined: 08 Nov 2012
Posts: 82

After revising the configuration, I found that the proxy sometimes was closing the conecction, so infra give constant accesss between the machines.

Then AMQ4036 appeared, so I create the proper users in my machine and run again:

ALTER CHL(CHANNEL.NAME) CHLTYPE(SVRCONN) MCAUSER('mqm')

And everything works fine!

Very good recomendation of reading from mqjeff.

Thanks to all!
_________________
"God is in his heaven all's right with the world"
Back to top
View user's profile Send private message
exerk
PostPosted: Mon Jul 22, 2013 6:49 am    Post subject: Re: MQ Explorer Cannot Connect to MQ V7.5 (AMQ4043) (SOLVED) Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

If you disable CHLAUTH, and do this:

naio wrote:
ALTER CHL(CHANNEL.NAME) CHLTYPE(SVRCONN) MCAUSER('mqm')


There is no need to do this:

Quote:
SET AUTHREC PROFILE(QUEUE1) OBJTYPE(QUEUE) PRINCIPAL('mqm') AUTHADD(PUT,GET,DSP)
SET AUTHREC OBJTYPE(QMGR) PRINCIPAL('mqm') AUTHADD(CONNECT,INQ,DSP)
SET AUTHREC PROFILE(SYSTEM.MQEXPLORER.REPLY.MODEL) OBJTYPE(QUEUE) PRINCIPAL('mqm') AUTHADD(DSP,INQ,GET)
SET AUTHREC PROFILE(SYSTEM.ADMIN.COMMAND.QUEUE) OBJTYPE(QUEUE) PRINCIPAL('mqm') AUTHADD(PUT,INQ)


The user mqm has de facto administrative rights to all things MQ.
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
naio
PostPosted: Mon Jul 22, 2013 6:57 am    Post subject: Reply with quote

Voyager

Joined: 08 Nov 2012
Posts: 82

OK exerk,

Thanks!
_________________
"God is in his heaven all's right with the world"
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 » IBM MQ Installation/Configuration Support » MQ Explorer Cannot Connect to MQ V7.5 (AMQ4043)
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.