| Author | 
		  Message
		 | 
		
		  | satyawins | 
		  
		    
			  
				 Posted: Mon Jan 21, 2002 6:03 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 20 Jan 2002 Posts: 1
  
  | 
		  
		    
			  
				Hi,
 
 
I am learning MQSeries.I have created QueueManager, Queue and ServerConnectionChannel on AIX. I created an entry "MQSeries tcp/1414" in the /etc/services file on AIX. I started QueueManager on the server. I tried to put a message from Windows NT Client using sample program amqsput. Command which I entered is "amqsput QueueName QueueManagerName". It's giving 2058 error. I am able to establish Server to Server communication between QueueManager on Windows NT and QueueManager on AIX. But I am unable to do this WindowsNT client and AIX Server communication. Can some of u MQSeries masters help me out. 
 
 
Thanks in Advance.
 
satya
 
 
 
 
 | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | peterli | 
		  
		    
			  
				 Posted: Mon Jan 21, 2002 3:21 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Apprentice
 
 Joined: 17 Oct 2001 Posts: 29 Location: Melbourne, Australia 
  | 
		  
		    
			  
				Hi Satya,
 
You might want to try the amqsputc (Client Version of amqsput).See how that goes. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | wangquanyong | 
		  
		    
			  
				 Posted: Fri Feb 15, 2002 3:06 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 22 Jan 2002 Posts: 17 Location: China 
  | 
		  
		    
			  
				Maybe you should run the listening process at a certain port for the queue-manager first.
 
like : runmqlsr -m queuemanager -t TCP -p 1415 | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | lnm | 
		  
		    
			  
				 Posted: Wed Mar 13, 2002 10:54 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Apprentice
 
 Joined: 12 Mar 2002 Posts: 43 Location: Florida 
  | 
		  
		    
			  
				We had the same problem which ended up being a security issue....user not part of the mqm group.
 
 | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | StefanSievert | 
		  
		    
			  
				 Posted: Wed Mar 13, 2002 1:28 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Partisan
 
 Joined: 28 Oct 2001 Posts: 333 Location: San Francisco 
  | 
		  
		    
			  
				Satya,
 
I noticed that your question was posted in January so I don't know if this is still of interest...  
 
 
   
	| Quote: | 
   
  
	
 
I created an entry "MQSeries tcp/1414" in the /etc/services file on AIX. 
 
 | 
   
 
 
The entry should read 'MQSeries 1414/tcp'
 
Did you update the inetd.conf file to start the channel agent on inbound connection requests or are you using runmqlsr?
 
See the Intercommunication manual on how to setup inetd.
 
   
	| Quote: | 
   
  
	
 
I started QueueManager on the server. I tried to put a message from Windows NT Client using sample program amqsput. Command which I entered is "amqsput QueueName QueueManagerName". It's giving 2058 error. I am able to establish Server to Server communication between QueueManager on Windows NT and QueueManager on AIX. But I am unable to do this WindowsNT client and AIX Server communication. satya
 
 | 
   
 
 
As somebody else already mentioned, you have to use the client version of the sample program amqsputc if you are connecting from a client.
 
Have you defined the MQSERVER variable or are you using MQCHLLIB/MQCHLTAB to define your client channel? See the Clients manual for this.
 
Hope this helps,
 
Stefan
 
_________________
 
Stefan Sievert
 
IBM Certified * MQSeries
 
 
[ This Message was edited by: StefanSievert on 2002-03-13 13:30 ] | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |