1

I installed Oracle with sqlplus with user oracle (linux - CentOS). If I try to connect to database being oracle everything goes as expected (sqlplus / as sysdba for example), but I need to do the same thing (maybe not as sysdba, but as a user from database) being another linux user. I added this second user to group "dba", but still nothing. If, being secondUser, I enter "sqlplus username/password" I get this:

ERROR ORA-12547 TNS: lost contact

Can someone (please) guide me? Thank you in advance.

1

1 Answer 1

2

Most likely it is due to incorrect privileges at OS level. The Oracle file in the $ORACLE_HOME/bin directory should have following privileges:

-rwsr-s--x

You could check it like:

cd $ORACLE_HOME/bin
ls -lrt oracle

If you see any difference, then do:

chmod 6751 oracle
ls -lrt oracle

For more details, see How to resolve ORA-12547: TNS :lost contact when try to connect to Oracle

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.