Categories
- All Categories
- 15 Oracle Analytics Sharing Center
- 14 Oracle Analytics Lounge
- 211 Oracle Analytics News
- 42 Oracle Analytics Videos
- 15.7K Oracle Analytics Forums
- 6.1K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 78 Oracle Analytics Trainings
- 14 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
OAS 2025:"Log Could Not Be Retrieved" Error When Clicking View Log in Administration>Manage Sessions
In OAS 2025, attempting to view the detailed session log in the UI Console (Sessions and Query Logs) by clicking the "View Log" link for a specific session results in the following errors:
Error Messages:
Log Could Not Be Retrieved
Error during query processing (SQLExecDirectW)
Error Details:
Error Codes: OPR4ONWY:U9IM8TAC:U9IM8TAC:U9IM8TAC
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred.
State: HY000. Code: 43275. [nQSError: 43275] Message returned from OBIS [ecid:xxxxxxx].
State: HY000. Code: 43261. [nQSError: 43261] Log Viewer process failed to convert obis1-query.json
to obis1-query.log
: jq is not installed. Please install jq before running this script.
Cause:
This issue is an internal product defect. In OAS 2025, BI Server logs are generated only in JSON format (obis1-query.json
, obis1-diagnostic.json
), while the standard log format is missing.
A review of the logconfig.xml file (located at <<Domain Home>>/config/fmwconfig/biconfig/OBIS/) reveals the following:
- Element:
/server/ServerInstance/Log/Format
OAS 2025: Set toJSON
- Element:
/server/ServerInstance/UserLog/Format
OAS 2025: Set toJSON
Solution:
To resolve this issue:
- Update the logconfig.xml file in the OAS 2025 environment by setting Format = ODL-TEXT,JSON.
- Restart the OAS 2025 environment.
After this update, both log formats will be generated in <<Domain Home>>/servers/obis1/logs/, and the "View Log" functionality in the UI Console (Sessions and Query Logs) should work correctly without errors.
Comments
-
Or, as an alternative "solution", just install
jq
(despite not being listed as a requirement in the doc).After installing
jq
, without any restart, the logs can be viewed in Adminstration > Manage Sessions. At least on linux systemsjq
is usually available as a package for all distributions.Mostly if full-text logs aren't needed explicitly, having only the json version of logs on disk isn't an issue, less space usage.
3