cancel
Showing results for 
Search instead for 
Did you mean: 

Error while installing SAP : TNS-12555: TNS:permission denied

Former Member
0 Kudos

Dear All,

We are installing SAP ECC 6 on Hp Unix 11.31 for Testing purpose. Database is Oracle 10.2.0.1.0.

sapinst throws the error related to listner. Listener is not able to start.

I have try to start manully using ora<sid> userid it also gives following error. I have set the permission on /vat/tmp/.oracle. It ok now but following error remain same.

LSNRCTL for HPUX: Version 10.2.0.1.0 - Production on 30-AUG-2012 18:06:43

Copyright (c) 1991, 2005, Oracle.  All rights reserved.

Starting /oracle/PRD/102_64/bin/tnslsnr: please wait...

TNSLSNR for HPUX: Version 10.2.0.1.0 - Production

System parameter file is /oracle/PRD/102_64/network/admin/listener.ora

Log messages written to /oracle/PRD/102_64/network/log/listener.log

Error listening on: (ADDRESS=(PROTOCOL=IPC)(KEY=PRD.WORLD))

TNS-12555: TNS:permission denied

TNS-12560: TNS:protocol adapter error

  TNS-00525: Insufficient privilege for operation

   HPUX Error: 1: Not owner

Listener failed to start. See the error message(s) above...

Thanks in advance,

Nirav

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Clear the /var/tmp/.oracle directory and start from fresh:

  1. Stop all listeners
  2. Remove the /var/tmp/.oracle directory, e.g. run the following from the root account:

    rm -rf /var/tmp/.oracle

  3. Check the listener(s) configuration contains unique keys specified for each IPC endpoint and each listener
  4. Start the listener(s) from the normal Oracle OS user.

Clearing the /var/tmp/.oracle directory will force the listeners to recreate the socket files from fresh, each with its own correct ownership.


For reference : (

)

0 Kudos

Thanks - solved my problem 🙂

Former Member
0 Kudos

Database is Oracle 10.2.0.1.0

Version is unsupported, apply last patch and continue.

Database version is also out of support, you should own the issues and resolutions part.

Regards,

Nick Loy

Former Member
0 Kudos

is right, you should use the newest patchset of Oracle 11.2.

former_member182034
Active Contributor
0 Kudos

Dear Nirav and SCN users,

TNS-12555: TNS:permission denied

Solution:

Commands:

SAPSUSE:/var/tmp # chown oraids:dba /var/tmp/.oracle/

SAPSUSE:/var/tmp # su oraids

SAPSUSE:oraids 50> lsnrctl start

Regards,

charles_koekemoer2
Participant
0 Kudos

Good day,

We had the same problem.

The solution

- cd /tmp/.oracle

- Some of the files are not owned by oxa<sid> meaning that someone tried to start listener with either the root or sidadm user.

- delete all that does not owned by ora<sid>:dba files.

- lnsrctl start will work.

Kind regards,

Charles Koekemoer

0 Kudos

Thanks, this helped me, too!

Former Member
0 Kudos

Dear All,

Problem is solved.

I have checked in /tmp folder, it also have .oracle folder.  I have change the permission of /tmp/.oracle

to ora<sid> and group dba.

Now lisenter is started.

Thanks,

Nirav