AUTOMATIC STARTUP OF ORACLE ON WINDOWS NT 3.51

제품 : ORACLE SERVER
작성날짜 : 1996-08-16
There have been many questions regarding the fact that Oracle Workgroup Server
for WindowsNT does not startup automatically as it does on other desktop platforms.
Below is a simple workaround for this problem.
1. Start the Registry by executing the command REGEDT32.
2. Once in the registry, go down the following tree:
HKey_local_machine
software
microsoft
WindowsNT
current version
winlogon
3. Within the WINLOGON item, edit the SYSTEM entry and append a command line which
points to a startup command file (.CMD file), something like the following:
C:\ORANT\STARTDB.CMD
(Remember to separate the commands with a comma (,) delimiter)
4. Make sure in your SERVICES APPLET in the CONTROL PANEL that your Oracle services
are marked to start manually because the following command file will take care of
starting you services.
NOTE: If you use SQL*Net TCP/IP V1, leave that service setup to start automatically
in your services applet because there is no SID attached to that service.
Now, within your STARTDB.CMD (or whatever you want to call it) put a command line
that is similar to the following:
C:\ORANT\BIN\ORADIM71 -startup -sid orcl -usrpwd oracle -starttype srvc,inst
NOTE: This is just a sample line that will work for a SID called ORCL with the
database (authorization) password of ORACLE and is starting up both the services
and instance with the same command.
This will startup the database after the WindowsNT has booted, but before anyone
logs in.
NOTE: In step #4, if you are working with multiple instances/SID's, you will need to
repeat the command line for each instance/sid that you have created.
For more information, refer to "APPENDIX G" in the Oracle 7.1 IUG (Installation and
Users Guide) because there are many different variations of this command including
starting up sqlnet V2, edit, delete, etc.

Hi,
I'm new with Oracle, and I'm having problems installing the database v8i on Windows XP-Home. My classmates have successfully installed it with both XP-Pro and XP-Home. The problem is that when I click on the Install icon, the disk spins for a while, then nothing happens, and the installation doesn't even start. When I list the files on the CD and click on the setup file and select Run from the pull down menu, and enter my user name (which has administrator privileges) and password, Oracle opens a window with a message that the registry cannot be modified because I don't have permissions, and closes down.
I know the CD is good, because I tried in a different computer. Are there any settings on Windows that I'm missing? Any help would be much appreciated. Thanks.

