When you configure inetd or xinetd with WebSphere MQ 5.3 for Linux on Intel or zSeries systems, you may find that the amqcrsta TCP/IP responder program will fail with an FDC showing Probe Id XY439010 from Component xcsProgramInit.
Cause
The FDC will show a Major Errorcode of MQRC_ENVIRONMENT_ERROR, which means that it is not running with the threading model that MQ expects. WebSphere MQ V5.3 uses the LinuxThreads model rather than the newer NPTL threading model available on many newer Linux distributions.
Resolving the problem
Configure WebSphere MQ to use LinuxThreads by setting the following environment variable wherever the queue manager, its programs, or user applications will run:
export LD_ASSUME_KERNEL=2.4.19
Be aware that this variable can cause problems for some applications which require NPTL threading. In particular, refer to the item on RPM database corruption when using this environment variable. For this reason the IBM® MQ programs can use an alternate variable that does not affect other applications:
export AMQ_THREADMODEL_RESET=1
For information on setting environment variables for the amqcrsta program refer to the item on inetd and xinetd configuration.
Comments
Post a Comment