unable to join the environment -
01-23-2006
, 08:21 PM
Hi all,
Attempting to create a shared memory db using 4.4.16 on a Linux
2.4.21-20.ELsmp. I'm getting an dbenvp->open() error.
The set_errfile shows:
SharedMemoryCache: shmget: key: 667: unable to create shared system
memory region: Invalid argument
SharedMemoryCache: PANIC: Invalid argument
SharedMemoryCache: unable to join the environment
the open() is called as follows:
first set_shm_key(602) is called
dbenvp->open(fullName.c_str(),
DB_CREATE,DB_INIT_LOCK,DB_INIT_LOG,DB_INIT_MPOOL,D B_INIT_TXN,DB_SYSTEM_MEM,DB_REGISTER,DB_THREAD,DB_ RECOVER,
S_IRWXU );
% ipcs
------ Shared Memory Segments --------
key shmid owner perms bytes nattch
status
0x0000029a 1572865 mez 600 24576 0
Any help would be greatly appreciated and yes, I'm a berkeley newbie. |