EXtremeDB -- thesharedmemory80error

Source: Internet
Author: User
Expiration; utilitytrussisusedtotrackthedebuginfo, eXtremeDB. registryaccesserrorisfound. Releasenotesdescribedasfollows: Thesenamesareconstructedusingthememorysegment

The customers got the shared memory 80 error 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

The customers got the shared memory 80 error 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 255.0.7.5, rank 21234

Kwrite (1, "N o d e 2 0 .."..., 30) = 30

Node 255.0.7.6, rank 21234

Kwrite (1, "N o d e 2 0 .."..., 30) = 30

Node failure 0.8.5, rank 21234

Kwrite (1, "N o d e 2 0 .."..., 30) = 30

Node failure 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 = 80 Database and memory alloc in 1 msecs

Kwrite (1, "\ t c o n e c t I n g"..., 76) = 76

Kwrite (1, "\ n", 1) = 1

Error connecting database:

Return Code kwrite (1, "\ t E r o r c o 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 cocould 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:

" . Lock "for sync. primitives,

"EXtremeDB. "For memory segments,

"EXtremeDB_registry" for the registry.

NormallyEXTremeDB 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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.