How to start manually an oracle 8i database with a bat file?

Hi all,
I know it's not the place but it is a really common question: how can i start manually an oracle 8i database on windows 2000 without using a service? I don't remember the command. I tried: oracle start SID without success...
Thanks
JMi

Dear JMD,
If you would like to startup the Oracle instance using a batch file then first create a SQL file (say ABC.SQL) wherein enter the following two lines:
connect internal/<INTERNAL_PASSWORD>
STARTUP
<INTERNAL_PASSWORD> above is the password for the INTERNAL user account (default password is "oracle")
Then create a batch file (say START.BAT) and enter the following single line:
<ORACLE_HOME>\bin\svrmgrl @<ABC_DIR>\ABC.SQL
where <ORACLE_HOME>\bin\svrmgrl is the full path of the SVRMGRL.EXE executable and <ABC_DIR> is the directory in which you have placed the ABC.SQL file.
Now you can startup the Oracle database by simply double-clicking on the START.BAT batch file.
Ciao!
null

Similar Messages

  • How to Start/Stop manually an oracle 9i database with a bat file?

    Hi;
    I have a manual Start/Stop of the db.
    How can i Start/Stop the 9i database all services with a batch file (windows 2000) ?
    All in one batch files ( One for Start & one for Stop)(Including listener)
    thanks for your answer !

    Save the scripts below in a batch file and use the first one to start your services, and the second one to shutdown.
    This script will shutdown your database first using SQL*Plus and stop the service later. This way you will avoid the timeout.
    Also will ask you for confirmation if you are sure to start Oracle services and database. press Y for yes and N for No.
    @echo off
    %systemdrive%
    REM #
    echo.
    echo You are about to start Oracle Services and Database
    echo.
    set /p Input=Do you want to continue? (Y=Yes N=No) =
    IF /i "%Input%"=="Y" (goto Proceed)
    exit /b
    :Proceed
    echo Oracle Instance and Services Startup in progress
    echo.
    Net start OracleOraHome92Agent
    Net start OracleOraHome92HTTPServer
    Net Start OracleOraHome92TNSListener
    Net Start OracleMTSRecoveryService
    Net Start OracleServiceORCL
    echo.
    echo Oracle ORCL Instance and Services Startup completed Successfully
    echo Good Bye
    echo on
    EXIT /BSave this one in a seperate batch, again it will ask for confirmation, and shutdown the database using SQL to avoid timeout
    Just replace the connect string with your own and the {SID} with your Database name
    @echo off
    %systemdrive%
    echo.
    echo You are about to shutdown Oracle Instance and Services
    echo.
    set /p Input=Do you want to continue? (Y=Yes N=No) =
    if /i "%Input%"=="y" (goto Proceed)
    exit /b
    :Proceed
    echo.
    echo Closing and Dismounting ORCL Database
    echo.
    echo shutdown immediate | sqlplus "/ @ORCL as sysdba"
    echo.
    echo Shutting down Oracle system services
    echo.
    Net Stop OracleService{SID}
    Net Stop OracleOraHome92HTTPServer
    Net Stop OracleOraHome92TNSListener
    Net Stop OracleMTSRecoveryService
    Net Stop OracleOraHome92Agent
    echo.
    echo Oracle Instance and Services Shutdown completed successfully
    echo Good Bye
    echo on
    EXIT /bTony Garabedian

  • How to start to use Oracle client to access Database ?

    Folks,
    Hello. I have just installed Oracle Client into directory /home/myOracle/Oracle_Client. But I don't know how to start and configure the client to access Oracle Database.
    Can any folk tell me how to start to use Oracle client to access Database ?

    user13764998 wrote:
    I have earlier managed to install the Oracle Client (32-bit) in 32-bit clients and servers Oracle Client 10.
    The reason that it went well before was the exellent setup and configurationprograms we got with that version.It seems you are confusing the "full" Datbase Client with Instant Client.
    Now I'm trying to install the Oracle Instant Client 11g R2 both 32-bit and 64 (of the latest revision) on a 64-bit Windows 2008 Server .
    I have managed to install the driver but the setup doesn't give me any Net Configuration Assistant or Net Manager to help with the configuration.What setup? Are you not using just the zip files?
    What are you installing exactly, i.e. what install media (file) did you download?
    So I haven't succeded in configuring it despite I I read the readme-info that comes with the Instant Client files.There's not much to configure - that's sort of the point of Instant Client. Just drop a few files in a folder, set PATH and off you go.
    Doesn't <instant client dir>\sqlplus user@'hostname/servicename' work?

  • How to migrate data from oracle 9i database to new machine 11gr2 RAC ASM

    Hi Expert
    I need your expertise to advise me what is the best method to move data from oracle 9i database to new machine running oracle 11r2 RAC database with ASM.
    Currently my production server running on HPUX ORACLE 9I database with normal file system. My new server is running SUN SOLARIS SPACR 64 bit ORACLE 11gr2 RAC with ASM. What is best method to move data over so it will be consistent. Any guide can refer.
    Regard
    William

    Hi William,
    See the note in metalink Migration of Oracle Database Instances Across OS Platforms [ID 733205.1] to saw the Endian Format of your OS. If is the same you can use the RMAN to convert the database to another OS, if not the only option is using export/import (Transportable Tablespaces).
    To upgrade from 9i to 11g, see the note 837570.1 - Complete Checklist for Manual Upgrades to 11gR2.
    To migrate your FS to ASM the only way is using RMAN, so see the note - How to move a datafile from a file system to ASM [ID 390274.1].
    Hope this help you.
    Best Regards,
    Ruben Morais

  • How to mask data in oracle 11g database release 1

    how to mask data in oracle 11g database release 1
    my environment is
    Database: 11g release 1
    os: AIX 6 (64 bit)
    GC:10g release 1

    DBA-009 wrote:
    thx but how i can mask data with above give environment?What does "mask data" mean to you and what is the environment you are referring to?
    Telling us that you are using 11.1 helps. But it is far from a complete description of the environment. What edition of the database are you using? What options are installed? What Enterprise Manager packs are licensed? Is any of this changable? Could you license another option for the database or another pack for Enterprise Manager if that was necessary?
    What does it mean to you to "mask data"? Do you want to store the data on disk and then mask the data in the presentation layer when certain people query it (i.e. store the patient's social security number in the database but only present ***-**- and the last 4 digits to certain sets of employees)? Do you want to hide entire fields from certain people? Do you want to change the data stored in the database when you are refreshing a lower environment with production data? If so, do you need and/or want this process to be either determinisitic or reversable or both?
    Justin

  • How to start EM in Oracle Web Center?

    Please guide how to start EM in Oracle Web Center?
    as i am not getting emctl file in BIN Directory of Oracle Web Center Home...
    Please guide and help
    Thanks,
    Waheed.

    Hi All,
    I got the solution how to start EM in Webcenter .
    If in your configuration is there any other HTTP server is running then its comfilect with your current Webcenter with HTTP server installation. so try to installed only Oracle Webcenter Freamwork only...after that try to open the Application server control page with 8888, it will definately work...

  • How to start and stop Oracle Application Server from ANT

    How to start and stop Oracle Application Server and Web application from ANT
    Thanks in Advance.
    Mani

    Hi,
    You can use: startManagedWebLogic.sh, it is in your domain directory and you have to execute it in this way
    ./startManagedWebLogic.sh managedServerName http://adminServerHost:adminServerPort
    For instance, in my case I use:
    unixserv01:/webportal/domains/appServerWeb/bin>startManagedWebLogic.sh managedServ01 http://pelma3w3per01.mesaperu.next:7001
    You have to run it on the machine where the managed server was installed.
    Best regards,
    Raúl

  • How to connect to an Oracle XE database from Forms

    Hello,
    I have just installed Oracle XE on my computer. After that I downloaded Oracle Developer Suite. My intention is to build programs with Forms. This forms program shall manage data stored in my Oracle XE database.
    My question is: How to connect to the Oracle XE database from forms. In forms developer I have tried to connect the database with the command Ctrl+J. Then I registered username, password and oracle instance (orcl). It will not work!
    best regards
    Håkan Axheim

    Hello,
    the tnsnames.ora must have been updated with the XE information.
    the SID for Xpress Database is always XE
    XE =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = XE)
      )Francois

  • Installing Oracle 9i Database with Oracle Developer 6i

    I'm trying to install Oracle 9i Database with Developer 6i for study purpose, but I can not connect from Oracle FORM Designer or REPORT Designer to Oracle Database, I would really appreciate if any one of you could tell me how to put them into work together.
    Thanks

    Yes, you can install. Install Oracle 9i DB and D2k on different HOME. Then, configure D2K tnsnames.ora as per 9iDB tnsnames.
    it will work, and works fine for me.
    Pramodu. C. P

  • How can I make a query by date with several TDMS files?

    Hi,
    I have a project that can write and read TDMS files everyday (a file for each day with date and time). There, I can import those files to excel (I choose a file and load it). But, I have a question: How can I make a query by date with those TDMS files? I'd like make a time stamp for start date and stop date, where I could compare the TDMS file dates and sum the values that are in the channels where these files are similar. For example, I save a file with "02/01/2013" name, in other day "03/01/2013", in other day "04/01/2013"... so, i'd like put in time stamp for start date "02/01/2013" file and to stop date "04/01/2013" file, than, sum all values that range with my TDMS files existing. How can I make that? 
    Thanks all,
    Val 

    Hello Val_Auto.
    You're Brazilian, no? Me too. = ^ - ^ =
    I converted VI to version of your LabVIEW (8.5). Is attached in this reply.
    This VI search all your TDMS in a range of dates and join them in a single TDMS. I hope this is what you wanted.
    Query TDMS is the main VI. The TDMS VI Search changes the date format that out from calendar control (which is DD / MM / YYYY) to DD-MM-YYYY. This is because you can't name files using "/". I chose "-" but, if necessary, you should change to keep the same format of your TDMS files.
    If you have any doubt as to its operation or how to make changes to adapt VI for your application, keep at your disposal.
    Thank you for your contact; I hope have helped you and succeed in your application.
    Wesley Rocha
    Application Engineer
    National Instruments Brazil
    Visite a nossa comunidade em PORTUGUÊS!!!
    Attachments:
    Query TDMS.vi ‏62 KB
    tdms search.vi ‏24 KB

  • How can I burn a disk of photos with a modified file name?

    After importing photos from scan device, I use Photos > Batch > Change to rename files.  When burning a disk the changed file names do not transfer with the image but use the original file name.  How can I burn a disk of photos with the modified file name?
    This is what I have done so far with no success.
    Drag selected photos from Event to Burn Folder where the file names were changed. Burn folder lists file with original file name.
    Drag albums to Burn Folder with the same result.
    In Filer I am able to change the iPhoto Library > Master > Date > Filename and then drag to burn disk folder and see the changed name but this is a single file exercise without a view of the file's image, but to use the new file name in iPhoto events I have to repeat the naming convention.

    File > Export.
    In the resulting dialogue note the "Name" section. Choose to use the Title as Filename.
    Regards
    TD

  • How do you overlap PDF's and finish with one PDF file? Need help ASAP

    how do you overlap PDF's and finish with one PDF file?
    Need help ASAP

    I'm not sure if you can do that with CreatePDF.  Try it; you got one free use when you sign up with Acrobat.com
    If not, you will have to use Adobe Acrobat; there is a full-use 30 days trial.

  • Starting and stop Oracle 9i database

    Hello;
    Can anybody tell me how to start and stop an Oracle 9i database manually with Window NT 4 ?
    thanks a lot !

    - start/settings/configuration pannel/services
    - select the oracle service
    - press start or stop button
    Hello;
    Can anybody tell me how to start and stop an Oracle 9i database manually with Window NT 4 ?
    thanks a lot !

  • How to start GUI in ORACLE VM 10.2.0.4

    Hi All,
    I am using ORACLE 10.2.0.4 VM -template on OVM server 2.2.1.
    This vm template having built in OS- OEL 5(oracle enterprise linux) update 2 and database 10g R2 with patchset 3 i.e. 10.2.0.4. I just unzip this tempalte file and OS with DB upto 10.2.0.4 is available for me.
    Now on this VM I want to create one more database but I am not able to enable GUI.
    I have already stopped firewall service. But not able to find how to start GUI. This VM dont have vncserver also.
    Also I dont find any "/xdm/Xaccess " in /etc/X11., also not the /gdm in /etc.
    Can any one having any idea how to?
    Thanks...
    Edited by: user12039625 on Jul 28, 2010 12:07 AM

    Are you taking about the Oracle DBCA utility?

  • How to start SAP and oracle on SUN SOLARIS SYSTEM

    hi.
    Please suggest
    (Mistakenly we restarted the server when SAP is on and now SAP is not starting)
    1. How to start the SAP ECC6 in sun Solaris.(version 10)
    2.How to start the oracle in sun Solaris (version 10)
    We are trying with 
    sh startsap SID
    but it showing SAP SYSTEM NAME NOT FOUND
    Please suggest'
    Regards,

    Dear Ravindra,
    First start oracle :
    login as orasid and login to sqlplus "/as sysdba"
    and then startup and make sure that listener is up and running.
    For that you can lsnrctl status, if its not started just do lsnrctl start.
    After that login as sidadm and then startsap R3
    If still if you face any error like system name not found.
    then try as startsap R3 <hostname> or startsap SID <hostname>
    Defenitely it will resolves your issue.
    Thanks
    Kishore

Maybe you are looking for