IBM Support

Modeler on Mac OS unable to connect to DB2 database instance. Connection to Datasource Failed.

Troubleshooting


Problem

We have installed Modeler Client for Mac OS and DB2 CLI ODBC V11.1.1.1 on Mojave and High Sierra.
This was done following the published Technote:
https://www.ibm.com/support/pages/node/276849

The DB2 validate command completes successfully yet we are unable to make a database connect from SPSS Modeler to the DB2 server instance.

Symptom

Within the Modeler Client logging directory by default /Applications/IBM/SPSS/Modeler/18.2/SPSSModeler.app/Contents/log/server_logging.log

We see the locale is unable to be determined on the machine and defaulting.

019-09-24 10:16:03,882  77311 0x10d8b45c0 ERROR SDLServerApp AEQMC0069E: Failed to set locale to ''

2019-09-24 10:16:03,882  77311 0x10d8b45c0 INFO SDLServerApp AEQMC0070I: Locale set to C. Encoding set to iso-8859-1

We see the inability to find messaging resources:

2019-09-24 10:16:28,627 [AWT-EventQueue-0] ERROR com.spss.clementine.ui.UILocale - java.util.MissingResourceException: Can't find resource for bundle com.spss.clementine.resources.ui.MessagesBundle, key ConnectingToDatasource_name

2019-09-24 10:16:28,785 [AWT-EventQueue-0] ERROR com.spss.clementine.ui.UILocale - java.util.MissingResourceException: Can't find resource for bundle com.spss.clementine.resources.ui.ErrorsBundle, key ConnectionToDatasourceFailed_name

We see failure to resolve the Diagnostic being returned by the ODBC driver due to a failed connection:

2019-09-24 10:16:28,762  77309 0x11cfdd5c0 ERROR SDLSqlConnection AEQMC0044E: Error: SQLGetDiagRec() returned [-2], expecting SQL_SUCCESS[0] or SQL_SUCCESS_WITH_INFO[1].

2019-09-24 10:16:28,768  77309 0x11cfdd5c0 ERROR SDLSessionServer AEQMC0035E: E3008: Failed to retrieve status, check ODBC connection. (Failed to retrieve status, check ODBC connection.)

2019-09-24 10:16:28,769  77309 0x11cfdd5c0 INFO SDLSessionServer.ClientError AEQMC0132I: E3008: Failed to retrieve status, check ODBC connection. (Failed to retrieve status, check ODBC connection.)

 


Document Location

Worldwide


[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SS3RA7","label":"IBM SPSS Modeler"},"Component":"","Platform":[{"code":"PF017","label":"Mac OS"}],"Version":"18.2.x","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

More support for:
IBM SPSS Modeler

Software version:
18.2.x

Operating system(s):
Mac OS

Document number:
1078137

Modified date:
03 October 2019

UID

ibm11078137

Manage My Notification Subscriptions