eXtremeDB -- the shared memory 80error
来源:互联网 发布:淘宝上的望远镜怎么选 编辑:程序博客网 时间:2024/04/29 21:58
The customers got the shared memory 80error on AIX environment; utility truss is used to track the debug info,eXtremeDB.registry access error is found. Release notesdescribed as follows: These names are constructed using the memory segment'snames and the database name. eXtremeDB creates these name-files in the user'shome directory with the following naming scheme.
kwrite(1," S o c k e t d o m a i"..,43) = 43
Node 20.0.7.5, rank 21234
kwrite(1, " N o d e 2 0 .".., 30) = 30
Node 20.0.7.6, rank 21234
kwrite(1, " N o d e 2 0 .".., 30) = 30
Node 20.0.8.5, rank 21234
kwrite(1, " N o d e 2 0 .".., 30) = 30
Node 20.0.8.6, rank 21234
kwrite(1, " N o d e 2 0 .".., 30) = 30
kopen("/app/eXtremeDB_registry",O_WRONLY|O_CREAT|O_TRUNC, ) Err#13 EACCES
statx("/app/eXtremeDB_registry",0x0FFFFFFFFFFFECA0, 176, 010) Err#2 ENOENT
kopen("/app/eXtremeDB_registry",O_WRONLY|O_CREAT|O_TRUNC, ) Err#13 EACCES
statx("/app/eXtremeDB_registry",0x0FFFFFFFFFFFECB0, 176, 010) Err#2 ENOENT
kopen("/usr/share/lib/zoneinfo//Asia/Shanghai",O_RDONLY) = 3
kread(3, " T Z i f2\0\0\0\0\0\0\0".., 41448) = 405
close(3) = 0
__libc_sbrk(0x0000000000010020) = 0x000000011002EFE0
kopen("/usr/share/lib/zoneinfo//posixrules",O_RDONLY) Err#2 ENOENT
kopen("/app/eXtremeDB_registry",O_WRONLY|O_CREAT|O_TRUNC, ) Err#13 EACCES
statx("/app/eXtremeDB_registry",0x0FFFFFFFFFFFEBF0, 176, 010) Err#2 ENOENT
kopen("/app/eXtremeDB_registry",O_WRONLY|O_CREAT|O_TRUNC, ) Err#13 EACCES
statx("/app/eXtremeDB_registry",0x0FFFFFFFFFFFEC00, 176, 010) Err#2 ENOENT
_nsleep(0x0FFFFFFFFFFFEEE0,0x0FFFFFFFFFFFEFB0) = 0
connecting rc=80 createbefore rc=80Database and memory alloc in 1 msecs
kwrite(1, "\t c o n n e c t i n g".., 76) = 76
kwrite(1, "\n", 1) = 1
Error connecting database :
Return Code kwrite(1, "\t E r r o r c o n n e".., 43) = 43
80: MCO_E_SHM_ERROR - Failed tocreate/attach to shared memory
kwrite(1, " 8 0 : M C O _ E _ S H".., 63) = 63
kopen("/app/eXtremeDB_registry",O_WRONLY|O_CREAT|O_TRUNC, ) Err#13 EACCES
statx("/app/eXtremeDB_registry",0x0FFFFFFFFFFFECA0, 176, 010) Err#2 ENOENT
kopen("/app/eXtremeDB_registry",O_WRONLY|O_CREAT|O_TRUNC, ) Err#13 EACCES
statx("/app/eXtremeDB_registry",0x0FFFFFFFFFFFECB0, 176, 010) Err#2 ENOENT
kfcntl(1, F_GETFL, 0x00000000150B0293) = 67110914
kfcntl(2, F_GETFL, 0x00000000150B0293) = 67110914
_exit(1)
$
Question: How could we change customize the paththrough eXtremeDB to the currende eXtremeDB directory.
Answer:
On linux (and most other Unix-es) when using a shared memory database, eXtremeDB uses SysV synchronization primitives and the shared memory API. Both of these APIs require the names of existing files to identify the sync. primitives and memory segments. These names are constructed using the memory segment's names and the database name. eXtremeDB creates these name-files in the user's home directory with the following naming scheme:
“<dbname>.lock” for sync. primitives,
“eXtremeDB.<dbname>” for memory segments,
“eXtremeDB_registry” for the registry.
Normally eXtremeDB will remove all these files when the database is closed, but if the program fails it has no chance to do so. In this case the developer must provide some other means to clear the lock files form this directory.
It is possible to change the lock files location by exporting the "EXTREMEDB_DIR" environment variable to setup the path instead of the home directory by entering a command line like one of the following to run a program called “sample”:
“export EXTREMEDB_DIR=c:/tmp ./sample”
to keep the directory path setting only for the duration of the program execution, or
“export EXTREMEDB_DIR=c:/tmp”
“./sample”
to keep the directory path setting active until the next “export” command.
- eXtremeDB -- the shared memory 80error
- eXtremeDB shared memory mapping
- eXtremeDB shared memory using in Unix-based OS or Windows
- eXtremeDB IM Shared Memory Log PIPE buffer configuration
- linux posix shared memory: bus error
- provider: Shared Memory Provider, error: 0
- eXtremeDB Memory management
- 共享内存——The Shared memory
- Diagnosing and Resolving Error ORA-04031 on the Shared Pool or Other Memory Pools (文档 ID 146599.1)
- shared memory
- Shared memory
- Shared Memory
- eXtremeDB error code
- Informix database oninit: Fatal error in shared memory creation
- Informix database oninit: Fatal error in shared memory creation
- Informix 启动 Fatal error in shared memory initialization解决方法
- SQL1220N The database manager shared memory set cannot be allocated.
- Allocationand Reuse of Memory in the Shared Pool
- 使用viewpager,actionbar,fragment时正确导入android-support-v4.jar的方法
- ubuntu下安装韩语输入法
- iPhone适配若干问题
- 菜鸟运维笔记:小记编译安装Nginx所遇到的坑
- LinkedList常用方法
- eXtremeDB -- the shared memory 80error
- 在eclipse中如何快速打开项目源文件
- HBase(0.96以上版本)过滤器Filter详解及实例代码
- 史上最详细的XAMPP本地建站教程
- iOS 动态特性
- PHP怎样实现单击“添加”按钮增加一行表单项,并将所有内容插入到数据库中
- 瘦客户端 (刀片服务器) 许可证使用管理
- LMT NODE PBS作业排队系统的队列通信机制
- LicManager对不同授权license的监控管理