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 » After installation of IBM MQv9.1.2 not able to create qmgr

Post new topic  Reply to topic Goto page 1, 2  Next
 After installation of IBM MQv9.1.2 not able to create qmgr « View previous topic :: View next topic » 
Author Message
srina02
PostPosted: Thu Jun 13, 2019 10:08 am    Post subject: After installation of IBM MQv9.1.2 not able to create qmgr Reply with quote

Novice

Joined: 13 Jun 2019
Posts: 14

I have installed IBM MQv9.1.2 on Linux 3.10 86X64 , i can do dspmqver but i can't create Queuemanger , I am gertiing AMQ7077E error, any pointers ?

[root@zewndmssvimq01 errors]# id
uid=0(root) gid=0(root) groups=0(root)

[root@zewndmssvimq01 errors]# id mqm
uid=65542(mqm) gid=1009(mqm) groups=1009(mqm)

[root@zewndmssvimq01 errors]# groups
root
[root@zewndmssvimq01 errors]# su

[root@zewndmssvimq01 errors]# id

uid=0(root) gid=0(root) groups=0(root)
[root@zewndmssvimq01 errors]# groups
root
[root@zewndmssvimq01 errors]# groups root
root : root
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Jun 13, 2019 10:18 am    Post subject: Re: After installation of IBM MQv9.1.2 not able to create q Reply with quote

Grand High Poobah

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

srina02 wrote:
I have installed IBM MQv9.1.2 on Linux 3.10 86X64 , i can do dspmqver but i can't create Queuemanger , I am gertiing AMQ7077E error, any pointers ?


We'd do better if you told us which user you were using. If you're using mqm you have an odd problem.

If you're using root you're using the wrong user.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
srina02
PostPosted: Thu Jun 13, 2019 11:42 am    Post subject: Reply with quote

Novice

Joined: 13 Jun 2019
Posts: 14

Hi Victor, greetings Today! yes i am using "mqm" user Id
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Jun 13, 2019 11:48 am    Post subject: Reply with quote

Grand High Poobah

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

srina02 wrote:
yes i am using "mqm" user Id


Then you have an odd problem.

Are you signed on as mqm or did you simply switch to it from root? If the latter, did you run the mqm .profile to initialize the MQ environment?

Also which Linux distro is this?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
srina02
PostPosted: Thu Jun 13, 2019 11:53 am    Post subject: Reply with quote

Novice

Joined: 13 Jun 2019
Posts: 14

I signed as user "mqm" then sudo su - mqm -> sudo su - -> installed the MQv9.1.2

then setmqenv . I can run dspmqver but not able to run crtmqm command. Thank you.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Jun 13, 2019 11:58 am    Post subject: Reply with quote

Grand High Poobah

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

srina02 wrote:
I signed as user "mqm" then sudo su - mqm -> sudo su - -> installed the MQv9.1.2


So you signed on as mqm, then sudo'd to mqm? The reason for that being....?


srina02 wrote:
then setmqenv . I can run dspmqver but not able to run crtmqm command.


I don't see where you exited out of root and back into mqm to run the crtmqm command. The way you've written this, you ran crtmqm as root.

Which as I said above, is the wrong id.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
srina02
PostPosted: Thu Jun 13, 2019 12:05 pm    Post subject: Reply with quote

Novice

Joined: 13 Jun 2019
Posts: 14

I exit out of from the root and tried to create QMGR as mqm usr still same error vitor. Thank you.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Jun 13, 2019 12:09 pm    Post subject: Reply with quote

Grand High Poobah

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

srina02 wrote:
I exit out of from the root and tried to create QMGR as mqm usr still same error


And again, which Linux is this?

So:

- log out of the server
- log in as mqm
- repeat the steps to show who you're logged on as and the group membership
- execute crtmqm
- post every letter that came up on the screen from log in to failure on this thread
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
srina02
PostPosted: Thu Jun 13, 2019 12:11 pm    Post subject: Reply with quote

Novice

Joined: 13 Jun 2019
Posts: 14

So you signed on as mqm, then sudo'd to mqm? The reason for that being....?

Answer: Linux admin said, i have to use those commands to be in root.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Jun 13, 2019 12:14 pm    Post subject: Reply with quote

Grand High Poobah

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

srina02 wrote:
Answer: Linux admin said, i have to use those commands to be in root.


Humph.

If you have to switch to the user you're already in before you switch to root, this might explain why you're getting security problems.

Ask your Linux admin if he was serious and if he was, what at an OS configuration on that box makes it necessary.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
srina02
PostPosted: Thu Jun 13, 2019 12:18 pm    Post subject: Reply with quote

Novice

Joined: 13 Jun 2019
Posts: 14

bash-4.2$ id
uid=65542(mqm) gid=1009(mqm) groups=1009(mqm)
-bash-4.2$ id mqm
uid=65542(mqm) gid=1009(mqm) groups=1009(mqm)
-bash-4.2$ groups mqm
mqm : mqm
-bash-4.2$ groups root
root : root mqm
-bash-4.2$ crtmqm
AMQ7077E: You are not authorized to perform the requested operation.
-bash-4.2$ dspmqver
Name: IBM MQ
Version: 9.1.2.0
Level: p912-L190308
BuildType: IKAP - (Production)
Platform: IBM MQ for Linux (x86-64 platform)
Mode: 64-bit
O/S: Linux 3.10.0-957.12.2.el7.x86_64
InstName: Installation1
InstDesc:
Primary: Yes
InstPath: /opt/mqm
DataPath: /var/mqm
MaxCmdLevel: 912
LicenseType: Production
-bash-4.2$
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Jun 13, 2019 5:37 pm    Post subject: Reply with quote

Grand High Poobah

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

completely log out then log back in.
Once you have assumed mqm id source setmqenv
Then try to create a qmgr.
If you're still not authorized then something is very wrong with the permissions for /var/mqm/ and subfolders.... or /opt/mqm/and subfolders
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
srina02
PostPosted: Thu Jun 13, 2019 7:09 pm    Post subject: Reply with quote

Novice

Joined: 13 Jun 2019
Posts: 14

Hi fjb_saper,

I completley log out and tried still same authorization error.

I am wondering if it's pemissions issue how come dspmq and dspmqver working fine?

we are opened a PMR waiting for reply.

Thank you.
Back to top
View user's profile Send private message
srina02
PostPosted: Fri Jun 14, 2019 8:20 am    Post subject: Issue fixed , problem with mqm Uid Reply with quote

Novice

Joined: 13 Jun 2019
Posts: 14

Local user mqm id and Centrify mqm ids are conflicted. We need to change local user mqm (65542)& group(1009) id from to 203 .

[root@zewndmssvimq02 mqm]# cat /etc/group | grep mqm
mqm:x:1009:root
[root@zewndmssvimq02 mqm]# getent group mqm
mqm:x:203:
[root@zewndmssvimq02 mqm]#

Thank you all for quick support.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Jun 14, 2019 9:05 am    Post subject: Re: Issue fixed , problem with mqm Uid Reply with quote

Grand High Poobah

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

srina02 wrote:
Local user mqm id and Centrify mqm ids are conflicted.


At which point did you mention you were using that?

But it does explain that weird double user switch to mqm. From one mqm to the other, I said you should ask your admin about that.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » After installation of IBM MQv9.1.2 not able to create qmgr
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.