Solved

oracle emergency, seeking oracle expert

Posted on 2004-03-31
7
510 Views
Last Modified: 2012-06-27
We are running oracle on a ERP system. We had a hardware failure that resulted in requireing a full restrore from backup of drive d: that holds the oracle database. We are currently running a raid 1(c:\) raid 5(d:\) I was told by the MRP company that we do buissness with that there would be no problems in doing the restore of the d:\ drive. I was also told as soon as the restore was finished that all was needed was a simple reboot and oracle would be up and going no problem. Well It didn't work that way. After restoring the d:\ drive the oracle services are failing with the error
--------------
Could not start the OracleServiceORCL service on Local Computer.
Error 3: The system cannot find the path specified.
--------------
This error is also duplicated in the event viewer.
Let me just say that I know nothing about Oracle. So Any information you need about this oracle setup I will supply you if you ask for it. I will be up all night trying to trouble shoot something I know nothing about so please anybody that knows Oracle I could use a hand on this one Bigtime. Also I will be glad to reward anyone who helps me to solve this as many points as they want.

Thanks

0
Comment
Question by:illtbagu
  • 4
  • 3
7 Comments
 
LVL 8

Expert Comment

by:baonguyen1
Comment Utility
OK, so fisrt try is to start the Oracle manually:

1. From command prompt, issue:
C:\set ORACLE_SID=<SID>
with SID is ORCL in your case I think
2. Then:
C:\sqlplus /nolog
SQL>
3.Now logon as sysdba:
-If you are running 8i and below, issue
SQL>connect internal
or
SQL>connect / as ssydba
-If you are running 9i, issue:
SQL>connect / as sysdba
or
SQL>connect sys/<password> as sysdba
4. Start the instance:
SQL>startup pfile=<your init.ora file>
For example:
SQL>startup pfile=D:\oraadmin\pfile\init.ora

Now the database is up and running. We can check to see why the service does not start the db later. Let me know if you have any other problem.

Hope this helps

0
 
LVL 1

Author Comment

by:illtbagu
Comment Utility
Thank you sir. I feel really stupid not knowing a thing about what you are having me do. For all I know you could be having me issue commands to the hubble space telescope :)

Could you just briefly in one sentence each explain what I am doing for numbers 1-4

Here is the last email contact I had with the ERP tech support people.
---------------------------------
I spoke with XXXXX and besides the cold oracle backup, they do a system backup every night. They will try to restore from the system tape, to get the system going, but likely we will have to copy the files from the cold backup back to their orginal directories.
---------------------------------
What is your opinion?
0
 
LVL 8

Expert Comment

by:baonguyen1
Comment Utility
Hi, the number 1-4 saying that you can try to start the database manually. By this way I want to ensure that your restore process went correctly.

I'm not sure what your man did but if they restore the whole system it should include the datafiles, redolog files, control files, init files... of the database. To be sure you have to check with them if they have restored all. Otherwise you have to restore the files from the coldbackup to the orginal directories as stated

You also need to ensure the tnsnames.ora , listener.ora (under %ORACLE_HOME\network\admin) are have been restored.

Let me know if you need more help
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 1

Author Comment

by:illtbagu
Comment Utility
This is really bad I have been checking out what was restored vs what existed before and there is missing some directories. After looking through veritas I am finding that even thought veritas said that it was doing a complete backup and none of the backups failed it seems that it was managing to miss some directories in the past few weeks when backing up. This is really scary.

I am going to keep this post open but here is some points (my way of saying thanks)
http://experts-exchange.com/Databases/Q_20939612.html
make a post here please
0
 
LVL 8

Expert Comment

by:baonguyen1
Comment Utility
Thanks. Which file you you can restore now ? If you can restore the all data files you can restore the db by recreate the control files, on-line redo log .... Otherwise you have to go back with other backup set

Do you have any people that have Oracle DBA knowledge there ?

0
 
LVL 1

Author Comment

by:illtbagu
Comment Utility
We have no one with oracle knowledge here.

It seems the prevous system administrator excluded the oracle data directory in the nightly backup because of errors that occur when the cold back up and veritas. I have no idea this is what the ERP people told me. Luckly we have a cold back up that looks intact. The ERP people are going to completely rebuild oracle.

I am keeping my fingers crossed.
0
 
LVL 8

Accepted Solution

by:
baonguyen1 earned 500 total points
Comment Utility
That's good.
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Introduction: Often, when running a query with joins, the results show up "duplicates", and often, those duplicates can be "eliminated" in the results using DISTINCT, for example. Using DISTINCT is simple: just add it after the SELECT keyword, an…
I guess that all of us know that caching the data usually increase the performance, but I worried if all of us are aware about the risk that caching the data provides and how to minimize this.  That’s the reason why I decided to write this short art…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now