Quoting Peter Hofmann...
-> we're running INFORMIX On-Line 4.0 at our site that we access primarily
-> using the ESQL/C-Interface. After every first or second execution of
-> our application the database enginge aborts giving the following
-> error codes and messages:
->
-> SQLCODE # -529 = Cannot attach to shared memory.
-> ISAM-ERROR # -123 = ISAM error: no shared memory.
->
-> The logfile contains the following entries:
->
-> ...
-> 15:21:45 On-Line Mode
-> 15:28:29 Cannot Open Primary Chunk '/dev/informixrawdev1'
-> 15:28:29 I/O error, Primary Chunk '/dev/informixrawdev1' -- Offline
-> 15:28:29 I/O lseek() chunk 1, pagenum 1424, pagecnt 1 --> errno = 9
-> 15:28:29 error on log write, buf 550000, physaddr 1050000, npages 1
-> 15:28:29 Log Error - INFORMIX-OnLine Must abort
-> 15:28:30 INFORMIX-OnLine entering ABORT mode!!!
-> 15:28:32 INFORMIX-OnLine Stopped
-> /dev/informixrawdev1 is a symbolic link to the actual disc partition we use
-> as the raw device.
I prefer hard links myself for doing the above... anyway, it sounds like
your permissions are NFG. The permissions should be set to:
chmod 0660 /dev/informixrawdev1
chown informix /dev/informixrawdev1
chgrp informix /dev/informixrawdev1
DAS
--
David A. Snyder @ Snide Inc. - Folcroft, PA Current Release
is db4glgen-3.7
UUCP: ..!uunet!das13!dave INTERNET: dave.snyder@snide.com