Author |
Message
|
nareshm13 |
Posted: Tue Sep 24, 2013 9:19 am Post subject: Getting AMQ7077 error while creating the QMGR |
|
|
Apprentice
Joined: 07 Dec 2012 Posts: 29
|
Hi all i am getting the below error while creating the QMGR
[root@naresh etc]# su - mqm
[mqm@naresh ~]$ whoami
mqm
[root@naresh ~]# ls -l /var/mqm
total 56
drwxrwsr-x 2 mqm mqm 4096 Sep 20 13:55 config
drwxrwsr-x 3 mqm mqm 4096 Sep 20 13:55 conv
drwxrwsrwx 2 mqm mqm 4096 Sep 20 13:55 errors
drwxrwsr-x 3 mqm mqm 4096 Sep 20 13:55 exits
drwxrwsr-x 3 mqm mqm 4096 Sep 20 13:55 exits64
drwxrwsr-x 2 mqm mqm 4096 Sep 20 13:55 log
-rw-rw-r-- 1 mqm mqm 637 Sep 20 13:55 mqclient.ini
drwxrwsr-x 5 mqm mqm 4096 Sep 20 13:55 mqft
-rw-rw-r-- 1 mqm mqm 1907 Sep 20 13:55 mqs.ini
drwxrwsr-x 3 mqm mqm 4096 Sep 20 13:55 qmgrs
-rw-rw-r-- 1 mqm mqm 1373 Sep 20 13:55 service.env
drwxrwsr-x 4 mqm mqm 4096 Sep 20 13:55 shared
drwxrwsr-x 3 mqm mqm 4096 Sep 20 13:55 sockets
drwxrwsrwx 2 mqm mqm 4096 Sep 20 13:55 trace
[root@naresh ~]# ls -l /opt/mqm
total 68
dr-xr-xr-x 2 mqm mqm 4096 Sep 20 14:15 bin
dr-xr-xr-x 16 mqm mqm 4096 Sep 20 14:15 doc
dr-xr-xr-x 7 mqm mqm 4096 Sep 20 14:00 gskit8
dr-xr-xr-x 4 mqm mqm 4096 Jun 4 2012 inc
-r--r--r-- 1 mqm mqm 13587 Jun 4 2012 instinfo.tsk
dr-xr-xr-x 8 mqm mqm 4096 Jun 4 2012 java
dr-xr-xr-x 5 mqm mqm 4096 Sep 20 14:15 lib
dr-xr-xr-x 4 mqm mqm 4096 Sep 20 14:15 lib64
dr-xr-xr-x 2 mqm mqm 4096 Sep 20 13:55 licenses
dr-xr-xr-x 4 mqm mqm 4096 Sep 20 14:02 man
dr-xr-xr-x 3 mqm mqm 4096 Sep 20 13:55 msg
dr-xr-xr-x 3 mqm mqm 4096 Jun 4 2012 properties
dr-xr-xr-x 3 mqm mqm 4096 Sep 20 13:55 READMES
dr-xr-xr-x 11 mqm mqm 4096 Sep 20 14:03 samp
[root@naresh ~]# grep mqm /etc/passwd
mqm:x:500:500::/home/mqm:/bin/bash
[mqm@naresh ~]$ grep mqm /etc/group
mqm:x:500:root,mqm
[root@naresh ~]# df -h /var/mqm
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/system-var
8.9G 3.0G 5.5G 36% /var
[root@naresh ~]# df -h /opt/mqm
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/system-opt
5.0G 3.6G 1.2G 77% /opt
[root@naresh ~]#
[mqm@naresh ~]$ crtmqm -h 1000 -lc -lf 4096 -x 10000 -lp 20 -ls 30 -u DEAD.QUEUE -q FFMCCTEST1.QMGR
AMQ7077: You are not authorized to perform the requested operation.
|
|
Back to top |
|
 |
rcp_mq |
Posted: Tue Sep 24, 2013 9:24 am Post subject: |
|
|
 Centurion
Joined: 13 Dec 2011 Posts: 133
|
[mqm@naresh ~]$ crtmqm -h 1000 -lc -lf 4096 -x 10000 -lp 20 -ls 30 -u DEAD.QUEUE -q FFMCCTEST1.QMGR
AMQ7077: You are not authorized to perform the requested operation.
That is your solution. |
|
Back to top |
|
 |
nareshm13 |
Posted: Tue Sep 24, 2013 9:29 am Post subject: |
|
|
Apprentice
Joined: 07 Dec 2012 Posts: 29
|
Already i am using mqm user
[root@naresh ~]# grep mqm /etc/passwd
mqm:x:500:500::/home/mqm:/bin/bash
[mqm@naresh ~]$ grep mqm /etc/group
mqm:x:500:root,mqm |
|
Back to top |
|
 |
