2
SAP Knowledge Base Article Symptom When starting the Application Profiler in Sybase Central it fails when setting up the tracing database with a SQL Error: Authentication violation Environment l SAP Sybase SQL Anywhere OEM Edition v10+ Reproducing the Issue 1. Start a database using dbsrv (dbeng will not work as the profiler requires a TCP/IP connection to the server) 2. Open Sybase Central and start a Application Profiling session 3. Click through the wizard until the wizard starts to setup the profiling database 4. During this automated process the error will be thrown and the profiling session will end Cause l All databases created by the SAP Sybase SQL Anywhere OEM Edition are signed with your OEM license key. l Any connections to an authenticate database must be signed with your key within 30 seconds of opening the connection, if this does not happen the connection will be dropped to a restricted read-only (write is retained on temp tables) mode by the server. l The application profiler uses a database to store its results and so is no exception; the database will be signed and any connections to it must be signed. l Since the application profiling setup is automated there is no point at which you can authenticate the connection which causes the setup to fail. Resolution 1. This error can be resolved by creating an authenticate.sql file in a scripts directory, SQL Anywhere programs will automatically execute this file to authenticate connections. The format of the file should be the following: SET OPTION PUBLIC.database_authentication = 'company = company-name; application = application-name; signature = database- signature'; go 2. This file must be placed in a directory named scripts located in one of SQL Anywhere's search paths (for information on search paths see our documentation: for Windows or for Unix ) See Also l Authenticated SQL Anywhere applications l database_authentication option l authentication - statement formatting l Windows file searching l Unix file searching Header Data Product 1899390 - Failed to Unload Tracing Database: Authentication Violation Version 1 Validity: 12.08.2013 - active Language English Released On 28.08.2013 20:05:50 Release Status Released to Customer Component BC-SYB-SQA SQL Anywhere (on premise, on demand) Priority Normal Category Problem Product Product Version SAP SQL Anywhere SAP SQL Anywhere 16.0 SAP Sybase SQL Anywhere 12.0 SQL Anywhere Sybase SQL Anywhere 10.0

0001899390 - note

  • Upload
    pogi

  • View
    6

  • Download
    1

Embed Size (px)

DESCRIPTION

0001899390 - note

Citation preview

Page 1: 0001899390 - note

SAP Knowledge Base Article

Symptom

When starting the Application Profiler in Sybase Central it fails when setting up the tracing database with a SQL Error: Authentication violation

Environment

l SAP Sybase SQL Anywhere OEM Edition v10+

Reproducing the Issue

1. Start a database using dbsrv (dbeng will not work as the profiler requires a TCP/IP connection to the server) 2. Open Sybase Central and start a Application Profiling session 3. Click through the wizard until the wizard starts to setup the profiling database 4. During this automated process the error will be thrown and the profiling session will end

Cause

l All databases created by the SAP Sybase SQL Anywhere OEM Edition are signed with your OEM license key. l Any connections to an authenticate database must be signed with your key within 30 seconds of opening the connection, if this does not

happen the connection will be dropped to a restricted read-only (write is retained on temp tables) mode by the server. l The application profiler uses a database to store its results and so is no exception; the database will be signed and any connections to it

must be signed. l Since the application profiling setup is automated there is no point at which you can authenticate the connection which causes the setup to

fail.

Resolution

1. This error can be resolved by creating an authenticate.sql file in a scripts directory, SQL Anywhere programs will automatically execute this file to authenticate connections. The format of the file should be the following:

SET OPTION PUBLIC.database_authentication = 'company = company-name; application = application-name; signature = database-signature'; go

2. This file must be placed in a directory named scripts located in one of SQL Anywhere's search paths (for information on search paths see our documentation: for Windows or for Unix)

See Also

l Authenticated SQL Anywhere applications l database_authentication option l authentication-statement formatting l Windows file searching l Unix file searching

Header Data

Product

1899390 - Failed to Unload Tracing Database: Authentication Violation

Version 1 Validity: 12.08.2013 - active Language English

Released On 28.08.2013 20:05:50

Release Status Released to Customer

Component BC-SYB-SQA SQL Anywhere (on premise, on demand)

Priority Normal

Category Problem

Product Product Version

SAP SQL Anywhere SAP SQL Anywhere 16.0

SAP Sybase SQL Anywhere 12.0

SQL Anywhere Sybase SQL Anywhere 10.0

Page 2: 0001899390 - note

Sybase SQL Anywhere 11.0