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 » MQ 8.0 Queue manager not coming up

Post new topic  Reply to topic
 MQ 8.0 Queue manager not coming up « View previous topic :: View next topic » 
Author Message
riteshprasad1
PostPosted: Fri Aug 01, 2014 12:38 pm    Post subject: MQ 8.0 Queue manager not coming up Reply with quote

Apprentice

Joined: 31 Jul 2014
Posts: 25

I am getting the below error when I try to start the qmgr on Linux, any idea what should the security limit be set to?

The system resource RLIMIT_NOFILE is set at an unusually low level for
WebSphere MQ.
The system resource RLIMIT_NPROC is set at an unusually low level for WebSphere
MQ.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Aug 01, 2014 1:01 pm    Post subject: Reply with quote

Grand High Poobah

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

Does the mqconfig command offer any clues?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
exerk
PostPosted: Fri Aug 01, 2014 2:16 pm    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Vitor wrote:
Does the mqconfig command offer any clues?

And to amplify what my learned colleague has said - look in the Knowledge Centre...
_________________
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
riteshprasad1
PostPosted: Fri Aug 01, 2014 4:16 pm    Post subject: Reply with quote

Apprentice

Joined: 31 Jul 2014
Posts: 25

Current User Limits (mqm)
nofile (-Hn) 10240 files IBM>=10240 PASS
nofile (-Sn) 4096 files IBM>=10240 FAIL
nproc (-Hu) 10 of 10240 processes (0%) IBM>=4096 PASS
nproc (-Su) 10 of 4096 processes (0%) IBM>=4096 PASS

this fails at the above section...please suggest what value would be correct?

This is what my limits.conf file says:

mqm soft nofile 4096
mqm hard nofile 10240
mqm soft nproc 4096
mqm hard nproc 10240
* hard nofile 10240
* hard stack 10240

should I change
mqm soft nofile 4096
to
mqm soft nofile 10240?
Back to top
View user's profile Send private message
bruce2359
PostPosted: Fri Aug 01, 2014 4:32 pm    Post subject: Reply with quote

Poobah

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

Did you provision the o/s kernel with required resources (as described in the Quick Beginnings doc or the Knowledge Center equivalents)?
_________________
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
JosephGramig
PostPosted: Mon Aug 04, 2014 6:12 am    Post subject: Reply with quote

Grand Master

Joined: 09 Feb 2006
Posts: 1244
Location: Gold Coast of Florida, USA

Review this page.
Back to top
View user's profile Send private message AIM Address
Philip Morten
PostPosted: Tue Aug 05, 2014 2:20 am    Post subject: Reply with quote

Master

Joined: 07 Mar 2002
Posts: 230
Location: Hursley Park

riteshprasad1 wrote:
Current User Limits (mqm)
nofile (-Hn) 10240 files IBM>=10240 PASS
nofile (-Sn) 4096 files IBM>=10240 FAIL
nproc (-Hu) 10 of 10240 processes (0%) IBM>=4096 PASS
nproc (-Su) 10 of 4096 processes (0%) IBM>=4096 PASS

this fails at the above section...please suggest what value would be correct?



The output tells you what would be correct. It says that your settings for the soft limit on nofile is 4096 while the IBM requirement is that it be >= 10240
_________________
Philip Morten

The postings on this site are my own and do not necessarily represent IBM's positions, strategies or opinions.
Back to top
View user's profile Send private message
riteshprasad1
PostPosted: Tue Aug 05, 2014 7:35 am    Post subject: Reply with quote

Apprentice

Joined: 31 Jul 2014
Posts: 25

mqconfig has passed for all sections now but now I am getting the below errors and an FDC every time I am trying to start the queue manager, any thoughts are appreciated:
/var/mqm/errors

08/05/2014 11:24:05 AM - Process(2601.1) User(mqm) Program(amqrrmfa)
Host(XXXXXXXXXXXXXXXXXXXXXXXX) Installation(Installation1)
VRMF(8.0.0.0)
AMQ9508: Program cannot connect to the queue manager.

EXPLANATION:
The connection attempt to queue manager 'MQRC_ENVIRONMENT_ERROR' failed with
reason code 2.
ACTION:
Ensure that the queue manager is available and operational.

/var/mqm/qmgrs/abcd/errors

08/05/2014 11:08:51 AM - Process(2317.1) User(mqm) Program(amqzxma0)
Host(XXXXXXXXXXXXXXXXXXXXXXXX) Installation(Installation1)
VRMF(8.0.0.0) QMgr(PQBSS)

AMQ5008: An essential WebSphere MQ process 2349 (amqrrmfa) cannot be found and
is assumed to be terminated.

EXPLANATION:
1) A user has inadvertently terminated the process. 2) The system is low on
resources. Some operating systems terminate processes to free resources. If
your system is low on resources, it is possible it has terminated the process
so that a new process can be created.
ACTION:
WebSphere MQ will stop all MQ processes. Inform your systems administrator.
When the problem is rectified WebSphere MQ can be restarted.

FDC:

