gateguard
asked on
After setting REMOTE_LOGIN_PASSWORDFILE=NONE can't login to SYS as SYSDBA
Oracle 10g
ran: ALTER SYSTEM SET remote_login_passwordfile= NONE scope=SPFILE;
Then rebooted the server.
Now everything works but when I try to log into sqlplus or the dbconsole with SYS as SYSDBA it says "insufficient privileges" in sqlplus and "invalid password" on the dbconsole login screen.
I did NOT change the SYS password and I was logged in as SYS when I ran the ALTER SYSTEM command so I know that I had the right password at that time.
All other logins, including SYSTEM, still work.
Any ideas on what happens here and how I can fix it?
Thanks.
ran: ALTER SYSTEM SET remote_login_passwordfile=
Then rebooted the server.
Now everything works but when I try to log into sqlplus or the dbconsole with SYS as SYSDBA it says "insufficient privileges" in sqlplus and "invalid password" on the dbconsole login screen.
I did NOT change the SYS password and I was logged in as SYS when I ran the ALTER SYSTEM command so I know that I had the right password at that time.
All other logins, including SYSTEM, still work.
Any ideas on what happens here and how I can fix it?
Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
when I try to log into sqlplus or the dbconsole with SYS as SYSDBA it says "insufficient privileges" in sqlplus and "invalid password" on the dbconsole login screen
I always use "as sysdba" with sys and my environment variable ORACLE_SID always as the correct value on this server. This server has only one Oracle instance and I've checked the ORACLE_SID value many times while working on this problem. It's always correct.
I always use "as sysdba" with sys and my environment variable ORACLE_SID always as the correct value on this server. This server has only one Oracle instance and I've checked the ORACLE_SID value many times while working on this problem. It's always correct.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Yes, my local windows administrator login (that I use to log into the machine) is in the ora_dba group.
It was already there. I didn't have to add it.
Still can't log in as SYS ("as SYSDBA") from anywhere on the server into this database.
It was already there. I didn't have to add it.
Still can't log in as SYS ("as SYSDBA") from anywhere on the server into this database.
have you deleted or renamed the password file?
ASKER
I played around with all these suggestions and finally got it working (though I didn't knowingly do anything differently than when it wasn't working).
Anyway, it's working now, somehow. Thanks for your help.
Anyway, it's working now, somehow. Thanks for your help.
none The default value. In this case, Oracle will ignore the password file, and only local privileged logins will be recognized for sysdba access.
Also, if you are connecting from DB console, are you giving the password and using a connect string?
Did you set your ORACLE_SID environment variable and try to connect just using the following?
sqlplus "/ as sysdba" ?