Installation Note 42254: ERROR: "Unable to link SAS/ACCESS to MySQL"
When installing a secondary ODCS server for SAS® Financial Management 5.2 in a UNIX environment, the SAS® Deployment Wizard might fail during the MySQL configuration phase. When this happens, a dialog box will be displayed in the SAS Deployment Wizard that contains the following message:
Unable to link SAS/ACCESS to MySQL
An error similar to the following will be written to Lev1/Logs/Configure/mysqldbs_configure_<DATESTAMP>.log:
[shellscript] The ' characters around the executable and arguments are
[shellscript] not part of the command.
[shellscript] ld: fatal: file /opt/app/SAS/config/Lev1/${sasinstall.install.dir}/misc/dbi/obj/s64myl.o: open failed: No such file or directory
[shellscript] ld: fatal: File processing errors. No output written to /opt/app/SAS/thirdparty/libmysql/libmysqlclient_sun
[antcall] Exiting /opt/app/SAS/sas92/SASDeploymentManager/9.2/products/cfgwizard__92400__prt__xx__sp0__1/mysqldbs/Config/mysqldbs_config.xml.
BUILD FAILED
/opt/app/SAS/sas92/SASDeploymentManager/9.2/products/cfgwizard__92400__prt__xx__sp0__1/mysqldbs/Config/mysqldbs_config.xml:180: The following error occurred while executing this line:
/opt/app/SAS/sas92/SASDeploymentManager/9.2/products/cfgwizard__92400__prt__xx__sp0__1/mysqldbs/Config/mysqldbs_config.xml:731: shellscript returned: 1
WORKAROUND
If you are in the middle of the configuration phase and you currently see the SAS Deployment Wizard dialog window, OR if you have not yet started the configuration phase use the following workaround:
- Edit the mysqldbs_config.xml file, which is typically found in the following directory structure:
SASHOME/SASDeploymentManager/9.2/products/cfgwizard__92400__prt__xx__sp0__1/mysqldbs/Config/
.
Note: The version of cfgwizard will vary based on the Ship Event that you have installed.
- Find the following line (typically near line number 390):
<runtarget target="updatePath"
description="Update the system path variable."/>
- Comment out this line as follows:
<!--<runtarget target="updatePath"
description="Update the system path variable."/>-->
If you are in the middle of the configuration phase, you can select Retry in the dialog box after you have made the preceeding change.
Note: If you make this change to the mysqldbs_config.xml file BEFORE you start the configuration phase, you should not see the error "Unable to link SAS/ACCESS to MySQL."
Operating System and Release Information
SAS System | SAS Financial Management | 64-bit Enabled AIX | 5.2 | 5.3 | 9.2 TS2M3 | 9.2 TS2M3 |
64-bit Enabled Solaris | 5.2 | 5.3 | 9.2 TS2M3 | 9.2 TS2M3 |
*
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.
Performing a SASĀ® Financial Management 5.2 installation of a secondary ODCS server in a UNIX environment might fail during the MySQL configuration.
Type: | Installation Note |
Priority: | medium |
Date Modified: | 2012-09-07 11:11:53 |
Date Created: | 2011-02-02 08:59:44 |