TimesTen Error Messages

TT-00837

Cannot attach database shared-memory segment, error os_error_number


Cause

Unable to attach the database to the shared memory segment.

On Linux or UNIX systems, the shmat call can fail due to one of:

  • The application does not have access to the shared memory segment. In this case the system error code is EACCESS.

  • The system cannot allocate memory to keep track of the allocation, or there is not enough data space to fit the segment. In this case the system error code is ENOMEM.

  • The attach exceeds the system limit on the number of shared memory segments for the process. In this case the system error code is EMFILE. It is possible that some Linux or UNIX systems have additional possible causes for the error. The shmat man page lists the possibilities. On Windows systems, the error could occur because of one of these reasons:

  • Access denied.

  • The system has no handles available.

  • The segment cannot be fit into the data section.


Action

Diagnose and troubleshoot the operating system error. For more information see Manage semaphores and shared memory segments in Oracle TimesTen In-Memory Database Monitoring and Troubleshooting Guide.


Additional Information

You may be unable to connect to the database or load it into memory.