Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

TNS-12555: TNS:permission denied

m1ke - oracleApr 9 2010 — edited Apr 13 2010
I'm trying to install an application,RMS, using a dedicated called, oretail ,which needs access to an Oracle database and OAS. The instructions told me to create the user oretail along with a group dev. It then goes on to say run ./install.sh.

Problem is that install.sh chokes because the oretail user has insufficient privileges. I went ahead and added dba group, I was then able to login to the db via the oretail user, however when I run the install.sh script, it complains that it doesn't recognize my SID.

Digging through the install.sh script I find a preinstall.sh script that runs a test for the SID.

$ORACLE_HOME/bin/tnsping $ORACLE_SID 2>/dev/null |grep $ORACLE_SID 2>/dev/null

I tried running the command outside of the script and it did nothing. I ran it under oracle user and it displayed some TNS information. I then ran the tnsping command alone, that's where I saw the permissions denied issue.

Anyone know what I might be missing here? How would I know if the user account has sufficient privileges to install the app. as I'm hoping?

Any help would be much appreciated.

Regards,

Mike
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 11 2010
Added on Apr 9 2010
13 comments
14,430 views