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

Hi,

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…

user.oracle:101

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

https://ittutorial.org/rman-backup-restore-and-recovery-tutorials-for-beginners-in-the-oracle-database/

 

About Mehmet Salih Deveci

I am Founder of SysDBASoft IT and IT Tutorial and Certified Expert about Oracle & SQL Server database, Goldengate, Exadata Machine, Oracle Database Appliance administrator with 10+years experience.I have OCA, OCP, OCE RAC Expert Certificates I have worked 100+ Banking, Insurance, Finance, Telco and etc. clients as a Consultant, Insource or Outsource.I have done 200+ Operations in this clients such as Exadata Installation & PoC & Migration & Upgrade, Oracle & SQL Server Database Upgrade, Oracle RAC Installation, SQL Server AlwaysOn Installation, Database Migration, Disaster Recovery, Backup Restore, Performance Tuning, Periodic Healthchecks.I have done 2000+ Table replication with Goldengate or SQL Server Replication tool for DWH Databases in many clients.If you need Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS Consultancy and Training you can send my email adress [email protected].-                                                                                                                                                                                                                                                 -Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS ve linux Danışmanlık ve Eğitim için  [email protected] a mail atabilirsiniz.

Leave a Reply

Your email address will not be published. Required fields are marked *