Sometimes You can get ” TNS-01115: OS error string creating shared memory segment of string bytes with key string with TNS-01114: LSNRCTL could not perform local OS authentication with the listener” error.
Details of error are as follows.
TNS-01114: LSNRCTL could not perform local OS authentication with the listener Cause: LSNRCTL failed to obtain system resources (heap memory, or shared memory) needed to perform local OS authentication with the listener. Action: Make sure that system resources like shared memory and heap memory are available for LSNRCTL tool to execute properly. TNS-01115: OS error string creating shared memory segment of string bytes with key string Cause: The shared memory segment could not be created as requested. For example, a segment with the provided key may already exist, or the size may be outside of system allowed range. Action: Use the error code to determine the exact cause of the problem. In certain cases the problem may be resolved by adjusting the system-imposed limits such as the maximum number of allowed shared memory segments, or their maximum and minimum sizes. In other cases, resources need to be freed up first for the operation to succeed.
This issue was caused by an LDAP project id (SolarisProjectID) conflicting with the /etc/project project id (projid). So when a user with a LDAP project id of 101 would log into the system running an Oracle database with an /etc/project file that contained…
…the user’s project.max-shm-memory would be used during the listener test that determines if there is enough shared memory available. A user’s project.max-shm-memory is typically far lower than the project.max-shm-memory used by user.oracle:101.
To solve this error, Resolve conflicting LDAP project id’s with /etc/project project id.
Do you want to learn more details about RMAN, then read the following articles.
1,812 views last month, 2 views today