I am getting the ISQL Error -25588 when trying to access the database on a Unix machine. I have two executables that attempt to open the database the same way. One produces the problem and the other does not. I am attempting to use shared memory exclusively. This problem did not occur when using TCP connections. It began to occur only when I modified the onconfig and sqlhosts files to setup Informix to use shared memory exclusively. Can anyone please help? Thank you.
1) Are the two executables compiled with the same version of the Informix CSDK?
2) What platform and which Informix versions are you talking about?
-- Sun Solaris 2.7
-- Informix 7.31
3) What kind of applications are this (esql/c) ?
-- Yes (esql.c)
4) Is there anything in the online. log ?
-- Nothing relevant to the error code. Just the Informix startup logs.
I believe it to be something with the shared memory access but am baffled as to what it is. I am not sure if modifying the system shared memory parameters would help or not. I am not that familiar with shared memory enough to know whether the systems parameters need tweaking or not. What about an executable determines how much shared me ory it needs for DB access
Originally posted by eherber
Are the two executables compiled with the same
version of the Informix CSDK ?
It may be an issue with version compatibility.
What platform and which Informix versions are
you talking about ?
What kind of applications are this (esql/c) ?
Is there anything in the online.log ?
Check the modules on Solaris that Informix shared memory needs.
As root, enter the command : sysdef
this will give you a list of the system settings; near the bottom of the list should be an entry for IPC semaphore module, IPC shared memory module, and the shared message module, if one or all of these are not loaded , the listing will indicate this.