SAP Online Portal

Latest SAP News, Solutions, Error Codes, Help Files, Jobs, Documentations, Articles

TNS 12555 permission denied oracle Listener cannot be started

Case

Oracle listener can not be started. If you try to start it you get the following error:

<hostname>:<sid>adm $ lsnrctl start [LISTENER_NAME]
LSNRCTL for <OS>: Version 12.1.0.2.0 – Production on 30-AUG-2012 18:06:43
 
Copyright (c) 1991, 2014, Oracle.  All rights reserved.
 
Starting /oracle/<SID>/121/bin/tnslsnr: please wait…
 
TNSLSNR for <OS>: Version 12.1.0.2.0 – Production
System parameter file is /oracle/<SID>/121/network/admin/listener.ora
Log messages written to /oracle/<SID>/121/network/log/listener.log
Error listening on: (ADDRESS=(PROTOCOL=IPC)(KEY=<SID>.WORLD))
TNS-12555: TNS:permission denied
TNS-12560: TNS:protocol adapter error
TNS-00525: Insufficient privilege for operation
<OS> Error: 1: Not owner

Solution

You have probably wrong user permission settings in socket files

Make sure that both <sid>adm and oracle/ora<sid> have full permissions in the following two directories:

  1. /tmp/.oracle
  2. /var/tmp/.oracle

Correct by changing the ownership and granting more privileges:

  1. chown ora<sid>.dba /tmp/.oracle
  2. chmod 774 /tmp/.oracle

For 12c or any installation under the “oracle” user, please adjust the command line above accordingly.

Leave a Reply

Your email address will not be published.

Related topics

Creation of column view for 0BCTCOMP failed

Case During upgrade of BW system as of 7.30 you get the following error in SUM : A3EEDBMAN 099 “executing SQL” “statement</message><errorCode>2116</errorCode></st” ” ” ” […]

HANA database backup fails with “allocation failed” error

Case During backup of your HANA database you get the following error: [447] backup could not be completed, [1000002] Allocation failed ; $size$=536870912; $name$=ChannelUtils::copy; $type$=pool; […]

TNS 12555 permission denied oracle Listener cannot be started

Case Oracle listener can not be started. If you try to start it you get the following error: <hostname>:<sid>adm $ lsnrctl start [LISTENER_NAME] LSNRCTL for […]