Error Codes
The following table lists the most common error codes that are applicable to c-tree and provides a brief description and some advice.
These codes can appear:
as secondary code of 9D error in the COBOL program
in the c-tree client log file (see <log> and iscobol.file.index.log.file for details)
as output of ctutil commands
.
Logical Error
Meaning
-3
The client library (ctree.dll on Windows, libctree.so on Linux) is not compatible with the c-tree Server. This error is usually returned when there is a mismatch in the major versions of these components, e.g. a ctree.dll v10.4 is trying to connect to a c-tree server v3.0.0.
36
The most common cause of this error is that you’re opening a file that is not a c-tree file. JIsam files, for example, have the same default extensions for the data portion (.dat) and the index portion (.idx), so a c-tree file and a JIsam file could be easily confused for one another.
133
The c-tree server is down or unreachable. Double check network connectivity (e.g. try to ping the server where c-tree is running) and ensure that no firewall software is blocking the communication on the ports used by c-tree (by default: 5597and 6597) on the server.
401
The file is corrupt. Try to repair it using the -rebuild option. If the error persists, contact the Veryant’s support team.
456
A common cause of this error is that the ADMIN credentials were passed on the ctutil command line instead of being passed through a configuration file. See Registering existing c-tree files in c-tree SQL Server for more details.
978
A shared memory connection could not be established because the system denied access to the client process. For example, if a client is run as a Windows service and c-tree Server is not run as a Windows service (or vice-versa),
If you encounter an error that is not in the above list, you can use the ErrorViewer utility to obtain a brief description of the error. If the information returned by the utility doesn’t help in understanding the error cause and resolution, contact the Veryant’s support team.