Hi Folks,
One of our dba is not there and his group lost disk on NT box. NT admin rebuild that disk and asked me to restore the files from backup. So i went there and noticed that system datafile are misssing. I went to backup tool and copied from their. Then i followed these steps.
DOS PROMPT
---------------
1.FIRST I CHECKED THE ENV BY ISSUING THE COMMAND
c:\oracle\ora8i>set
2. I noticed that ORACLE_HOME IS THERE BUT ORALCE_SID IS NOT THERE IN THE ENV. SO
c:\oracle\ora8i>set ORACLE_SID=SIDNAME
3. Again i checked the env and now sid name is there in env. Then i connect to the svrmgrl.
c:\oracle\ora8i>svrmgrl
svrmgr>connect internal
At this stage it's asked me the password, I don't know the internal password but i know the sys password. So i gave the that password. It's connected. Then
svrmgr>startup mount
ora 01031 insufficient privileges;
So i exit from svrmgrl and connected to sqlplus
c:\oracle\ora8i>sqlplus
username: internal as sysdba
ora 01031 insufficient privileges;
I am new to NT, So if anybody will give some idea it will help me.
and i issued
svrmgr>shutdown abort
instance shutdown
svrmgr>startup mount
ora 01031 insufficient privileges;
I checked in the services and i find that oracleservicesidname service is started and. Really i am not understanding how to check the process on the NT.
One more thing. I am connecting as one user. So is that user has to get some admin privileges ? If yes then How can i check the user privileges?
After you do "Shutdown abort" and before you do "startup mount" issue the "connect sys/password as sysdba" one more time. There is a possibility you are losing the privilege after the Abort.
To see if you are a member of ORA_DBA group on NT go to --
Start - Programs - Administrative Tools - User Manager for Domains
Find your username and see what Groups are assigned to him.
The GUI is very straight forward but if you don't have much experience you may need help from your NT admin.
Yes Rajeev, I connect from svrmgrl with this command.
connect sys/password as sysdba.
Then it's asked me the password, I typed the same sys password and it's connected but if i typed some thing also it's connecting. I don't know whether it's asking me the sysdba password or sys password. Anyway i gave the
startup mount but i got the same message.
ora 01031 insufficient privileges;
Bookmarks