Problem Note 57217: When a LIBNAME statement is issued to PI Web API from SAS/ACCESS® Interface to the PI System, a segmentation violation occurs
When you use SAS/ACCESS Interface to the PI System to access a PI Web API host that has been secured with Kerberos authentication, the LIBNAME assignment fails and a segmentation violation occurs. The following message is written to the SAS log file.
A code example and error message are shown below.
/* Certificate to the HTTPS PI Web API host */
options SSLCALISTLOC="/certs/example.host.com.pem";
/* Note that example.host.com (https://example.host.com/piwebapi) */
/* is set up for Kerberos authentication. */
libname db pisystem host="example.host.com" server="example";
ERROR: An exception has been encountered.
Please contact technical support and provide them with the following
traceback information:
The SAS task name is [Line Mod]
Segmentation Violation
Traceback of the Exception:
vassym_krb5_cc_set_default_name(0x0, 0x0)+0x224
vassym_krb5_cc_default_name(0x0)+0x44
gssapiProviderAcquireCredHandle+0x12c
SecurityAcquireCredHandle+0x7c
httpAuthCreateSecContext+0x2b8
httpAuthOutputAuth+0x448
httpBuildHeader+0x54
httpStateDo+0x390
execute+0x420
TKRESTCSubmitRequest+0x338
restApiGet+0x154
ConnectPIServer+0x424
connect@AF71_32+0x1bc
yhelasg+0x1ac
yyhlasn+0x21c
yhlasn2+0x498
yhlasn2+0x38 -- bridge stub
ytlibf+0xf10
yasany+0x4f0
yasany2+0x18c
yttknx+0x1460
yalexec+0x4cc
yalinln+0x6a8
yalproc+0x234
yalproc+0x38 -- bridge stub
sasxbtch+0x9c
vvtentr+0x194
_pthread_body+0xf0
Click the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | Base SAS | 64-bit Enabled AIX | 9.4_M3 | 9.4_M3 | 9.4 TS1M3 | 9.4 TS1M3 |
64-bit Enabled Solaris | 9.4_M3 | 9.4_M3 | 9.4 TS1M3 | 9.4 TS1M3 |
HP-UX IPF | 9.4_M3 | 9.4_M3 | 9.4 TS1M3 | 9.4 TS1M3 |
Linux for x64 | 9.4_M3 | 9.4_M3 | 9.4 TS1M3 | 9.4 TS1M3 |
Solaris for x64 | 9.4_M3 | 9.4_M3 | 9.4 TS1M3 | 9.4 TS1M3 |
*
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.
When accessing a Kerberized PI System using SAS/ACCESS Interface to the PI System in Web API mode, a segmentation violation error is shown in the SAS® log file.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2016-03-10 14:57:34 |
Date Created: | 2015-12-08 17:53:29 |