|
|
Re: archive log list doesn't work as sysdba [message #55570 is a reply to message #55566] |
Fri, 31 January 2003 15:28 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
Somesh Dhawas
Messages: 9 Registered: January 2003
|
Junior Member |
|
|
Mahesh,
Thanks for getting back to me. I tried connect sys/sys as sysdba this is what it does.
SQL> connect sys/sys as sysdba
ERROR:
ORA-12560: TNS:protocol adapter error
When I type archive log list as sysdba it says
ORA-1031:Insufficient privileges.
Tried the follwoing as system.
SQL> grant sysdba to sys;
grant sysdba to sys
*
ERROR at line 1:
ORA-01031: insufficient privileges
SQL> grant sysdba to sysdba;
grant sysdba to sysdba
*
ERROR at line 1:
ORA-01031: insufficient privileges
My environment is Windows-NT. DO I need to consult the sys administrator to see if I have ora_dba privileges.
Please help
Thanks
-Somesh
|
|
|
Re: archive log list doesn't work as sysdba [message #55572 is a reply to message #55566] |
Fri, 31 January 2003 17:45 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) |
Somesh Dhawas
Messages: 9 Registered: January 2003
|
Junior Member |
|
|
Mahesh,
I could connect as
connect sys/sys as sysdba and now I can do
archive log list and start and stop the database.
The real question is once the database is stopped and if you exit/come out of the sys user you have no way of getting back in the database because you can't connect as internal as of 9i or svrmgrl.
I can conect as sysdba but somehow my sysdba user doesn't do any acivities like start or stop the database and even archive log list. This is where I'm confused.
The Oracle(sqlplus) version I use is 9.0.1.0.1
Can you tell me more.
Thanks
-Somesh
|
|
|