Debug File Access Problems with Low Level File I/O Diagnostics
Quickly enable server side file I/O diagnostics
Troubleshooting path and file access issues when using the FairCom DB Server can be challenging at times as the files are frequently on a remote system. For example, an end-user has problems opening a file where the end-user copied the data file from a CD-ROM to the hard disk leaving the file marked read-only. When the user attempted to open these files, the open failed with c-tree error 12. The client side application only knows that the server failed to open the file, but not why. A diagnostic option is available to log this information from the server along with detailed operating system error codes, as reasons can be platform specific.
The diagnostic option DIAGNOSTICS LOWL_FILE_IO icauses the server to log to the server status log, CTSTATUS.FCS, the filename and system error code for failed file open, create, close, delete, and rename operations.
DIAGNOSTICS LOWL_FILE_IO
This option can be easily and dynamically enabled using the ctadmn administrator utility. From it's initial menu,
- Choose option 10, "Change Server Settings",
- Choose option 9, "Change a DIAGNOSTICS Option".
- Enter LOWL_FILE_IO and press return to enable this diagnostic.
To later disable the diagnostic, repeat the above steps in ctadmn and enter ~LOWL_FILE_IO.