Similar Messages

  • Automatic Startup of Oracle 8.1.6.0 on MS Windows 2000

    Problem: Database not starting automatically.
    OracleService<SID> states "starting" instead of "started".
    Database can be opened manually via DBA Studio or via sql command line.
    O/S: W2k Service Pack 2
    RDBMS Version: Oracle 8.1.6.0.0 for Windows
    Tasks previously completed to remedy the problem with no satisfactory results.
    The OracleService<SID> deleted and reinstalled using oradim.exe.
    Oracle Service startup set to "Automatic";
    Registry checked to ensure the path is correct for the parameter file. Path is over 39 characters (another post said older versions could handle only 39 chars - is this still a problem in 8i).
    Has anyone else experienced this problem and subsequently resolved it or developed a work-a-round.
    Thanks
    David Miller

    Hi,
    I'm new with Oracle, and I'm having problems installing the database v8i on Windows XP-Home. My classmates have successfully installed it with both XP-Pro and XP-Home. The problem is that when I click on the Install icon, the disk spins for a while, then nothing happens, and the installation doesn't even start. When I list the files on the CD and click on the setup file and select Run from the pull down menu, and enter my user name (which has administrator privileges) and password, Oracle opens a window with a message that the registry cannot be modified because I don't have permissions, and closes down.
    I know the CD is good, because I tried in a different computer. Are there any settings on Windows that I'm missing? Any help would be much appreciated. Thanks.

  • Automatic Startup in Oracle 10.2.02 on Solaris 10 X86

    I have create the /etc/init.d/oratab from the sample of
    Automating Database Startup and Shutdown on Other Operating Systems
    by following script:
    ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1
    ORACLE=oracle
    PATH=${PATH}:$ORACLE_HOME/bin
    export ORACLE_HOME PATH
    $ORACLE_HOME/bin/dbstart $ORACLE_HOME
    But I got the ERROR log
    SQL> ERROR:
    ORA-12546: TNS:permission denied
    SQL> ORA-12546: TNS:permission denied
    SQL>
    from $ORACLE_HOME/startup.log
    What's Wrong with the dbora script ?

    $ORACLE_HOME/bin/dbstart $ORACLE_HOME
    $ORACLE_HOME/bin/dbstart will be sufficient, script will read the oratab file (on Solaris usual location of oratab is in /var/opt/oracle) and starts all SID that have Y flag set.
    To "user52":
    check ur privs on folder;
    be sure the permissions are 777.This is not good approach from security point of view, really - 755 is fine and sufficient.

  • 9iAS R2 Automatic Startup at Boot time on Windows

    How to successfully start the 9iAS R2 Application Server at boot time.
    Many of you are still struggling with the problem of 9iAS R2 not automatically starting up properly when your system is restarted. I've been fighting this issue for several weeks and have found the problems, and pitfalls, involved with fixing it. It really is a race condition of things trying to start up before something it depends on is fully functioning, or some application starting out of sequence.
    There is a bug associated with this problem; BUG 2511270 ( 9IASV2 Need Ability to Restart All Components in Instance After a Reboot). The bug report itself has very little useful information in it other than to say it doesn't work, and manually starting the components is the only known fix. If you're like me. this isn't a good enough answer.
    Your mileage may vary.
    My configuration has a 9.2.0.1 customer database, and a 9.0.1.3.1 infrastructure database that is also the application server database, including portals, all installed on the same system which is a Pentium 4, Windows 2000 machine, with 1.5GB of memory. I only use a single LISTENER, which runs out of the 9.2 DB ORACLE_HOME.
    Chapter 5 (Starting and Stopping the Application Server) of the Oracle9i Application Server Administrator's Guide shows all of the commands necessary, in the proper order, to manually start the infrastructure and application server. Unfortunately, there is also some incorrect information in this document.
    Part 1c in the section Starting an Infrastructure Using Commands on Windows, using SQLPlus to connect to and start the database, does not work unless oracle.exe is already running (which means that you recently shutdown the database by command, not with "services>stop"). If your system is rebooting, oracle.exe is not running. This exact same information is documented in the Database Administrators Guide, Chapter 4, Starting a Database. If you don't have these manuals handy the offending commands are as follows:
    ORACLE_HOME\bin\sqlplus /nologsql> connect sys/password_for_sys as sysdba
    sql> startup
    sql> quit
    Since we can't put some variant of the above in a command script to manually start the databases and wait for it to open, the only option left is to let the databases come up in "automatic" mode when the system boots, and run the remaining commands when they are open. If your system is like mine, that can take several minutes, even after you've logged on and gotten your first cup of coffee.
    If you set up a command script to run at startup, you don't have any control over when the script gets run, more than likely, in this case, before the databases are open. Unfortunately, Microsoft does not have anything resembling a sleep (timer, wait, delay, etc) command that can be used in a script. There may be something somewhere, but I can't find it. So I wrote one in Perl, which does have a sleep command. You can use anything you have available to you that will function as needed. We obtained our Perl distribution from http://aspn.activestate.com/ASPN/Perl.
    The next issue has to do with starting the Oracle Internet Directory. The documentation shows two commands to execute, but in reality, only the first one is required, it automatically takes care of the second one. Refer to the command file below for the correct one.
    The last issue deals with running the dcmctl commands. If you run these commands one at a time in a command window, you won't notice anything askew. If you run them, as shown, in a script, they will stop execution of the script when they complete, and there will be no indication that anything wrong has happened. The CMD.exe still exists, it just isn't running. They must be run in there own cmd command as shown below.
    Now, let's review the steps necessary to get all this to work.
    Put the two scripts shown below in there target directories and edit any necessary changes for your system.
    In Start>Settings>Control Panel>Administrative Tools>Services set the OracleServiceSID's and the OracleOraHomeTNSListener to Automatic Startup Type. All other Oracle* services should be set to Manual.
    In Start>Programs>Accessories>System Tools>Scheduled Tasks double click on the Add Scheduled Task item,
    select Next,
    Browse to where your startup script resides,
    double click the file name,
    select "When my computer starts",
    select Next,
    Enter a user name and password (that has ORA_DBA privileges)
    select Next, then Finish.
    Uncomment the first exit in the iasStartup.cmd script.
    Reboot your system.
    Compare the database open time stamp in each database alert log to the time recorded in the iasStartup.log file to determine you first time delay. Add 10-20 seconds or more to this difference just to be safe. If you add services at a later time, this number may need to be increased.
    Edit the iasStartup.cmd file to include this time delay for the first sleep command and comment out the first exit command.
    Reboot your system.
    After several minutes, all infrastructure and application server processes should be up and running. You can check this in several ways; Look at the log file to see if all commands were run, Look at the Windows Task Manager to see if all expected tasks are running, Look at Services to see what is running. Finally, you can look at the Infrastructure Enterprise Manager Website and click on each instance to determine the current status of each system component. On mine, the component Portal:portal:7779 always shows as down but in reality it is functioning.
    The following command script only starts the minimum set of processes that I require. Your requirements may be different so refer to the documentation for additional commands.
    Enjoy.
    ******** iasStartup.cmd ********
    REM # iasStartup.cmd
    REM # Command script to start the infrastructure and application server at system boot
    REM # Mike Bukaty
    REM # Sandia National Laboratories
    REM # [email protected]
    REM # set default directory that contains the log and sleep.pl files.
    cd E:\Oracle\admin
    echo Starting iasStartup.cmd > iasStartup.log
    time /t >> iasStartup.log
    REM # Uncomment the following command to determine the time delay for your system
    REM # exit
    REM # This delay is determined by looking at the times from the alert logs
    REM # for when the database was opened and the time recorded above.
    REM # SLEEP is a perl script to do just that (in seconds) since Windows doesn't have one.
    sleep.pl -delay=120
    time /t >> iasStartup.log
    REM #Start the infrastructure first
    REM #The SID for the infrastructure must be set
    set ORACLE_HOME=E:\Oracle\as9inf
    set ORACLE_SID=iasdb
    echo Starting as9inf oidmon >> iasStartup.log
    %ORACLE_HOME%\bin\oidmon start
    echo Starting as9inf EMWebsite >> iasStartup.log
    net start Oracleas9infEMWebsite
    REM # Have to wait for all of the website process to finish
    sleep.pl -delay=40
    REM # All calls to dcmctl must be in there own CMD environment,
    REM # or they will halt this one when they complete
    echo Starting as9inf dcmctl ohs >> iasStartup.log
    cmd /c %ORACLE_HOME%\dcm\bin\dcmctl start -ct ohs
    sleep.pl -delay=5
    echo Starting as9inf dcmctl OC4J_DAS >> iasStartup.log
    cmd /c %ORACLE_HOME%\dcm\bin\dcmctl start -co OC4J_DAS
    REM # Start the application server
    set ORACLE_HOME=E:\Oracle\ora9ias
    echo Starting ora9ias webcachectl >> iasStartup.log
    %ORACLE_HOME%\bin\webcachectl start >> iasStartup.log
    echo Starting ora9ias dcmctl ohs >> iasStartup.log
    cmd /c %ORACLE_HOME%\dcm\bin\dcmctl start -ct ohs
    sleep.pl -delay=10
    echo Starting ora9ias dcmctl OC4J >> iasStartup.log
    cmd /c %ORACLE_HOME%\dcm\bin\dcmctl start -ct OC4J
    REM # The above command starts all existing OC4J processes.
    REM # You can now stop any that aren't necessary.
    echo Stopping ora9ias dcmctl OC4J_Demos >> iasStartup.log
    cmd /c %ORACLE_HOME%\dcm\bin\dcmctl stop -co OC4J_Demos
    time /t >> iasStartup.log
    echo Finished iasStartup.cmd >> iasStartup.log
    exit
    ******** sleep.pl ********
    #!/usr/local/bin/perl
    ## Author: Mike Bukaty
    ##               Sandia National Laboratories
    ##               [email protected]
    ## Program: sleep.pl
    $| = 1;
    use strict;
    use Getopt::Long;
    Getopt::Long::Configure("no_ignore_case");
    GetOptions(
    "delay=s" => \ my $delay,
    # Set default options
    if( not defined($delay) ) { $delay = 1; }
    sleep $delay;
    exit 1;

    New information:
    When I originally wrote this, the command script worked as advertised. That was yesterday. I've since had to add the following lines just BEFORE the call to start the oidmon.
    echo Starting as9inf oidctl >> iasStartup.log
    %ORACLE_HOME%\bin\oidctl server=oidldapd configset=0 instance=1 start
    Sometimes me thinks that Oracle reconfigures itself at night when I'm not watching.
    Enjoy.

  • ORACLE DATABASE의 AUTOMATIC STARTUP/SHUTDOWN

    제품 : ORACLE SERVER
    작성날짜 : 1995-11-21
    오라클 database의 AUTOMATIC STARTUP/SHUTDOWN
    ============================================
    시스템이 startup 하면서 오라클도 함께 startup하거나 시스템을 shutdown
    할 때 오라클도 같이 shutdown 하는 것이 가능하다. 그 방법은 OS마다 차이가
    있는데 여기서는 UNIX 에 기반한 여러 플랫폼에 대해서 알아보기로 한다.
    본 내용에서 가장 많이 사용되는 화일은 다음과 같다.
    $ORACLE_HOME/bin/dbstart
    $ORACLE_HOME/bin/dbshut
    /etc/oratab 또는 /var/opt/oracle/oratab
    dbstart 와 dbshut 은 오라클을 startup/shutdown 시키는 스크립트인데
    이것은 automatic startup/shutdown 시에만 사용하도록 하고 평상 시의
    경우에는 사용하지 않도록 한다.
    oratab 화일은 일반 텍스트 화일로서 시스템에 설치된 오라클 인스턴스에
    대한 정보를 가지고 있는데 보통 3개의 필드로 이루어져 있으며 첫번재
    필드는 ORACLE_SID, 두번째 필드는 ORACLE_HOME, 세번째 필드는 Y 또는 N
    으로 구성되어 있다. 해당 인스턴스를 autostartup 시키려면 꼭 Y로
    세팅되어 있어야 한다.
    SYSTEM V
    System V 에 기반한 시스템은 /etc/rc<n>.d 디렉토리에 초기화 스크립트를
    가지고 있다. 여기서 <n> 은 해당 스크립트의 run-level 을 의미한다.
    일반적으로 run-level 0은 power shutdown mode 이고 run-level 2는 multi-user
    mode 이다. 각각의 디렉토리에 들어있는 초기화 스크립트는 다음과 같은 형태의
    이름을 갖고 있다.
    K{two-digit number][descriptive filename]
    예를 들면 S75cron, K30tcp 등이 있을 수 있다.
    S로 시작되는 스크립트는 startup 시에 실행되는 것이고 K 로 시작하는 것은
    shutdown 시에 실행된다.
    two-digit number가 의미하는 것은 스크립트가 실행되는 순서인데 숫자가 작은
    것부터 먼저 실행된다. 따라서 오라클 스크립트는 보통 다음과 같은 이름을 갖게 된다.
    S99oracle, K01oracle
    이와 같이 설정하면 시스템이 startup 될 때 모든 초기화가 끝난 후 마지막으로
    오라클이 startup 되며 시스템을 shutdown 할 때에는 오라클을 가장 먼저 shutdown
    하게 된다.
    BSD UNIX
    BSD 에 기반한 시스템은 시스템이 startup 될 때 초기화 화일로
    /etc/rc*(예를 들면, /etc/rc, /etc/rc.local) 를 사용한다.
    시스템을 shutdown 할 때에는 보통은 /etc/shutdown 만 실행하게 되므로
    특별히 실행되는 스크립트가 없지만 /etc/rc.shutdown 이 실행되는
    플랫폼도 있다.
    이제 각 플랫폼별로 자세히 알아보기로 한다.
    주의 : <oracle_owner> 는 oracle owner id 로 대체
    <$ORACLE_HOME> 은 oracle home directory 명으로 대체
    (1)SunOS 4.1.3
    SunOS 4.1.3 에서는 /etc/rc.local 을 startup 스크립트로 사용한다. 즉
    시스템이 startup 되면서 /etc/rc.local 이 실행된다. 따라서 이 화일의 끝에
    다음과 같은 라인을 추가하면 된다.
    su <oracle_owner> -c <$ORACLE_HOME>/bin/dbstart
    예를 들어 oracle owner 가 oracle7 이고 $ORACLE_HOME 이 /home/oracle
    이라면 다음과 같이 해주면 된다.
    su oracle7 -c /home/oracle/bin/dbstart
    여기서 /home/oracle 대신에 $ORACLE_HOME 과 같은 환경변수를 이용하여
    세팅하면 안된다.
    SunOS 에서는 시스템이 shutdown 될 때 실행되는 스크립트는 따로 없다.
    따라서 dbshut 을 실행시키는 방법은 다음과 같은 스크립트를 만들어서
    시스템을 shutdown 시킬 때 /etc/shutdown 을 실행시키지 말고 대신
    이것을 실행시켜야 한다.
    #!/bin/csh
    su <oracle_owner> -c <$ORACLE_HOME>/bin/dbshut
    /etc/shutdown $*
    만약 오라클을 shutdown 하지 않고 시스템을 shutdown 하면 다음에
    오라클을 startup 하려고 할 때 startup이 되지 않는다. 이 경우에는
    $ORACLE_HOME/dbs/sgadef<SID>.dbf 화일을 지우고 startup 시키면 된다.
    (2)OSF/1(DIGITAL UNIX)
    /etc/inittab : 초기화 과정을 콘트롤
    /sbin/rc3 : run-level 3 에서 사용되는 script
    /sbin/rc0 : run-level 0 에서 사용되는 script
    /sbin/rc3.d/S99oracle : /sbin/init.d/oracle 로 link
    /sbin/rc0.d/K01oracle : /sbin/init.d/oracle 로 link
    /etc/initab 화일에는 초기화 과정에 대한 정보가 들어 있다.
    예를 들면 다음과 같다.
    s3:3:wait:/sbin/rc3 < /dev/console > /dev/console 2>&1
    이렇게 설정하면 run-level 3 일 경우 /sbin/rc3 스크립트가 실행된다.
    /sbin/rc3 은 /sbin/rc3.d 디렉토리에 들어있는 스크립트를 실행한다. 만약
    스크립트 이름이 K 로 시작하면 이것은 stop 파라미터를 갖고 실행되어서 이
    스크립트에 지정된 프로세스를 정지시킨다. 한편, 스크립트가 S 로 시작하면
    /sbin/rc3 는 이 스크립트에 startup 파라미터를 부여하고 여기서 지정된
    프로세스를 실행시킨다. 따라서 /sbin/rc3.d/S99oracle 을 사용하여
    dbstart를 실행한다.
    shutdown 과정도 거의 비슷하다. /etc/inittab 에 다음과 같은 라인을 추가
    한다.
    s0:0:wait:/sbin/rc0 off < /dev/console > /dev/console 2>&1
    이것은 /sbin/rc0 를 실행시키는데 /sbin/rc0 는 /sbin/rc0.d 디렉토리에
    들어있는 스크립트를 실행시킨다. 스크립트의 이름이 S 로 시작하면 run
    time parameter 로 start 를 사용하게 되고 K 로 시작하면 stop 을
    사용한다.
    따라서 /sbin/rc0.d/K01oracle 스크립트는 stop 파라미터를 갖고
    실행되며 이 스크립트는 $ORACLE_HOME/bin/dbshut 스크립트를 실행시켜서
    오라클을 shutdown 시킨다.
    /sbin/rc3.d/S99oracle과 /sbin/rc0.d/K01oracle은 모두 /sbin/init.d/oracle
    에 대한 symbolic link 이다. /sbin/init.d/oracle 에 대한 symbolic link 는
    이들 외에 더 있을 수 있다.
    (3)Solaris 2.3 & SCO UNIX
    /etc/inittab : 초기화 과정을 콘트롤
    /etc/rc2 : run-level 2 에서 사용되는 스크립트
    /etc/rc0 : run-level 0 에서 사용되는 스크립트
    /etc/rc2.d/S99dbstart : /etc/init.d/dbstart 에 대한 link
    /etc/rc0.d/K01dbshut : /etc/init.d/dbshut 에 대한 link
    /var/opt/oracle/oratab
    Solaris 의 경우는 OSF/1 과 매우 유사하다. 차이점이라고 한다면 /sbin
    디렉토리 대신에 /etc 디렉토리에 필요한 스크립트가 들어있다는 것이다.
    rc0.d, rc2.d 같은 디렉토리는 실제로 /etc 디렉토리에 위치하고 있으며
    rc0, rc2 와 같은 스크립트는 /etc/init.d 에 존재하는 같은 이름의 스크립트에
    대한 symbolic link이다.
    /etc/init.d/dbstart 와 /etc/init.d/dbshut 스크립트의 내용은 각각 다음과
    같이 한줄로 구성되어 있다.
    su - <oracle_owner> -c <$ORACLE_HOME>/bin/dbstart
    su - <oracle_owner> -c <$ORACLE_HOME>/bin/dbshut
    Solaris 에서는 start, stop 같은 파라미터는 /etc/init.d/dbstart,
    /etc/init.d/dbshut 에서는 무시된다.
    /etc/init.d/dbstart, /etc/init.d/dbshut 화일은 owner가 oracle owner id
    이여야 한다.
    /etc/init.d/README 를 읽어보면 좀 더 자세한 내용이 설명되어 있으니 참조하기
    바란다.
    (4)AIX
    /etc/inittab : 시스템 초기화 화일
    /etc/rc : 시스템 초기화 스크립트
    /etc/mkitab : /etc/inittab 을 수정하는 유틸리티
    /etc/shutdown : 시스템 shutdown 스크립트
    AIX 에서는 오라클 autostartup 방법은 여러가지가 가능하지만 shutdown 은
    한가지만 가능하다. 우선 autostartup 은 다음과 같은 방법 가운데 하나를
    사용하면 된다.
    a)/etc/mkitab 를 사용하여 /etc/inittab 에 entry 를 추가한다. 즉,
    /etc/mkitab "<oracle_owner>:2:wait:/bin/su <oracle_owner> -c
    <$ORACLE_HOME>/bin/dbstart > /dev/console 2>&1"
    이렇게 하면 /etc/inittab 화일에 dbstart 기능이 추가된다. 이렇게 하면
    시스템이 뜨면서 run-level 2일 경우 오라클이 자동으로 startup 된다.
    b)다음과 같은 방법도 가능하다.
    /etc/mkitab "rcoracle:2:wait:/etc/rc.oracle > /dev/console 2>&1"
    그리고, root 소유의 /etc/rc.oracle 스크립트를 다음과 같이 작성한다.
    su <oracle_owner> <<EOF
    <$ORACLE_HOME>/bin/dbstart
    EOF
    c)/etc/rc 스크립트의 마지막에 다음을 추가한다.
    /bin/su <oracle_owner> - c <$ORACLE_HOME>/bin/dbstart
    AIX 에서 시스템 shutdown 은 /etc/shutdown 에 의한다. 시스템을 내릴 때
    오라클을 shutdown 하려면 별도의 시스템 shutdown 스크립트(root 소유로)를
    다음과 같이 만들어서 /etc/shutdown 을 사용하지 말고 이것을 사용해야 한다.
    #!/bin/sh
    /bin/su <oracle_owner> -c <$ORACLE_HOME>/bin/dbshut
    /etc/shutdown $*
    (5)HP/UX
    /etc/rc : 시스템 startup 화일
    /etc/shutdown : 시스템 shutdown 실행 화일
    /etc/shutdown.d : 시스템 shutdown 디렉토리
    HP/UX 에서는 시스템 startup 시에 /etc/rc 가 실행된다. 따라서 다음 라인을
    /etc/rc 스크립트의 마지막에 추가하면 auto startup 이 가능해진다.
    su <oracle_owner> -c <$ORACLE_HOME>/bin/dbstart
    시스템의 shutdown 은 /etc/shutdown 화일을 실행하여 수행된다. 이 프로그램은
    /etc/shutdown.d 디렉토리에 들어있는 스크립트를 실행시키는데 다음과 같은
    세 가지 방법 가운데 하나로 auto shutdown 을 세팅할 수 있다.
    a)$ORACLE_HOME/bin/dbshut 화일을 /etc/shutdown.d 디렉토리 아래에 copy
    b)/etc/shutdown.d/dbshut 을 $ORACLE_HOME/bin/dbshut 으로 symbolic link 지정
    c)다음과 같은 스크립트 작성
    #!/bin/sh
    su <oracle_owner> -c <$ORACLE_HOME>/bin/dbshut
    단,이 스크립트는 root의 소유이고 root에 의해서만 실행 가능해야 한다.
    만약 V6 와 V7 을 동시에 사용하는 경우라면 V7 에서 제공하는 dbshut을
    사용하도록 한다.

    Dear Alexdelarg,
    First launch the "Services" applet from the Windows NT Control Panel. Double-click on the "OracleService<SID>" service and verify that "Startup Type" is set to "Automatic", "Log On As" is set to "System Account", and that the "Allow Service to Interact with Desktop" check box is disabled.
    Then launch REGEDIT and check that the Value String ORA_<SID>AUTOSTART within the key My Computer\HKEYLOCAL_MACHINE\SOFTWARE\ORACLE is set to "TRUE".
    If the above does not rectify your startup problem, try issuing the following command from the Command Prompt:
    <ORACLE_HOME>\bin\oradim -edit -sid <SID> -startmode auto
    where <ORACLE_HOME> is the full path of your Oracle8i Server software and <SID> is the Service Identifier of your database.
    Hope this helps!

  • Oracle 8i Automatic Startup/shutdown on NT

    After installing Oracle 8.1.6 on Win NT/2000 and creating a database a new service is created too (OracleServiceSID). My problem is that this new service (which works like oradim starting srvc,inst) does not startup the db when rebooting the machine. I need always manual startup/shutdown with a script that uses svrmgrl while in Oracle guides it seems that would be enough to start the service. Every parameter in the registry is set according to these guides to permit automatic startup/shutdown but only the service, not the db, starts and stops automatically. Where is my error?
    Thanks
    Alex
    null

    Dear Alexdelarg,
    First launch the "Services" applet from the Windows NT Control Panel. Double-click on the "OracleService<SID>" service and verify that "Startup Type" is set to "Automatic", "Log On As" is set to "System Account", and that the "Allow Service to Interact with Desktop" check box is disabled.
    Then launch REGEDIT and check that the Value String ORA_<SID>AUTOSTART within the key My Computer\HKEYLOCAL_MACHINE\SOFTWARE\ORACLE is set to "TRUE".
    If the above does not rectify your startup problem, try issuing the following command from the Command Prompt:
    <ORACLE_HOME>\bin\oradim -edit -sid <SID> -startmode auto
    where <ORACLE_HOME> is the full path of your Oracle8i Server software and <SID> is the Service Identifier of your database.
    Hope this helps!

  • Oracle 10g automatic startup in Solaris 10

    Good afternoon,
    I've installed Oracle 10g Enterprise Edition Server on a server with Solaris 10. I'm trying to configure the automatic startup/shutdown. I've changed dbstart script. I've prepared dbora script and I've created the necessary link to this script in the rc*.d directories.
    When I launch dbora start or dbora stop everything is ok, but when I reboot my machine nothing happens.
    My dbora script is as follow:
    #!/bin/sh
    ORA_HOME=/u01/app/oracle/product/10.2.0/Db_1
    ORA_OWNER=oracle
    if[ ! -f $ORA_HOME/bin/dbstart ]
    then
    echo "Oracle startup: cannot start"
    exit
    fi
    case "$1" in
    'start')
    su - $ORA_OWNER -c "ORA_HOME/bin/dbstart"
    su - $ORA_OWNER -c "ORA_HOME/bin/emctl start dbconsole"
    su - $ORA_OWNER -c "ORA_HOME/bin/isqlplusctl start"
    'stop')
    su - $ORA_OWNER -c "ORA_HOME/bin/isqlplusctl stop"
    su - $ORA_OWNER -c "ORA_HOME/bin/emctl stop dbconsole"
    su - $ORA_OWNER -c "ORA_HOME/bin/lsnrctl stop"
    su - $ORA_OWNER -c "ORA_HOME/bin/dbshut"
    esac
    Thanks in advance.
    Best regards,
    Mabel

    I think that I've found the problem but I need your help. The problem is related to the listener. The file listener.ora doesn't exist!!! In fact the listener starts perfectly when I type the command lsnrctl start, but I don't understand why this file doesn't appear :-O. And of course neither the file sqlnet.ora exists.
    I've create these files and I'm going to check. But could you tell how to configure sqlnet.ora to get the file listener.trc?
    Thanks in advance.
    Regards,
    Mabel

  • Oracle automatic startup at boot time

    Hello all,
    I need one help.I need oracle db server automatic startup at boot time in solaris 10 environment.
    I need to know also location of ORATAB .
    Thanks in advance.

    Oh no, it is not very urgent.
    In a forum of volunteers there is no such thing as 'very urgent', and using 'very urgent' is considered insulting and rude.
    It is even more insulting as you expect to do me what you refuse to do: consult the documentation.
    As you failed to mention a version I can't even look up the documentation, nor will I do that: I'm not going to stand in voluntarily to do for either people for free what they get paid for: their work
    Sybrand Bakker
    Senior Oracle DBA

  • Automatic startup/shutdown script - 3 Oracle Home

    Hi All,
    We have a server which has 3 Oracle Home - 8i/9i/10g.
    So i am confused about configuring automatic startup/shutdown scripts.
    Can you guys please let me know how to setup automatic startup/shutdown for these multiple Oracle Homes.
    Thanks,
    Kumar.

    Bellow is a HP-UX script that can help. Create three scripts like oracle8, oracle9, oracle10 with correct path values. and than decide the runlevels and create soft links for the scripts you created, for example;
    Under /sbin/rc3.d
    ln -s /sbin/init.d/oracle10 S999oracle10
    Under /sbin/rc1.d and /sbin/rc2.d
    ln -s /sbin/init.d/oracle10 C9oracle10
    AUTOMATIC STARTUP/SHUTDOWN SCRIPT
    $vi /sbin/init.d/oracle10
    #!/sbin/sh
    # NOTE: This script is not configurable! Any changes made to this
    # scipt will be overwritten when you upgrade to the next
    # release of HP-UX.
    # WARNING: Changing this script in any way may lead to a system that
    # is unbootable. Do not modify this script.
    # NOTE:
    # For ORACLE:
    PATH=/usr/sbin:/usr/bin:/sbin
    export PATH
    ORA_HOME="/oracle/app/oracle/product/10.2.0"
    ORA_OWNR="oracle"
    rval=0
    set_return() {
    x=$?
    if [ $x -ne 0 ]; then
    echo "EXIT CODE: $x"
    rval=1
    fi
    case $1 in
    start)
    # Oracle listener and instance startup
    echo -n "Starting Oracle: "
    su - $ORA_OWNR -c "$ORA_HOME/bin/dbstart /oracle/app/oracle/product/10.2.0"
    echo "OK DB started"
    stop)
    # Oracle listener and instance shutdown
    echo -n "Shutdown Oracle: "
    su - $ORA_OWNR -c "$ORA_HOME/bin/dbshut /oracle/app/oracle/product/10.2.0"
    echo "OK DB shutdown"
    reload|restart)
    $0 stop
    $0 start
    echo "usage: $0 {start|stop}"
    esac
    exit $rval

  • Automate startup/shutdown thru script on windows

    WIndows 2003
    oracle 9.2.0.7
    I am new to oracle on windows.
    Is there way to automated startup/shutdown database thru script on windows?
    I want to schedule this task at perticuler time.
    Thanks

    You have to come up with your own script to shutdown.
    There's a sample here
    [Start / Shut Oracle with a Click (Windows Script) |http://it.toolbox.com/wiki/index.php/Start_/_Shut_Oracle_with_a_Click_(Windows_Script)]
    Edited by: yingkuan on Oct 9, 2008 5:05 PM

  • How to automatically startup Oracle on SUSE Linux

    I have Oracle 11g installed on a server running SUSE Linux 11. I followed the official Oracle instructions to try to set up Oracle for automatic startup.
    My /etc/oratab file contains the following:
    sidname:/opt/oracle/product/11gR2/db:Y
    I created a /etc/init.d/dbora file, which contains the following:
    #! /bin/sh  -x
    # Change the value of ORACLE_HOME to specify the correct Oracle home
    # directory for your installation.
    ORACLE_HOME=/opt/oracle/product/11gR2/db
    # Change the value of ORACLE to the login name of the
    # oracle owner at your site.
    ORACLE=oracle
    PATH=${PATH}:$ORACLE_HOME/bin
    HOST=`hostname`
    PLATFORM=`uname`
    export ORACLE_HOME PATH
    if [ ! "$2" = "ORA_DB" ] ; then
       if [ "$PLATFORM" = "HP-UX" ] ; then
          remsh $HOST -l $ORACLE -n "$0 $1 ORA_DB"
          exit
       else
          rsh $HOST -l $ORACLE  $0 $1 ORA_DB
          if [ "$PLATFORM" = "Linux" ] ; then
              touch /var/lock/subsys/dbora
          fi
          exit
       fi
    fi
    case $1 in
    'start')
            $ORACLE_HOME/bin/dbstart $ORACLE_HOME &
    'stop')
            $ORACLE_HOME/bin/dbshut $ORACLE_HOME &
            echo "usage: $0 {start|stop}"
            exit
    esac
    exit
    Then I ran the following commands:
    chgrp dba /etc/init.d/dbora
    chmod 750 /etc/init.d/dbora
    ln -s /etc/init.d/dbora /etc/rc.d/rc0.d/K01dbora
    ln -s /etc/init.d/dbora /etc/rc.d/rc3.d/S99dbora
    ln -s /etc/init.d/dbora /etc/rc.d/rc5.d/S99dbora
    shutdown -r now
    After restarting, Oracle was not running:
    server:~ # ps -fea | grep ora
    root      2681  2563  0 21:18 ?        00:00:00 hald-addon-storage: no polling on /dev/fd0 because it is explicitly disabled
    root      2688  2563  0 21:18 ?        00:00:00 hald-addon-storage: polling /dev/sr0 (every 2 sec)
    root      4491  4333  0 21:19 pts/1    00:00:00 grep ora
    server:~ # ps -fea | grep lsnr
    root      4493  4333  0 21:19 pts/1    00:00:00 grep lsnr
    Oracle runs fine after I start the instance (by logging into sqlplus as "sys as sysdba" and issuing the "startup" command) and listener. But it won't start up automatically after restarting the server. Why is that?

    I got it working.  I had to change the dbora file to look like this:
    #! /bin/sh  -x
    # Change the value of ORACLE_HOME to specify the correct Oracle home
    # directory for your installation.
    ORACLE_HOME=/opt/oracle/product/11gR2/db
    # Change the value of ORACLE to the login name of the
    # oracle owner at your site.
    ORACLE=oracle
    PATH=${PATH}:$ORACLE_HOME/bin
    export ORACLE_HOME PATH
    touch /var/lock/subsys/dbora
    case $1 in
    'start')
            su - $ORACLE $ORACLE_HOME/bin/dbstart $ORACLE_HOME &
    'stop')
            su - $ORACLE $ORACLE_HOME/bin/dbshut $ORACLE_HOME &
            echo "usage: $0 {start|stop}"
            exit
    esac
    exit
    Then I had to delete the listener.log and startup.log files in $ORACLE_HOME because they were incorrectly owned by root.

  • Automatic startup of admin server + managed server on Windws

    Hello,
    I have installed/configured WLS 10.3.6 + Forms/Reports 11.1.2.1 on Windows 2008 R2. All this went ok with no errors.
    The NodeManager is installed as a service and runs happily after every reboot of the server. OPMN does it as well.
    I can connect to the NodeManager with WLST and start/stop/status the Admin Server and the managed servers (WLS_FORMS,WLS_REPORTS) created during the
    the installation/configuration step. Each server has the username/password defined (and already encrypted).
    However, when I restart the Windows Server, neither the Admin Server nor the WLS_x servers are started during the boot.
    I thought that the configuration process was in charge of setting all this, that was my experience with the previous version Oracle Internet Application Server (iAS) 10.1.2.x (opmn running as a service started them all).
    I have run through the installation/configuration docs, and found nothing that says that Oracle will configure (or not) the automatic startup.
    1) Is the Oracle configuration process (the one that creates the ClassicDomain) supposed to configure the automatic startup of the admin server + managed servers in this setup ? Am I missing perhaps some extra steps ?
    or
    2) Do I have to create WLST scripts (that connect to the NodeManager and start the admin server + managed servers) and deploy them as Windows Services myself ?
    regards.

    Hi,
    During weblogic installation in window server, node manager will be automatically registered as window services. But for admin and managed servers, you need to register it manually after succesful installation and configuration for automatic startup during machine reboot.
    Please refer the metaliknk id for register as window services:1060058.1.
    If this helps please mark.
    Regards,
    Kishore

  • Automatic startup

    hello
    i know that oracle database 10g and the listener starts automatically on windows server as a service, but its not the case on unix based machine like AS400
    how to configure automatic startup for the database and listener on system startup
    merci bien

    you can use
    #!/bin/sh
    # Verifies status of the database and send a message to DBA
    # in the case of database is running out.
    # It works fine in Red Hat Linux boxes
    # Date : 10/17/2003
    # Author : Luis Claudio Rodrigues da Silveira
    # Get oracle account
    USER=`whoami`
    # Get home to find oracle binaries
    ORACLE_HOME=`grep ^$USER: /etc/passwd | cut -d: -f6`
    DIRBIN=$ORACLE_HOME/bin
    # put your e-mail here
    ADDRESS=[email protected]
    MESSAGE=message.log
    export USER ORACLE_HOME DIRBIN ADDRESS MESSAGE
    touch $MESSAGE
    # retrieves the name of all oracle instances
    for DB in `cat /etc/oratab | cut -f1 -d:`
    do
    OPEN=0
    # verified if database is opened or closed
    STATUS=`cat /etc/oratab | grep $DB | cut -f3 -d:`
    for ACTIVE in `ps -ef | grep ora_pmon | grep -v grep | cut -f3 -d"_"`
    do
    if [ "$DB" = "$ACTIVE" ]
    then
    OPEN=1
    fi
    done
    if [ $OPEN -eq 0 -a "$STATUS" = "Y" ]
    then
    echo "Instance $DB must be running : it has been restarted on
    `hostname`" >> $MESSAGE
    export ORACLE_SID=$DB
    $ORACLE_HOME/bin/sqlplus /nolog << !
    connect / as sysdba startup
    exit
    fi
    done
    # do not send a empty message..
    LINES=`cat $MESSAGE | wc -l`
    if [ $LINES -gt 0 ]
    then
    mailx -s "Script checkdb.sh" $ADDRESS << !
    Data : `date`
    `echo`
    `cat $MESSAGE`
    fi
    touch $MESSAGE
    Source:http://www.databasejournal.com

  • How do I disable the automatic startup on HP Photosmart Premier when I turn my computer on?

    Someone else posted ths question a month ago, but still no answers.  Anyone?
    How do I disable the automatic startup on HP Photosmart Premier when I turn my computer on?
    Windows XP, SP3 operating system recently re-installed so I also reinstalled my printer software.  Now, for some reason, each time I turn my computer on, my HP Photosmart C4100 all-in-one photosmart premier software opens.  It is not in my startup.  This slows down my computer terribly, which is why I never used the program before my re-install.  How can I disable this feature?  I only print, I don't use it for photos.
    Any help here is appreciated.

    Run msconfig.exe from the start button (type in msconfig).  When it comes up go to the Startup tab and find and deselect the HP product you do not want to start.  Save and reboot computer.  Now try.
    Say thanks by clicking the Kudos Thumbs Up to the right in the post.
    If my post resolved your problem, please mark it as an Accepted Solution ...
    I worked for HP but now I'm retired!

  • Installation Problem Developer 6i/Oracle 8/Windows NT4 Please help.

    Hi,
    I am trying to install Oracle Developer 6i and Oracle 8
    under Windows NT platform. I had several kind of problem. Atlast
    I found the installation tips very help and followed it step by
    step. Still I am facing the problem. Let me explain what i did,
    step by step,
    1.downloaded the Oracle forms self extract file. Unzipped. Ran
    the Setup.exe.
    2.This prepared for Oracle Developer installation. I selected
    default path and home(d:\ORANT and home_Default). Selected
    oracle forms and installed it.
    3.Repeated step 2 to install reports 6i.
    4.Restarted the system.
    5.Created another directory d:\orantnew
    6.Used the Oracle 8 CD and installed using the Autorun.Selected
    different path and oracle Home this time.(D:\orantnew and
    home_New).
    7. Selected the Oracle Enterprise Edition option and did the
    installation.Rebooted the system.
    8. Did the TCP/IP changes explained in the Step (5) and Step (6)
    given below in Mr.Krishna's reply.
    9. Tried to start the listner by following Step (7) the listener
    won't start.
    10. Went ahead and copied the TNSNAMES.
    Connected to SQL*Plus using Start/Program/Oracle-OracntNew using
    SCOTT/TIGER and connect went thru.
    Then tried "CONNECT" from form builder, won't connect. I think
    the error message was some thing related to TNS..(Since I have
    uninstalled all the Oracle components now i can't give the exact
    error.Sorry). I would like to know if there is anything I am
    doing wrong or missing out something.
    Note : While uninstalling the oracle components i had problem
    removing the bin directory. So I had to stop some of the
    services
    (OracleServiceORC1 and OracleStartORC1 from
    start/controlpanel/services option) in order to delete the
    oracle components.
    Please someone let me know how can I install Oracle 8 and Oracle
    Developer 6i,in windows NT platform.
    Incase if i am doing anything wrong in the above given step or
    missing out something pl let me know.
    Thanks.
    Extracted from another thread
    Hi, >Try these steps, but you need to change a few things for Win2000 even I am trying, but Listener does'nt start there is a
    problem I am looking into it, If you find the solution pl let me
    know, these work fine on Win95/98 I have tried and they all work
    fine.>-------------------------------------------->Installing
    Personal Oracle 8. 1. 6. 0. 0 with Developer v6i (Reports 6. 0.
    8. 8. 3, Forms 6. 0. 8. 0. 9)>On Windows 98>Note: All other
    combinations may or may not work.> If you want to install
    designer as well, do it now.
    ** Clean all Oracles off the computer using the following instructions. (Windows 95 and
    Windows 98)
    1. In regedit, go to HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE.
    2. Go to HKEY_CURRENT_USER\SOFTWARE\ORACLE
    3. Delete the ORACLE key.
    4. Delete HKEY_LOCAL_MACHINE\SOFTWARE\ODBC pertaining to Oracle.
    5. Delete HKEY_CURRENT_USER\SOFTWARE\ODBC pertaining to Oracle.
    6. Edit your AUTOEXE.BAT file and remove your %ORACLE_HOME%\bin and JRE paths from the path settings.
    7. From the Windows Explorer (or from the command prompt), delete the Oracle Directory
    (Oracle Base).
    8. Delete < System_Drive > C:\Program Files\Oracle (from the Windows NT Explorer or from the command
    prompt).
    9. Delete Icons from < System_Drive> C:\Windows\StartMenu\Programs\Oracle - <HOME> and <System_Drive>
    C:\Windows\StartMenu\Oracle Installation Products. Where<HOME>
    is the previous HOME name.
    10. Reboot the system.
    Installing Developer 6i(Forms and Reports)
    1. Download the file from OTN site or Install from the CD. Install the installer. It will go
    into a new default Oracle home that it will create. When you go
    to install your Developer CD, close the installer that comes up
    with the CD autorun. Go to the programs menu and Oracle for
    Windows 95 and click on the installer there. Once it is open,
    browse to the CD you wish to install. (installr/install/us)
    2. Start installer. Install Developer 6i first to default directory, Orawin95 How? Start installer, follow the prompts
    that appear on the screen, you may have to do this twice, once
    for Oracle Forms and once for Oracle Reports, after the
    installation is successful reboot the system.
    3. If you want to install Designer 6 as well, do it now. (But I have not installed
    the Designer ) Designer has to be installed before PO 8. 1. 6,
    because PO816 can detect only one Oracle_home.
    4. Create a new folder on your root directory called Orawin98. Start the installer set-up from where you downloaded it and
    select Orawin98 to install it in this time. You also need to
    give this second home a name whatever you want, but through out
    the process, you have to use the identical name, that is
    critical. Orawin98 indicates this name in these instructions. Do
    not reboot. Install Oracle 8.1.6 to the directory Orawin98 using
    the installer. Reboot the system.
    5. Go to Start/Setting/Control Panel/Network, if you do not have TCP/IP installed, install it
    now, if you do, highlight TCP/IP, click properties. Select DNS
    tab, select enable DNS, at the host area, type "Orawin98", leave
    domain empty. Go to Identification Tab and enter your database
    name, in this case BBM. Reboot the system after you finish.
    6. Configure your database listener. Go to Start/Programs/Oracle- Orawin98/Network Admistration/Net8
    Assistant, a window will pop
    up, at the window expand Local and expand Listeners and double
    click it, you will see a new window, go through all the tab
    menus. At location address 1, Host name: use "Orawin98", Port
    use: 1521 (default). And at location address 2, Host name:
    use "Orawin98", Port use: 2481, go to the file/ save, close Net8
    Assistant.
    7. Start listener how? Go to Dos Window, type LSNRCTL, return, at LSNRCTL>, type Start. Listener should start
    successfully, if not, you need to go back to Net8 Assistant to
    check configuration.
    8. Copy file "TNSNAMES" in directory C:\Orawin98\Net80\Admin to C:\oraein95\Net80\Admin.
    9. You are finished.
    10. To connect Forms/Reports/SQLPLUS to database - First start the
    Listener, then start the database. Next, go to File menu in
    Forms/Reports and select Connect. Type in user name and password
    (system/manager or whatever) in this case it is SCOTT/TIGER and
    the database name is your "DATABASENAME". When you want to quit
    you need to exit from file menu of Forms/Reports, then you need
    to stop Listener and then shut down database.
    11. You can rename your computer name in your original name. (for local networks)
    Let me know if it is working.>null

    Install Forms in one directory (You can have reports in the same
    directory).
    Install oracle DB in another directory.
    Don't change any file and reboot.
    The listener will start automatically as a service.
    (If not from a command line write "lsnrctl start" to start it).
    To connect from forms/report to the DB you need to activate the
    sqlnet easy config tool from the directory where forms is.
    Follow the wizard to define an entry in the tnsnames.ora file
    automatically.
    Then you can use your forms with the DB.
    (IF you get problems it usually helps to let us know the error
    code you get so we can direct you in the correct direction).

Maybe you are looking for

  • TS1702 Using US account in the Australia app store

    I am from the US living in Australia.  I just purchased an IPad in Australia and logged in with my US apple ID.  I would like to download apps from the Australia store but I am unable to with the US ID.  Any way around that or do I have to choose one

  • Connecting to an unknown network when a password is required.

    I struggle to connect to an unknown network when a password is required. In settings, there's a tick as if it's connected but it isn't. What am I doing wrong?

  • How to draw make the overlapped images on a JToggle Button draggable

    Hello all: I have a JPanel chart set with GridBagLayout. Each cell is a JButton, I've create several overlaping images (from my existing images) using JLayeredPane and adding on one particular cell JToggleButton. The images are displayed, but I don't

  • Combining .txt files

    Hello, I have an ODS that has (instead of R/3), PC Files as the infosource.  Everything is working fine in BW.  However, I have 200+ of these .txt files to load.  Rather than loading them one at time, is there a way (some PC tool or something) to com

  • RAC Provisioning on Exa vs. Commodity?

    Other than performance gains, is there any advantage having Exadata as the hardware when using OEM to provision RAC as opposed to other hardware?