Re: Shared Memory Problem
Posted in 1992
Steve Eldredge writes: > My problem is that when I try to initialize shared memory over 512K >I get this error > > tbinit: shmat [EINVAL][22]: shared memory base address illegal > using 0x80480000, needs 0x800000 > tbinit: fatal error in shared memory creation > >I have called informix support and they sent me instructions about how to >modify /etc/conf/cf.d/mtune under shared memory setup but after relinking >the kernel I still get the same problem. From what I can tell this is >somewhat a machine specific problem. (it would have to be my machine!) Has >anyone out there in netland ever come across this type of problem while >trying to boost shared memory past 512K? Any help would greatly be >appreciated! > >Thanks, > >Steve Eldredge $stevee@sasb.byu.edu Hello Steve, I hope that the following information is useful. We are running V4.0 on SCO ODT 1.1, but your problem sounds familiar. In our /usr/informix/release/MACHNOTESx.x file, the SCO parameter SHMBASE (shared memory base) is mentioned. If an incorrect value for shared memory base is used, you get messages similar to yours. Catch 22 - To the best of our knowledge, SCO UNIX does not have a SHMBASE parameter! Its certainly not in our /etc/conf/cf.d/mtune file, so its not surprising that the support instructions did not help. In our case we found that there was an explicit parameter in the /usr/informix/etc/tbconfig file that was setting SHMBASE. We removed the line and everything worked fine. We reported this to Informix and subsequent revisions of V4.00 did not have the line in the file, so I can't give you the exact details of the tbconfig line to look for. Perhaps the problem has crept back in for the port of V5.0 to SCO. Regards, +-------------------------------------------------------------------------+ Ron Lees rlees@pdact.pd.necisa.oz.au Manager, Software Development Centre (Canberra) Voice: +61-6-2516411 NEC Information Systems Australia Pty Ltd Fax: +61-6-2516947 PO Box 244, Belconnen ACT 2616, AUSTRALIA A.C.N. 002068546 +-------------------------------------------------------------------------+