Establishing a TCP connection
Information about configuring a TCP connection and next steps.
To establish a TCP connection, follow these steps.
- 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- 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.
- Find the process ID of the inetd with the command:
ps -ef | grep inetd- 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.