SAS Real-Time Decision Manager's SDS, MDS, and Audit Log Polling Servers might fail to connect to the message queue manager when the servers' associated RTDM Object Spawner is started. This failure to connect also prevents the RTDM Design Server and RTDM Engine Server from passing their installation validation tests. When the problem happens, the associated object spawner writes the following error in its log:
failed to connect to queue manager QM_QMANAGER, completion code 2, reason code 2058
This problem occurs in the following situations:
- The queue manager QM_QMANAGER is not started.
- The queue manager's location is incorrect in the polling server commands.
- The message queue server is on a different machine from the SAS server tier, and the MQServer environment variable is not defined on the SAS server tier.
To remedy this problem, first check that the message queue server and its queue manager, QM_QMANAGER, are started before the RTDM Object Spawner is started.
If you still receive the error despite starting the servers in the correct order, then check the command to start each MQ Polling Server. The command must specify the MQ Server's location correctly. For each Polling Server (SDS, MDS, and Audit Log), open SAS® Management Console and go to Server Manager, MQ Polling Server — <polling server name>. Right-click on Properties, open the Options tab, and check the portion of the Command between –set and –metaprofile. You might need to scroll down in the Command window to see this part of the command.
The text should be of the form:
MQSERVER "RTDMCHANNEL/TCP/<your machine name>"
The machine name should match the machine name of the server on which WebSphere MQ is installed. The machine name must appear exactly as it does in the /etc/hosts file of the computer where the RTDM Object Spawner is installed.
If this text is correct, you might still see new occurrences of error 2058 in the RTDM Object Spawner log. In this case, define a new environment system variable called MQSERVER on the computer where the RTDM Object Spawner is installed. Set the value of MQSERVER to the text after MQSERVER that you copied from the command for the Polling Server in the step above. For example, if the machine where WebSphere MQ resides is named MyWebSphere.pc.sas.com, then the MQSERVER environment variable would be set to
RTDMCHANNEL/TCP/MyWebSphere.pc.sas.com
Once this environment variable has been set, restart the RTDM Object Spawner.
Operating System and Release Information
SAS System | SAS Real-Time Decision Manager | Microsoft® Windows® for x64 | 5.3 | 5.4_M1 | | 9.2 TS2M0 |
Microsoft Windows Server 2003 Datacenter Edition | 5.3 | 5.4_M1 | | 9.2 TS2M0 |
Microsoft Windows Server 2003 Enterprise Edition | 5.3 | 5.4_M1 | | 9.2 TS2M0 |
Microsoft Windows Server 2003 Standard Edition | 5.3 | 5.4_M1 | | 9.2 TS2M0 |
Microsoft Windows Server 2003 for x64 | 5.3 | 5.4_M1 | | 9.2 TS2M0 |
Microsoft Windows Server 2008 for x64 | 5.3 | 5.4_M1 | | 9.2 TS2M0 |
Microsoft Windows XP Professional | 5.3 | 5.4_M1 | | 9.2 TS2M0 |
Windows Vista | 5.3 | 5.4_M1 | | 9.2 TS2M0 |
Windows Vista for x64 | 5.3 | 5.4_M1 | | 9.2 TS2M0 |
64-bit Enabled AIX | 5.3 | 5.4_M1 | | 9.2 TS2M0 |
64-bit Enabled Solaris | 5.3 | 5.4_M1 | | 9.2 TS2M0 |
Linux for x64 | 5.3 | 5.4_M1 | | 9.2 TS2M0 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.