ORacle 8.1.7 Edition- Database Startup Problem

Posted on 2006-04-15
Last Modified: 2013-12-12
Have installed Windows 2000 Server. and ORacle 8.1.7 Edition.
After installation the Database was working fine. but once i restart the PC, not able to connect. checking the status found that the Database is not mount/initiatlized. and each time i have to manually start my Database..
1. Can i Have a batch file/script for this
2. Can i have it at startup ?

Question by:arvindthakor
    LVL 13

    Accepted Solution

    create a bacthfile (say dbstart.bat) having contents:

    sqlplus "/ as sysdba" @oradbastart (you will have to mention full path for this file)

    where oradbstart.sql should contain:


    Add dbstart.bat in stratup menu of windows.
    LVL 76

    Assisted Solution

    by:slightwv (䄆 Netminder)
    If you still want a BAT approach you can do it in a single file:
    @echo off
    echo / as sysdba
    echo startup
    ) | sqlplus -s

    A batch file will work but it's probably better to figure out why it isn't starting on boot in the first place.  Make sure the service is set to automatic.  Check the registry settings and make sure it's set to autostart the instance (I don't have any 8i left around so I'm not sure of the exact settings).

    Then check the alert log for startup errors.
    LVL 12

    Assisted Solution

    there is a bug in oracle 8.1.7 on some windows 2000 platforms which causes oracle not to start automatically.

    look at oracle METALINK for a patch.
    LVL 8

    Assisted Solution

    by:Pierrick LOUBIER
    Final version of 8i is If you want the instance to start automatically at Windows boot :

    1. open the services console (Start -> Run -> services.msc) and set the startup type of OracleService<SID> to automatic
    2. open the registry (Start -> Run -> regedit), and set TRUE to the key ORA_<SID>_AUTOSTART located in HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOME0

    As an alternate method, you can use ORADIM in a DOS window :

    ORADIM -EDIT -SID <your_sid> -STARTMODE auto
    LVL 13

    Expert Comment

    where r you?

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    Suggested Solutions

    How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
    Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
    Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
    This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.

    745 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

    16 Experts available now in Live!

    Get 1:1 Help Now