insufficient privileges error ORA-01031 when trying to connect as sysdba [message #393215] |
Fri, 20 March 2009 14:50 |
aviana
Messages: 106 Registered: July 2007
|
Senior Member |
|
|
hi i am trying to upgrade the oracle database on one of our user's laptop from oracle 8i to oracle 9i
i installed oracle 9i in a different oracle home (selected the option, "just the software" as I wanted to upgrade the existing db to 9i)
The installation was successful and I started to run the DBUA(database upgrade assistant) and selected the old DB name for upgrade.In the bottom of the form where i want to give a username and p.w for authentication, it says,
"You do not have operating system privileges so need to provide a username and password having the sysdba privileges"
Also Nobody has the correct password for SYS user/or not available.
The username I logged in is in the ORA_DBA and also administrators group
I have 2 questions here:
1)what should i do to get the operating system privileges?
2)How do i reset the sys password?
I tried the foll: in an attempt to alter SYS password but no use!
sqlplus /nolog
connect / as sysdba
It says:
ORA-01031:insufficient privileges
pls try to resolve.What else should i check?
[Updated on: Fri, 20 March 2009 14:56] Report message to a moderator
|
|
|
|
|
Re: insufficient privileges error ORA-01031 when trying to connect as sysdba [message #393219 is a reply to message #393217] |
Fri, 20 March 2009 15:01 |
aviana
Messages: 106 Registered: July 2007
|
Senior Member |
|
|
Thanks Mahesh for a very quick reply!
yes it was a management decision basically to go to 9i enterprise edition, as the company has license only for it and 8i is desupported
yes i searched a lot for it but cant try to solve this.
OK, if doing export/import option, do i need to reinstall the oracle 9i as i only installed the software..but no database
also, i was afraid i might need to do manual steps when doing exp/imp, and it was very urgent and i thought dbua will be easier
|
|
|
|
|
|
|
|
Re: insufficient privileges error ORA-01031 when trying to connect as sysdba [message #393232 is a reply to message #393224] |
Fri, 20 March 2009 15:30 |
|
Mahesh Rajendran
Messages: 10708 Registered: March 2002 Location: oracleDocoVille
|
Senior Member Account Moderator |
|
|
>>i didnt take any backup but all data files is still there in the old oracle home
Good luck with that. Do you know what DBUA does do your database?
>>but even for doing exp/imp i need the sys password right?
Not essential. All you need is a dba account or atleast the user password (for the schema you want to export).
>>also pls tell me how to create empty database quickly?Using DBCA
May be.
Some find DBCA easy. I find command line createdb easy.
It is upto your comfort level.
DBCA is usually preferred for less experienced users.
>>when doing exp/imp will there be any noncompatible issues?
How can I say that?
It is your database. You should know about it.
search for ORA-01031: insufficient privileges
It is all over the web.
http://forums.oracle.com/forums/thread.jspa?messageID=1754959
|
|
|