Informix Online: Shared Memory Problem (Linux)
Posted in 1995
I'm trying to get a version of Informix Online v5.01 working with Linux kernel v1.2.10. I have a working version of iBCS and I have System V IPC built into my kernel. I know my iBCS emulation is working correctly because I can run an older version of Informix (v2.10) with it just fine. My problem is this: After going through the various initialization steps with tbmonitor I go to try to bring up the engine. I get the following error message: Unable to attach to shared memory Invalid argument Informix was able to create a shared memory segment as evidenced by running ipcs: ============================================================================= ------ Shared Memory Segments -------- shmid owner perms bytes nattch status 1536 informix 660 573440 0 ------ Semaphore Arrays -------- semid owner perms nsems status ------ Message Queues -------- msqid owner perms used-bytes messages ============================================================================= At this point tbmonitor shows the engine to be offline, even though it was able to create this shared memory area. Any attempts to check up on things, like with a "tbstat -" produce the following: tbstat: cannot attach to shared memory, errno = 22 The "errno = 22" is the same as above (Invalid argument). I tried running a trace of the iBCS stuff when this happens, and have a log of it. However I don't know how to read this myself. I think there may be a problem when the engine is attempting to do a shmat() call, but that's just a wild guess on my part. If anyone can help out I can send a copy of the log file when this happened to help in the debugging. Is anyone successfully running Informix OnLine with Linux? Thanks! -- +--------------------+----------------------------+--------------------------+ | Michael Faurot | mfaurot@phzzzt.atww.org | I don't like | | ------- ------ | | lima beans!! | +--------------------+----------------------------+--------------------------+