Home » RDBMS Server » Server Administration » ERR:ORA-01031: insufficient privileges while connecting as sys
ERR:ORA-01031: insufficient privileges while connecting as sys [message #172678] Wed, 17 May 2006 10:40 Go to next message
sajan
Messages: 16
Registered: April 2001
Junior Member
Hi all...
I m using oracle 9.2 ,One DB is already presnt in the svr which was created using DBCA.Now I am trying to create one more DB manually in the same machine.
I successfully created new service using ORADIM.
I changed sid to new sid and when i try to connect as sys following errors occurs....
1.without giving sid
SYS>connect sys as sysdba
Enter password:
ERROR:
ORA-01031: insufficient privileges
2.With giving sid

SYS>connect sys@newdb as sysdba
Enter password:
ERROR:
ORA-12514: TNS:listener could not resolve SERVICE_NAME given in connect
descriptor

My login is included in OS ORA_DBA group also...

I m able to connect as sys to the old database and start/shutdown it...

can any one help me out to solve d above prob..
thnx in advance
sajan
Re: ERR:ORA-01031: insufficient privileges while connecting as sys [message #172769 is a reply to message #172678] Thu, 18 May 2006 00:07 Go to previous messageGo to next message
viplove
Messages: 9
Registered: May 2006
Junior Member
ORA-12514: TNS:listener could not resolve SERVICE_NAME given in connect descriptor

pls check ur tnsnames.ora ans lisnter.ora, i am sure the entries for ur second instance is not proper there
Re: ERR:ORA-01031: insufficient privileges while connecting as sys [message #172772 is a reply to message #172769] Thu, 18 May 2006 00:53 Go to previous messageGo to next message
sajan
Messages: 16
Registered: April 2001
Junior Member
HI...


I checked STATUS of my listner it shows as 'READY' for my old db
but der is no entry for my new db.
How will add my new db dtls to listner..

I manually added to listner.ora but it didn't help...
Re: ERR:ORA-01031: insufficient privileges while connecting as sys [message #172773 is a reply to message #172772] Thu, 18 May 2006 01:04 Go to previous message
viplove
Messages: 9
Registered: May 2006
Junior Member
where does it show READY status for listner???

as u said ur old database listner is fine then u copy the portion of that instance and make changes at appropriate places with ur new instance name.
Previous Topic: How to know space before and after purging?
Next Topic: SYSTEM tablespace
Goto Forum:
  


Current Time: Fri Sep 20 12:47:44 CDT 2024