Establishing a TCP connection

To establish a TCP connection, follow these steps.

  1. Edit the file /etc/services.
    Note:
    To edit the /etc/services file, you must be logged in as a superuser or root. If you do not have the following line in that file, add it as shown:
    MQSeries       1414/tcp      # MQSeries channel listener
    
  2. Edit the file /etc/inetd.conf. If you do not have the following line in that file, add it as shown:
    MQSeries stream tcp nowait mqm /opt/mqm/bin/amqcrsta amqcrsta
    [-m queue.manager.name]
    
  3. Find the process ID of the inetd with the command:
    ps -ef | grep inetd
    
  4. Run the command:
    kill -1 inetd processid
    
Note:
You must add root to the mqm group. You do not need have the primary group set to mqm. As long as mqm is in the set of groups, you can use the commands. If you are running only applications that use the queue manager you do not need to have mqm group authority.

What next?

The TCP/IP connection is now established. You are ready to complete the configuration. Go to WebSphere MQ for Solaris configuration.



© IBM Corporation 2002. All Rights Reserved