lancelotlinc |
Posted: Tue Sep 24, 2013 9:34 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
nareshm13 wrote: |
Already i am using mqm user
[root@naresh ~]# grep mqm /etc/passwd
mqm:x:500:500::/home/mqm:/bin/bash
[mqm@naresh ~]$ grep mqm /etc/group
mqm:x:500:root,mqm |
mqm is OS level which is not what AMQ7077 error is referring to.
You need to read the InfoCentre. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
nareshm13 |
Posted: Tue Sep 24, 2013 7:02 pm Post subject: |
|
|
Apprentice
Joined: 07 Dec 2012 Posts: 29
|
@rcp_mq
i dont find difference between, what is soultion are you suggesting? |
|
Back to top |
|
 |
rcp_mq |
Posted: Wed Sep 25, 2013 7:07 am Post subject: |
|
|
 Centurion
Joined: 13 Dec 2011 Posts: 133
|
Which version of MQ are you using? |
|
Back to top |
|
 |
JosephGramig |
Posted: Wed Sep 25, 2013 11:30 am Post subject: |
|
|
 Grand Master
Joined: 09 Feb 2006 Posts: 1244 Location: Gold Coast of Florida, USA
|
|
Back to top |
|
 |
nareshm13 |
Posted: Wed Sep 25, 2013 11:04 pm Post subject: |
|
|
Apprentice
Joined: 07 Dec 2012 Posts: 29
|
|
Back to top |
|
 |
nareshm13 |
Posted: Thu Sep 26, 2013 1:50 am Post subject: |
|
|
Apprentice
Joined: 07 Dec 2012 Posts: 29
|
Please find the info
[mqm@naresh~]$ dspmqver
Name: WebSphere MQ
Version: 7.5.0.0
Level: p000-L120604
BuildType: IKAP - (Production)
Platform: WebSphere MQ for Linux (x86-64 platform)
Mode: 64-bit
O/S: Linux 2.6.32-71.29.1.el6.x86_64
InstName: Installation1
InstDesc:
InstPath: /opt/mqm
DataPath: /var/mqm
Primary: Yes
MaxCmdLevel: 750
[mqm@naresh ~]$ crtmqm TEST.QM
AMQ7077: You are not authorized to perform the requested operation. |
|
Back to top |
|
 |
JosephGramig |
Posted: Thu Sep 26, 2013 4:42 am Post subject: |
|
|
 Grand Master
Joined: 09 Feb 2006 Posts: 1244 Location: Gold Coast of Florida, USA
|
Apply maintenance 7.5.0.2. Run mqconfig to see if you need tuning. Try it again. (Google for mqconfig if you don't have it)
Are these problem determination steps not obvious? |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Sep 26, 2013 11:42 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
@ 7.5 make sure you have sourced setmqenv in the shell from which you want to run the command  _________________ MQ & Broker admin |
|
Back to top |
|
 |
nareshm13 |
Posted: Thu Sep 26, 2013 8:54 pm Post subject: |
|
|
Apprentice
Joined: 07 Dec 2012 Posts: 29
|
@fjb_saper
Yes, setmqenv command was done.
@JosephGramig
mqconfig file was missing.
#su mqm -c "/opt/mqm/bin/mqconfig"
bash: /opt/mqm/bin/mqconfig: No such file or directory
so, applying maintenance 7.5.0.2.would resolve the issue? |
|
Back to top |
|
 |
PeterPotkay |
Posted: Fri Sep 27, 2013 3:36 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
nareshm13 wrote: |
mqconfig file was missing.
#su mqm -c "/opt/mqm/bin/mqconfig"
bash: /opt/mqm/bin/mqconfig: No such file or directory
so, applying maintenance 7.5.0.2.would resolve the issue? |
mqconfig is gotten here:
http://www-01.ibm.com/support/docview.wss?uid=swg21271236&myns=swgws&mynp=OCSSKSWQ&mynp=OCSSFKSJ&mync=E#notes
You should upgrade to MQ 7.5.0.2 and make sure your server passes the mqconfig test before anything else.
I don't know why you are getting that authority error, but in my opinion I don't think its related to not having done mqconfig or applying 7.5.0.2. Of course, until you know exactly what is your problem you can't entirely dismiss either of them.
Did you run the setmqinst command? _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
nareshm13 |
Posted: Sun Sep 29, 2013 10:11 pm Post subject: |
|
|
Apprentice
Joined: 07 Dec 2012 Posts: 29
|
|
Back to top |
|
 |
Tibor |
Posted: Mon Sep 30, 2013 2:58 am Post subject: |
|
|
 Grand Master
Joined: 20 May 2001 Posts: 1033 Location: Hungary
|
If you have not checked your FDC files (yet), it is recommended:
Code: |
cd /var/mqm/errors
ffstsummary |
Please send us the output. |
|
Back to top |
|
 |
|