Operating System :- Linux 2.6.32-431.el6.x86_64 |
| PIDS :- 5724H7251 |
| LVLS :- 8.0.0.0 |
| Product Long Name :- WebSphere MQ for Linux (x86-64 platform) |
| Vendor :- IBM |
| O/S Registered :- 1 |
| Data Path :- /var/mqm |
| Installation Path :- /opt/mqm |
| Installation Name :- Installation1 (1) |
| License Type :- Production |
| Probe Id :- ZX165131 |
| Application Name :- MQM |
| Component :- zmuUtilityManager |
| SCCS Info :- /build/slot1/p000_P/src/lib/cs/unix/amqxcrtx.c, |
| Line Number :- 355 |
| Build Date :- Apr 29 2014 |
| Build Level :- p000-L140429.1 |
| Build Type :- IKAP - (Production) |
| Effective UserID :- 65541 (mqm) |
| Real UserID :- 65541 (mqm) |
| Program Name :- amqzmuc0 |
| Addressing mode :- 64-bit |
| LANG :- en_US.UTF-8 |
| Process :- 2527 |
| Process(Thread) :- 2527 |
| Thread :- 1 Critical |
| QueueManager :- PQBSS |
| UserApp :- FALSE |
| ConnId(1) IPCC :- 4 |
| ConnId(2) QM :- 6 |
| Last HQC :- 1.0.0-63872 |
| Last HSHMEMB :- 2.2.2-10368 |
| Last ObjectName :- |
| Major Errorcode :- zrcE_UNEXPECTED_ERROR |
| Minor Errorcode :- OK |
| Probe Type :- INCORROUT |
| Probe Severity :- 2 |
| Probe Description :- AMQ6125: An internal WebSphere MQ error has occurred. |
| FDCSequenceNumber :- 0


Last edited by riteshprasad1 on Tue Aug 05, 2014 7:47 am; edited 1 time in total
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Aug 05, 2014 7:43 am    Post subject: Reply with quote

Grand High Poobah

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

riteshprasad1 wrote:
any thoughts are appreciated


If the Linux box is using anything other than native security for the users (e.g. an LDAP server) I'd check connection and configuration of that.

In any event, I'd raise a PMR and pass IBM the FDC file. Obviously it's almost beyond imagination that the n.0.0.0 version of a piece of IBM software would have a bug in it but.......
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
riteshprasad1
PostPosted: Tue Aug 05, 2014 7:57 am    Post subject: Reply with quote

Apprentice

Joined: 31 Jul 2014
Posts: 25

I suspect there is a user issue: I log into the box and su to the mqm user and I am unable to start / create the queue manager and getting errors as posted earlier.

Should not my local user be a part of the mqm group to run these commands? Please guide.

[mqm@xxxx errors]$ id abcd
uid=20612(abcd) gid=100(users) groups=100(users)
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Aug 05, 2014 8:07 am    Post subject: Reply with quote

Grand High Poobah

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

riteshprasad1 wrote:
I suspect there is a user issue: I log into the box and su to the mqm user and I am unable to start / create the queue manager and getting errors as posted earlier.


If you're the mqm user you should absolutely be able to start, stop and administer the queue manager. Again, if the mqm user is not local to the Linux but controlled / validated / exists as part of an LDAP or other set up then that's worth a check, but I still feel you're in PMR territory.

riteshprasad1 wrote:
Should not my local user be a part of the mqm group to run these commands? Please guide.


No, your local user should not be part of the mqm group to run theses commands and if you've su'd to mqm your local user is wonderfully irrelevant to your problem. Best practice (in my view at least) is to do exactly what you're doing & have a sudoers list of people who can become mqm. This not only gives you a clear view of who can do stuff, with a little ingenuity it can provide a valuable audit of who did what when, ideal when an "unfortunate" change is made to the queue manager.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
riteshprasad1
PostPosted: Tue Aug 05, 2014 9:22 am    Post subject: Reply with quote

Apprentice

Joined: 31 Jul 2014
Posts: 25

Checked the id existing on the server:
[mqm@XXXX bin]$ id
uid=65541(mqm) gid=60110(mqm_grp) groups=60110(mqm_grp),500(mqm)

Should there me an mqm GID as well as suggested in:

http://www-01.ibm.com/support/knowledgecenter/SSFKSJ_8.0.0/com.ibm.mq.ins.doc/q008500_.htm

Set the primary group of the mqm user to the group mqm.

If you are installing WebSphere MQ on multiple systems you might want to ensure each UID and GID of mqm has the same value on all systems.


Unfortunately the installation has been done by another team.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Aug 05, 2014 9:27 am    Post subject: Reply with quote

Grand High Poobah

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

riteshprasad1 wrote:
Should there me an mqm GID as well


Unless my eyes decieve me, there is.

riteshprasad1 wrote:
Checked the id existing on the server:
[mqm@XXXX bin]$ id
uid=65541(mqm) gid=60110(mqm_grp) groups=60110(mqm_grp),500(mqm)


riteshprasad1 wrote:
Set the primary group of the mqm user to the group mqm.


This is indeed true, and could be the cause of your woes as currently it isn't.

riteshprasad1 wrote:
Unfortunately the installation has been done by another team.


You might want to ask them a) what that mqm_grp group is supposed to be and b) why they felt following the vendor supplied installation instructions wasn't a good idea.

riteshprasad1 wrote:
If you are installing WebSphere MQ on multiple systems you might want to ensure each UID and GID of mqm has the same value on all systems.


Yes, you might. You've given no indication you're doing that.


Unfortunately the installation has been done by another team.[/quote]
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
riteshprasad1
PostPosted: Tue Aug 05, 2014 10:42 am    Post subject: Reply with quote

Apprentice

Joined: 31 Jul 2014
Posts: 25

Thanks a million, MQ is running now. mqm_grp had nothing in it asked them to make mqm the primary and got all qmgrs up and running.

Thanks again VITOR you are a gem..!!
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 » MQ 8.0 Queue manager not coming up
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.