Database Security Products (MOSC)

MOSC Banner

Why I am getting this error: ORA-01031

edited Oct 8, 2009 6:56PM in Database Security Products (MOSC) 8 commentsAnswered
 Our database is on hp_ux. If I do setenv ORACLE_SID mydb
then
sqlplus sys/passwd as sysdba will let me connected
but
sqlplus sys/passwd@mydb as sysdba
will get ORA-01031

Similarly, if I run:   rman target sys/passwd@mydb, I will get ORA-01031
but if I run:  rman target sys/passwd, I will connect to the db (ORACLE_SID is set).

On host2, also hpux, I can run tnsping mydb to find the db on host1, but when I setenv ORACLE_SID mydb
and then sqlplus sys/passwd@mydb as sysdba, I get ORA-01031,
however if I run:  sqlplus sys/passwd as sysdba, I got a connection to an idle instance, aparently not the mydb on host2, which is running.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center