+

Search Tips | Advanced Search

Establishing a TCP connection

Information about configuring a TCP connection and next steps.

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 we 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 we do not have the following line in that file, add it as shown:
    MQSeries stream tcp nowait mqm MQ_INSTALLATION_PATH/bin/amqcrsta amqcrsta
    [-m queue.manager.name]
    

    MQ_INSTALLATION_PATH represents the high-level directory in which IBM MQ is installed.

  3. Find the process ID of the inetd with the command:
    ps -ef | grep inetd
    
  4. Run the appropriate command, as follows:

    • For Solaris 9:
      kill -1 inetd processid
      
    • For Solaris 10 or later:
      inetconv
      


What next?

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