| Author | Message | 
		
		  | srikumar | 
			  
				|  Posted: Thu Aug 16, 2001 9:00 am    Post subject: |   |  | 
		
		  | Novice
 
 
 Joined: 14 Aug 2001Posts: 14
 
 
 | 
			  
				| HI I am not able to start the que manager.Some times it happens that I was able to start the que manager but it gets killed automatically.
 Do we have to create the q manager for any paritcular directory
 
 $ pwd
 /var/mqm
 $ id
 uid=8100(mqm) gid=412(mqm)
 $ cd
 $ crtmqm -q TSRMDS02
 MQSeries queue manager created.
 Creating or replacing default objects for TSRMDS02.
 Default objects statistics : 29 created. 0 replaced. 0 failed.
 Completing setup.
 Setup completed.
 $ strmqm TSRMDS02
 AMQ5615: Default objects cannot be created: CompCode = 2 Reason = 2009
 
 Please help
 Thanks
 srikumar
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | bduncan | 
			  
				|  Posted: Thu Aug 16, 2001 11:10 am    Post subject: |   |  | 
		
		  | Padawan
 
 
 Joined: 11 Apr 2001Posts: 1554
 Location: Silicon Valley
 
 | 
			  
				| Srikumar, Okay, first you should look in the /var/mqm/qmgrs/qmgrname/errors for any error log entries explaining why the queue manager failed to start (replace qmgrname with the name of the queue manager you created, in this case TSRMDS02).
 My initial thought on this is whether or not you created the user and group mqm before you installed the MQSeries product. If the user/group doesn't exist then the ownership of the files installed defaults to someone else (root I think). In this case, when you do create the mqm user/group and attempt to create and run queue managers, mqm will not have the necessary permissions to accomplish these tasks. To check this, cd to /var/mqm/ and /opt/mqm and check to see that all the files under here belong to mqm. Do a recursive ls, like: ls -lrRt
 Otherwise, I'll need to see what is being shown in the error logs before I can try to diagnose this one...
 
 
 _________________
 Brandon Duncan
 IBM Certified MQSeries Specialist
 MQSeries.net forum moderator
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | srikumar | 
			  
				|  Posted: Thu Aug 16, 2001 11:40 am    Post subject: |   |  | 
		
		  | Novice
 
 
 Joined: 14 Aug 2001Posts: 14
 
 
 | 
			  
				| Thanks sir, I am not sure what went wrong. The box has NIS installed.But the files has mqm group and user id .
 
 The errors of the qmanager are as follows.
 8/16/01  12:48:42
 AMQ8003: MQSeries queue manager 'TSRMDS02' started.
 
 EXPLANATION:
 MQSeries queue manager 'TSRMDS02' started.
 ACTION:
 None.
 -------------------------------------------------------------------------------
 08/16/01  12:48:43
 AMQ8048: Default objects statistics : 29 created. 0 replaced. 0 failed.
 
 EXPLANATION:
 Information on the number of objects created or replaced successfully as well
 as any failures that occurred while creating the default objects.
 ACTION:
 None.
 -------------------------------------------------------------------------------
 08/16/01  12:48:44
 AMQ8004: MQSeries queue manager ended.
 
 EXPLANATION:
 MQSeries queue manager TSRMDS02 ended.
 ACTION:
 None.
 -------------------------------------------------------------------------------
 08/16/01  12:49:22
 AMQ8003: MQSeries queue manager 'TSRMDS02' started.
 
 EXPLANATION:
 MQSeries queue manager 'TSRMDS02' started.
 ACTION:
 None.
 -------------------------------------------------------------------------------
 08/16/01  12:49:22
 AMQ9410: Repository manager started
 
 EXPLANATION:
 The repository manager started successfully.
 ACTION:
 None.
 -------------------------------------------------------------------------------
 08/16/01  12:49:37
 AMQ5525: The MQSeries Object Authority Manager has failed.
 
 EXPLANATION:
 The MQSeries Object Authority Manager has failed to complete an MQSeries
 request.
 ACTION:
 Check the queue manager error logs for messages explaining the failure and try
 to correct the problem accordingly.
 -------------------------------------------------------------------------------
 --------------------------------------------------------------------------
 ----------------------------------------------------------------------------
 ------------------------------------------------------------------------------
 08/16/01  12:49:47
 AMQ9509: Program cannot open queue manager object.
 
 EXPLANATION:
 The attempt to open either the queue or queue manager object
 'SYSTEM.CHANNEL.INITQ' on queue manager 'TSRMDS02' failed with reason code
 2009.
 ACTION:
 Ensure that the queue is available and retry the operation.
 
 08/16/01  13:30:20
 AMQ9542: Queue manager is ending.
 
 EXPLANATION:
 The program will end because the queue manager is quiescing.
 ACTION:
 None.
 -------------------------------------------------------------------------------
 
 08/16/01  13:30:20
 AMQ9510: Messages cannot be retrieved from a queue.
 
 EXPLANATION:
 The attempt to get messages from queue 'SYSTEM.CLUSTER.REPOSITORY.QUEUE' on
 queue manager 'TSRMDS02' failed with reason code 2009.
 ACTION:
 If the reason code indicates a conversion problem, for example
 MQRC_SOURCE_CCSID_ERROR, remove the message(s) from the queue. Otherwise,
 ensure that the required queue is available and operational.
 
 
 I created the qmanager , deleted it. so there are differnet errors at times.
 Thanks
 srikuma
 
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | pal | 
			  
				|  Posted: Fri Aug 17, 2001 2:16 pm    Post subject: |   |  | 
		
		  | Apprentice
 
 
 Joined: 14 Aug 2001Posts: 35
 
 
 | 
			  
				| Since you made this newly created queue manager the default one (-q), try starting it with simply strmqm with no arguments and see what happens. 
 Also, check the /etc/group file for group mqm and what user id's are part of that group. Are you using one of these id's?
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | royr | 
			  
				|  Posted: Sun Aug 19, 2001 1:26 am    Post subject: |   |  | 
		
		  |  Acolyte
 
 
 Joined: 30 Jun 2001Posts: 65
 Location: Israel
 
 | 
			  
				| Are there any *.FDC files at the same directory? Also check for files at /var/mqm/errors (the main error directory).
 
 
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | emileke | 
			  
				|  Posted: Mon Aug 20, 2001 1:59 am    Post subject: |   |  | 
		
		  | Centurion
 
 
 Joined: 19 Aug 2001Posts: 110
 Location: South Africa
 
 | 
			  
				| Make sure then userid you are trying to start the QMGR with is part of the mqm group on the box or if you are just testing, use the userid mqm , I assume you have a group mqm and userid mqm. |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  |  |