Usage Statistics Tool ucybdblc.exe fails with an Oracle ORA-00904 or SQL Server Native error: '102'

book

Article ID: 87522

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine AUTOMIC WORKLOAD AUTOMATION

Issue/Introduction

Error Message :
Oracle: ORA-00904: invalid identifier
SQL Server: Native error: '102'

The usage statistics tool, ucybdblc.exe, runs several SQL scripts that include db functions in order to return license information. In some cases the tool stops with an error and shows the following error messages:
 
Oracle:
20160728/105021.042 - U0029108 UCUDB: SQL_ERROR    Database-Handles  DB-HENV: 710a330  DB-HDBC: 7115d90
20160728/105021.042 - U0003591 UCUDB - DB-Error-Info: Opc: 'OCIStmtExecute' Return code: 'ERROR'
20160728/105021.042 - U0003592 UCUDB - Status: '' NativeError: '904' Msg: 'ORA-00904: : invalid identifier'
 
MS SQL Server:
20160920/120411.672 - U0029108 UCUDB: SQL_ERROR    Database handles  DB-HENV: 1881a0  DB-HDBC: 188270
20160920/120411.672 - U0003591 UCUDB - DB error info: OPC: 'SQLExecDirect' Return code: 'ERROR'
20160920/120411.672 - U0003592 UCUDB - Status: '42000' Native error: '102' Msg: 'Incorrect syntax near 'date'.'
 
Solution:
This is a configuration issue on the database side. In some of the SQL-scripts used by the tool (see folder bin/scripts) db-functions like dbms_lob.substr are used. If this error appears, please check the SQL-file where the tool stopped and see what Database-function was used. Contact your DBA to grant the necessary privileges to the user for this function.

Cause

Cause type:
Other
Root Cause: Insufficient database privileges

Environment

Release: AOATAM99000-9.0-Automic-One Automation Tools-Application Manager
Component:

Resolution

This field was added on 30/03/2017. This article has not been updated yet. Refer to the "Description" or "Workaround" sections for solution information.

Fix Status: No Fix

Fix Version(s):
N/A

Additional Information

Workaround :
N/A