skip to main content
Troubleshooting the OpenAccess SDK Server : Debug Log Files
 

Debug Log Files

Technical support may ask you to provide a debug log file. OpenAccess SDK Server uses the following types of debug log files:
Session debug log files contain information related to all server processing in the context of a client session. See Session Debug Log Files for more information.
Service debug log files contain information related to service-related processing—any kind of processing that occurs outside the context of a client session. See Service Debug Log Files for more information.
Errors appear in the log files in the following syntax:
timestamp":ErrorCode="dddd","errortext"."[source_code_location_info]
timestamp": "errorstack_line
timestamp": "errorstack_line
...
where:
timestamp is the timestamp indicating when the error occurred.
dddd is the error code. See od for a list of all possible error codes and a description.
errortext is the error message.
source_code_location_info is optional information that may be provided to help you determine the location of the error in the source code.
errorstack_line is information relayed from the ErrorStack. For example, this information can include the line number and module indicating the location in the source code where the error occurred and an error ID indicating an external error from the operating system.

Example on Windows

Fri Apr 26 08:42:50 2014:DataDirect OpenAccess SDK 8.1.0 - Server and IP SDK. Build 0007
Fri Apr 26 08:42:50 2014:BELG-CARL7(2 CPU) - Microsoft Windows XP(5.1-Service Pack 2 (Build 2600))
Fri Apr 26 08:42:50 2014:SWANDBSRVC_Init: SHLBLoadNoExt of JVMFileNamePath='C:\Program Files\Java\jre6\jvm' failed
Fri Apr 26 08:42:50 2014:ErrorCode=3005, Internal error, fatal server error detected. @oasrv.swsoa.c:7713: @SHLBLoadNoExt
Fri Apr 26 08:42:50 2014: Shared Library Manager.:163(SHLBLoad): ErrorCode=192, The shared library or one of underlying components cannot be found.
Fri Apr 26 08:42:50 2014: Operating System.SHLBLoad:155(LoadLibrary): ErrorId=126, The specified module could not be found.

Example on UNIX/Linux

Mon May 6 10:52:09 2014:DataDirect OpenAccess SDK 8.1.0 - Server and IP SDK. Build 0007
Mon May 6 10:52:09 2014:belg-dino(8 CPU) - AIX(3-5)
Mon May 6 10:52:09 2014:ErrorCode=3048, Internal error, failed to initialise the event trace component.
Mon May 6 10:52:09 2014: Swan Common Library.SWEVLOG_Open:2539(): ErrorCode=433, Failed to open the event trace file.
Mon May 6 10:52:09 2014: Operating System.SWEVLOG_InitEvents:2270(creat): ErrorId=13, The file access permissions do not allow the specified action.
Mon May 6 10:52:09 2014: Operating System.SWEVLOG_LoadEvents:1378(open): ErrorId=2, A file or directory in the path name does not exist.