| Author | 
		  Message
		 | 
		
		  | mitch | 
		  
		    
			  
				 Posted: Wed Jun 18, 2003 6:54 am    Post subject: Attempting to use runmqsc command on Windows 2000 | 
				     | 
			   
			 
		   | 
		
		
		   Apprentice
 
 Joined: 19 Mar 2003 Posts: 25
  
  | 
		  
		    
			  
				Hello,
 
 
I am trying to set up some queues using a pre-generated script file and the runmqsc command
 
 
I keep getting AMQ8146: Queue Manager Unavailable
 
 
I have set up a default queue manager, DEV_1, which IS running and IS set up as the default q manager. I have even tried specifynig the Qmanager
 
 
runmqsc < scriptfile DEV_1
 
 
but this still come back with Q Manager unavailable
 
 
Does anyone have any ideas.
 
 
Thanks
 
 
Mitch | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mqonnet | 
		  
		    
			  
				 Posted: Wed Jun 18, 2003 7:01 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand Master
 
 Joined: 18 Feb 2002 Posts: 1114 Location: Boston, Ma, Usa. 
  | 
		  
		    
			  
				If you do not have a default queue manager then you need to specify your queue manager name on runmqsc command.
 
 
runmqsc FRED < scriptfile DEV_1 
 
 
Where FRED is the queue manager name.
 
 
Only if you have a default queue manager it would work without specifying the qm name.
 
 
Cheers
 
Kumar | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mitch | 
		  
		    
			  
				 Posted: Wed Jun 18, 2003 7:05 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Apprentice
 
 Joined: 19 Mar 2003 Posts: 25
  
  | 
		  
		    
			  
				Kumar,
 
 
As above, I have specified defauly q manager
 
 
Cheers
 
 
Mitch | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mqonnet | 
		  
		    
			  
				 Posted: Wed Jun 18, 2003 7:30 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand Master
 
 Joined: 18 Feb 2002 Posts: 1114 Location: Boston, Ma, Usa. 
  | 
		  
		    
			  
				Is your "default" queue manager running?????
 
 
Cheers
 
Kumar | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mitch | 
		  
		    
			  
				 Posted: Wed Jun 18, 2003 7:31 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Apprentice
 
 Joined: 19 Mar 2003 Posts: 25
  
  | 
		  
		    
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | jhalstead | 
		  
		    
			  
				 Posted: Wed Jun 18, 2003 7:37 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Master
 
 Joined: 16 Aug 2001 Posts: 258 Location: London 
  | 
		  
		    
			  
				How do you know it's running?  Can you see this through MQExploer and/or MQServices?
 
 
Jamie | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | clindsey | 
		  
		    
			  
				 Posted: Wed Jun 18, 2003 7:53 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Knight
 
 Joined: 12 Jul 2002 Posts: 586 Location: Dallas, Tx 
  | 
		  
		    
			  
				The syntax you gave is
 
runmqsc < scriptfile DEV_1 
 
 
It should be 
 
runmqsc DEV_1 < scriptfile.
 
 
By the way, you can easily show the queue manager state by running,
 
'dspmq' from a command window
 
 
Charlie | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mitch | 
		  
		    
			  
				 Posted: Wed Jun 18, 2003 8:18 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Apprentice
 
 Joined: 19 Mar 2003 Posts: 25
  
  | 
		  
		    
			  
				Charlie, if I run dspmq it comes back with 
 
 
QMNAME(DEV_1)     STATUS(Ended Unexpectedly)
 
 
 
However, my Q Manager still shows a status of running via Explorer
 
 
Cheers
 
 
Mitch | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Ratan | 
		  
		    
			  
				 Posted: Wed Jun 18, 2003 10:15 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand Master
 
 Joined: 18 Jul 2002 Posts: 1245
  
  | 
		  
		    
			  
				Are you trying to do this with terminal services? If so it is the problem.
 
 
-Ratan. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | clindsey | 
		  
		    
			  
				 Posted: Wed Jun 18, 2003 11:44 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Knight
 
 Joined: 12 Jul 2002 Posts: 586 Location: Dallas, Tx 
  | 
		  
		    
			  
				For sure then your queue manager is not running.
 
As Ratan says, it could be Terminal Services. If not, check the queue manager's log file - <mqtop>/qmgrs/DEV_1/errors/AMQERR01.LOG
 
 
Charlie | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mitch | 
		  
		    
			  
				 Posted: Thu Jun 19, 2003 2:21 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Apprentice
 
 Joined: 19 Mar 2003 Posts: 25
  
  | 
		  
		    
			  
				Thanks for the advice guys
 
 
Cheers
 
 
Mitch | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |