I have loaded Oracle8i in my system. It loaded successfully. I used SQL for the first time. After that, when I restart the system it is giving a message that Oracle was not found. Sometimes it gives a TNS protocol error. Please help me out with this problem.

    Requires Free Membership to View

Since you are encountering this problem after a server reboot, check to see that the instance has started and the database is open. On the Windows platform, an Oracle database can be started automatically on server startup via the service. The most common cause of this problem is when the STARTMODE of the service is set to manual. When the service for the database is created with the oradim utility, you have the option to specify a STARTMODE as either AUTO or MANUAL. It's possible that the service was created with the STARTMODE as MANUAL, in which case your database would not start up automatically when the server reboots or starts up. To change this, you can recreate the service with the oradim utility (after shutting down your database). You can use the command:

oradim –edit –sid  –startmode auto
It is also possible that the service is starting up but not the database. In this case, it is possible that the STARTTYPE was set to SRVC rather than INST. This would start the Windows service but not the database itself. This, too, can be modified with the oradim utility.

This was first published in February 2006

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: