Auto start Oracle instance in linux

Can I configure oracle to auto start an oracle instance in linux environment ?

Here are the steps to enable the oracle service start automatically during the system boot
Login as root in Linux box to execute the following steps
1. the flag set to Y in /etc/oratab file with the respective instance
2. Copy the oracle script in /etc/init.d folder
3. change the permission < chmod 755 <script filename>
4. add the service <chkconfig --add <script filename>
5 Put the service auto on <chkconfig <script filename> on >
6. To verify the oracle service startup automatic < service <script filename> stop > < service <script filename> start >
Regards
N Jandial

Similar Messages

  • Not able to start oracle instance

    Hi ,
    While trying to start oracle instance the following error was displayed.
    ORA-00205: error in identifying control file, check alert log for more info
    I tried refering the older posts and replicated the same but still the same issue occurs.
    Could anyone help out on this.
    Thanks,

    Hi,
    This is a new instance that was installed.
    I'm not able to locate any control files and also unable to late spfile. When i check for initorcl.ora file i could not locate the control files, i could see only the below information
    # define two control files by default
    control_files = (ora_control1, ora_control2)
    I could see only a directory named pfile but it doesnot contain any files in it.
    bash-3.2# pwd
    /pvcs/oracledump/oracle/product/10.2.0/db_2/admin/orcl
    bash-3.2# ls -latr
    total 32
    drwxr-x--- 2 oracle oinstall 4096 Jun 29 06:30 udump
    drwxr-x--- 2 oracle oinstall 4096 Jun 29 06:30 pfile
    drwxr-x--- 2 oracle oinstall 4096 Jun 29 06:30 dpdump
    drwxr-x--- 2 oracle oinstall 4096 Jun 29 06:30 cdump
    drwxr-x--- 2 oracle oinstall 4096 Jun 29 06:30 bdump
    drwxr-x--- 2 oracle oinstall 4096 Jun 29 06:30 adump
    drwxr-x--- 3 oracle oinstall 4096 Jun 29 06:30 ..
    drwxr-x--- 8 oracle oinstall 4096 Jun 29 06:30 .
    Here is the output of my envirnment:
    SQL> SELECT * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bi
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    TNS for Linux: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    **SQL> SHOW PARAMETER CONTROL_FILES;
    NAME TYPE VALUE
    control_files string /pvcs/oracledump/oracle/produc
    t/10.2.0/db_2/dbs/ora_control1
    , /pvcs/oracledump/oracle/prod
    uct/10.2.0/db_2/dbs/ora_contro12
    Plese let me know what else have to be done from my end.

  • Auto start oracle in linux - error

    1. edited the "/etc/oratab" file setting flag to 'Y'.
    soni:/home/oracle/oracle/product/10.2.0/db_1:Y
    2 connect wih root user
    - created empty file (/etc/init.d/dbora)
    copied from (http://www.oracle-base.com/articles/linux/AutomatingDatabaseStartupAndShutdownOnLinux.php)
    #!/bin/sh
    # chkconfig: 345 99 10
    # description: Oracle auto start-stop script.
    # Change the value of ORACLE_HOME to specify the correct Oracle home
    # directory for your installation.
    ORACLE_HOME=/home/oracle/oracle/product/10.2.0/db_1
    # Change the value of ORACLE to the login name of the
    # oracle owner at your site.
    4.
    chmod 750 /etc/init.d/dbora
    5.
    chkconfig --add dbora
    When I try this root user i get error
    # /etc/init.d/dbora start
    /etc/profile: line 51: syntax error near unexpected token `then'
    /etc/profile: line 51: `if[ \$USER= "oracle" ]; then'
    -bash: c: No such file or directory
    I restarted the database, but DB didnt start automatically...
    Edited by: The_Rock on Jun 10, 2010 9:47 PM

    The_Rock wrote:
    # /etc/init.d/dbora start
    /etc/profile: line 51: syntax error near unexpected token `then'
    /etc/profile: line 51: `if[ \$USER= "oracle" ]; then'
    -bash: c: No such file or directoryThe /etc/profile line 51 seems to be incorrect. No space between the "+if+" and the bracket condition.
    E.g.
    /home/billy> if[ \$USER = "oracle" ]; then echo true;else echo false;fi
    bash: syntax error near unexpected token `then'
    /home/billy> if [ \$USER = "oracle" ]; then echo true;else echo false;fi
    falseWhy do you use a leading slash for the +$USER+ variable? It changes it from a variable to a literal.
    /home/billy> echo $USER
    billy
    /home/billy> echo \$USER
    $USERLiteral "+$USER+" will never equal literal "+oracle+".

  • Error when starting oracle instance

    Hi,
    today, after a lot of trouble, I was able to install oracle 10.2.0.1 on redhat as 4 upd 2 x86_64.
    This link helped me so much http://www.puschitz.com/InstallingOracle10g.shtml help.
    I met a link error because of binutils version. After I installed binutils-2.15.92.0.2-15.0.0.0.2.x86_64.rpm (my version was binutils-2.15.92.0.2-15.0.0.0x86_64.rpm), I did retry and the install problem was solved.
    Then during dbca I met another error (ORA-12547: TNS:lost contact) because of libaio. I had 32 bit version instead of 64 bit. After the package update dbca run successfully.
    I'm facing the following problem during instance startup:
    "Thu Apr 19 17:40:17 2007
    Errors in file /oracle/admin/UAT/udump/uat_ora_2697.trc:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-12663: Services required by client not available on the server
    ORA-36961: Oracle OLAP is not available.
    ORA-06512: at "SYS.OLAPIHISTORYRETENTION", line 1
    ORA-06512: at line 15"
    I told you those things about installation phase because maybe this error is related to the install (maybe something went wrong without I know it).
    Error in trace is:
    /oracle/admin/UAT/udump/uat_ora_2697.trc
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    With the Partitioning and Data Mining options
    ORACLE_HOME = /oracle/10gR2
    System name: Linux
    Node name: uatlxora1.bw-ita.it
    Release: 2.6.9-22.EL
    Version: #1 Mon Sep 19 17:49:49 EDT 2005
    Machine: x86_64
    Instance name: UAT
    Redo thread mounted by this instance: 1
    Oracle process number: 15
    Unix process pid: 2697, image: [email protected] (TNS V1-V3)
    *** SERVICE NAME:(SYS$USERS) 2007-04-19 17:40:17.788
    *** SESSION ID:(104.3) 2007-04-19 17:40:17.788
    Error in executing triggers on database startup
    *** 2007-04-19 17:40:17.789
    ksedmp: internal or fatal error
    ORA-00604: error occurred at recursive SQL level 1
    ORA-12663: Services required by client not available on the server
    ORA-36961: Oracle OLAP is not available.
    ORA-06512: at "SYS.OLAPIHISTORYRETENTION", line 1
    ORA-06512: at line 15
    The strange thing is that I haven't installed OLAP option. I installed enterprise edition + partioning.
    Any help is much appreciated. Is my installation ok?
    Thanks in advance,
    Tarek

    Hi guido,
    i have the same problem with OLAP, when i start an instance i have got error messages in alert_log, and a lot of objekts a invalid, i can not recompile the objekt, oracle will it automatic, and ends with this errors:
    Line # = 0 Column # = 0 Error Text = ORA-12663: Services required by client not available on the server
    Line # = 0 Column # = 0 Error Text = ORA-36961: Oracle OLAP is not available.
    Line # = 0 Column # = 0 Error Text = ORA-06512: at line 4
    Line # = 0 Column # = 0 Error Text = ORA-06512: at "SYS.OLAPIMPL_T", line 17
    Line # = 0 Column # = 0 Error Text = ORA-06512: at "SYS.OLAPIMPL_T", line 23
    I have oracle installed on debian 3.1
    Have you any suggestions to solve this problem?
    Thanks
    ANDREAS
    -GERMANY-

  • Starting Oracle-Xe on Linux fedora core 5

    Dear fourm members,
    I had Installed Oracle Xe on linux fedora core 5 and configure it.
    When i try to start the oracle Xe server I get the follwing error.
    # /etc/init.d/oracle-xe start
    Starting Oracle Net Listener.
    Starting Oracle Database 10g Express Edition Instance.
    Failed to start Oracle Net Listener using /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/tnslsnr and Oracle Express Database using /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/sqlplus.
    what can i do to start the service.

    Failed To Start Oracle Net Listener

  • Auto-start OC4J process after Linux reboot

    Oracle 11gR2, OC4J 10g (10.1.3.5.0), RHEL5 64 bit
    Hi All,
    I am trying to figure out how to get my oc4j process start at boot time. I already have a dbora script setup. I tried adding the following line to my dbora/dbstart script but it did not do anything:
    #!/bin/sh
    # chkconfig: 345 99 10
    description: Oracle auto start-stop script.
    ORACLE_OC4J_HOME=/u02/oc4j
    JAVA_HOME=/usr/java/jdk1.6.0_21/
    su - $ORACLE_OWNER -c "$ORACLE_OC4J_HOME/bin/oc4j -start"
    I read somewhere that I may need to put the entire path like:
    /usr/bin/java -jar /path/to/oc4j.jar &
    Just not sure where and how to put that path in the file.
    Thanks for your help all.
    JrOraDBA

    Hi,
    To run oc4j in the background, on Linux
    Execute the following command:
    nohup ./oc4j -start &
    to run oc4j in the background. The 'nohup' command ignores the hangup signal (closing the terminal window) and enables oc4j to continue running in the background.
    In rare cases, oc4j will not shutdown cleanly with the standard command:
    ./oc4j -shutdown -port 23791 -oc4jadmin <admin_pwd>
    In those cases, try the following command:
    java -jar admin_client.jar deployer:oc4j:localhost oc4jadmin <admin_pwd> -shutdown
    to stop the oc4j service.
    Thanks,
    Sharmela

  • Unable to start Oracle Instance via "dbstart"

    I've successfully loaded Oracle 11g on a Red Hat Enterprise Linux 5.3. I'm now trying to start the instance and database using the "dbstart". The command does not start the instance successfully or the database. I've pasted the results from the log below:
    /opt/oracle/product/11.1.0/db_1/bin/dbstart: Starting up database "TestDB"
    Sun Jul 12 16:07:22 EDT 2009
    Error 6 initializing SQL*Plus
    Message file sp1<lang>.msb not found
    SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory
    /opt/oracle/product/11.1.0/db_1/bin/dbstart: line 113: [: 11: unary operator expected
    logger: No init file found for Database instance "TestDB".
    logger: Error: Database instance "TestDB" NOT started.
    I've been researching this all weekend and have not found a solution yet. Please point me in the right direction for a solution.
    My oratab file contains the path of the TestDB and is set to "Y". My profile is as follows:
    ORACLE_OWNER="oracle"
    ORACLE_HOME="/opt/oracle/product/11.1.0/db_1"
    ORACLE_HOME_LISTNER=$ORACLE_HOME
    Thanks

    Here are the results of the request:
    [root@cscdserver13 ~]# su - oracle
    [oracle@cscdserver13 ~]$ lsnrctl status
    LSNRCTL for Linux: Version 11.1.0.6.0 - Production on 13-JUL-2009 21:34:24
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    Linux Error: 111: Connection refused
    [oracle@cscdserver13 ~]$ lsnrctl start
    LSNRCTL for Linux: Version 11.1.0.6.0 - Production on 13-JUL-2009 21:34:50
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Starting /opt/oracle/product/11.1.0/db_1/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 11.1.0.6.0 - Production
    System parameter file is /opt/oracle/product/11.1.0/db_1/network/admin/listener.ora
    Log messages written to /opt/oracle/product/11.1.0/db_1/diag/tnslsnr/cscdserver13/listener/alert/log.xml
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=cscdserver13.azalea.local)(PORT=1521)))
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.1.0.6.0 - Production
    Start Date 13-JUL-2009 21:34:50
    Uptime 0 days 0 hr. 0 min. 0 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /opt/oracle/product/11.1.0/db_1/network/admin/listener.ora
    Listener Log File /opt/oracle/product/11.1.0/db_1/diag/tnslsnr/cscdserver13/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=cscdserver13.azalea.local)(PORT=1521)))
    The listener supports no services
    The command completed successfully
    [oracle@cscdserver13 ~]$ lsnrctl status
    LSNRCTL for Linux: Version 11.1.0.6.0 - Production on 13-JUL-2009 21:35:10
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.1.0.6.0 - Production
    Start Date 13-JUL-2009 21:34:50
    Uptime 0 days 0 hr. 0 min. 19 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /opt/oracle/product/11.1.0/db_1/network/admin/listener.ora
    Listener Log File /opt/oracle/product/11.1.0/db_1/diag/tnslsnr/cscdserver13/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=cscdserver13.azalea.local)(PORT=1521)))
    The listener supports no services
    The command completed successfully
    [oracle@cscdserver13 ~]$ lsnrctl service
    LSNRCTL for Linux: Version 11.1.0.6.0 - Production on 13-JUL-2009 21:35:36
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    The listener supports no services
    The command completed successfully
    [oracle@cscdserver13 ~]$ sqlplus '/ as sysdba'
    SQL*Plus: Release 11.1.0.6.0 - Production on Mon Jul 13 21:36:18 2009
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    Connected to an idle instance.
    SQL> startup
    ORACLE instance started.
    Total System Global Area 3206836224 bytes
    Fixed Size 2148680 bytes
    Variable Size 1879049912 bytes
    Database Buffers 1308622848 bytes
    Redo Buffers 17014784 bytes
    Database mounted.
    Database opened.
    SQL> select * from v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production
    PL/SQL Release 11.1.0.6.0 - Production
    CORE 11.1.0.6.0 Production
    TNS for Linux: Version 11.1.0.6.0 - Production
    NLSRTL Version 11.1.0.6.0 - Production
    SQL> exit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production
    With the Partitioning, Oracle Label Security, OLAP, Data Mining,
    Oracle Database Vault and Real Application Testing options
    [oracle@cscdserver13 ~]$
    I appreciate all your help. At this point I'm completely lost.
    Thanks

  • Newbie question starting Oracle 9i in Linux

    Hi,
    While connecting to oracle using sql plus, I get the following error:
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    The product manuals are not clear was what to do. Can anyone point me in the right direction? How do I start an Instance of Oracle? Any help will be appreciated.
    Thanks
    Terrance

    Hi
    I know that there is a way of asking a media (CD) for oracle server. I want to get the media for oracle9i on linux. Do you know how to get it from OTN.
    Thanks

  • How to start oc4j instance in linux

    I need the oracle report server to generate reports via the call from JSP.
    But the response contains no data. But i think that the problem is that the oc4j instance is not started or the port number i am using in the URL is wrong.
    I have two questions in my mind.
    1) How to start the oc4j instance in linux
    2) How to find the port number of the oracle report server. will it be stored in any files.
    Pls provide some inputs on this query.

    Hello,
    1) How to start the oc4j instance in linuxYou have not specified what version, so for standalone you can use the following command:
    java -jar oc4j.jar
    In 10.1.3 you need to use the oc4j.cmd/oc4j.sh file to start and stop OC4J.
    If you are using the Application Server, then please use opmnctl start and stop the OC4J instance.
    2) How to find the port number of the oracle report server. will it be stored in any files.
    Please post this to the Reports forum.
    Hope this helps.
    Deepak

  • Starting Oracle XE on linux by /etc/init.d/oracle-xe start

    Hello,
    I installed Oracle Database 10g Express Edition on a Linux Ubuntu 7.04 (feisty)
    following official installation instructions found here
    http://www.oracle.com/technology/software/products/database/xe/files/install.102/b25144/toc.htm#BABCEAHD
    but I noticed a weird behavior.
    The installation process was ok.
    The configuration process (/etc/init.d/oracle-xe configure) was also ok.
    I set everything on default except for the “starting on boot” option I choose NO, because the instructions let me understand that I can start the service manually by the command:
    $ /etc/init.d/oracle-xe start
    The configuration process at the end also started the service well, so I could test my new oracle installation on my web browser following the url http://127.0.0.1:8080/apex
    Everything went fine... but...
    On the next boot I wanted to start my oracle so I typed
    sudo /etc/init.d/oracle-xe start
    but nothing happened and the server didn't go up.
    Looking into to script /etc/init.d/oracle-xe
    we can find this switch
    case "$1" in
    start)
         if test -f "$CONFIGURATION"
         then
              if test "$ORACLE_DBENABLED" != "true"
              then
                   exit 0
              fi
         else
         echo "Oracle Database 10g Express Edition is not configured. You must run
    '/etc/init.d/oracle-xe configure' as the root user to configure the database."
              exit 0
         fi
         start
    this means that if you chose NO (N) for the “starting on boot” option on the configuration process (NB this choice put false in the env variable ORACLE_DBENABLED) you can't start the dbms by this script.
    I try comment the few lines
         then
              #if test "$ORACLE_DBENABLED" != "true"
              #then
              #     exit 0
              #fi
         else
    and this time the server starts well.
    So I deduced that something was wrong with the script and the official installation instructions.

    Yes... Thank you.
    But I saw the problem could to be simple avoided using the options
    enable/disable for the script /etc/init.d/oracle-xe,
    If you choose not to start oracle at boot time, you can start it
    manually by the sequence
    /etc/init.d/oracle-xe enable
    /etc/init.d/oracle-xe start
    then when you want to stop it
    /etc/init.d/oracle-xe stop
    /etc/init.d/oracle-xe disable
    by this last command we don't make oracle restart
    at the next system boot.
    I think it would be a good thing to update the reference
    documentation at
    http://www.oracle.com/technology/software/products/database/xe/files/install.102/b25144/toc.htm#BABCEAHD
    to explain this situation better.

  • Auto start listener & DB in Linux

    Hello, I have installed oracle 10g on Red Hat 2.1 Ent. Ed. I have also modified the /etc/oratab file for auto starting the service. The service start auto but i have two problems, 1) The listener does not start automatically 2) When trying to connect from SQL*PLUS, it says Shared Memory Realm does not exists. The Database has to be started manually connecting sys as sysdba. How can i configure the two things to start automatically? Any idea? Thanks.

    Follow steps at the end of this article:
    http://www.oraclebase.com/articles/9i/Oracle9iInstallationOnRedHat21.php
    Script will start DB automaticaly during boot and also stops database during OS shutdown.

  • Can`t start oracle instance 11gR2 on Ubuntu 10.4

    I noticed something that some diretories are named using my hostname (phoenixbai) while others use localhost.
    e.g.
    ./cdata/localhost
    ./localhost_ora11g
    ./localhost_ora11g/sysman/emd/upload/localhost_host_host_configuration_old
    ./oc4j/j2ee/OC4J_DBConsole_localhost_ora11g
    ./log/phoenixbai (DIR)
    when I rename localhost in ./oc4j/j2ee/OC4J_DBConsole_localhost_ora11g, ./localhost_ora11g with phoenixbai, i can start the oracle instance.
    but still, I can`t start lsnrctl & emctl. here is the listener.ora, tnsnames.ora, and /etc/hosts details:
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1522))
          (ADDRESS = (PROTOCOL = TCP)(HOST = phoenixbai)(PORT = 1522))
    ADR_BASE_LISTENER = /u01/oracle
    ORA11G =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = phoenixbai)(PORT = 1522))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = ora11g)
    EXTPROC_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1522))
        (CONNECT_DATA =
          (SID = PLSExtProc)
          (PRESENTATION = RO)
    LISTENER_ORA11G =
      (ADDRESS = (PROTOCOL = TCP)(HOST = phoenixbai)(PORT = 1522))
    127.0.0.1     phoenixbai     localhost.localdomain     localhost
    127.0.1.1     phoenixbai     phoenixbai
    127.0.0.1     localhost     localhost
    #127.0.0.1       phoenixbai      phoenixbai
    #127.0.1.1       localhost       localhost
    # The following lines are desirable for IPv6 capable hosts
    ::1     localhost ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    ff02::3 ip6-allhostsAnyone any idea?
    Please help! if you need any more info, let me know!

    Hi;
    Duplicate post:
    http://forums.oracle.com/forums/thread.jspa?threadID=1111584&tstart=0
    If possible please change this thread status to answered(dublicate post), it pretend to lose time of other forums user while they are searching open question which is not answered,thanks for understanding
    Regard
    Helios

  • Auto Start/Shutdown db on Linux (RHEL-4)

    Hello,
    I have posted a thread in Database General forum :
    Auto Start/Shutdown db on RHEL 4
    and there one suggestation i got that i have to raise my problem here itself only.
    Kindly look into the issue and help me.
    Thanks & Regards
    Girish Sharma

    I see you start this service at sequence "99". This is good, but there are other 99-level startup scripts as well. These are processed in alphabetical order. Do this:
    $ ls /etc/rd5d.d/S99*
    So, "dbora" will run even before rc.local and that may not be a good thing.
    Also, checking:
    $ ls /etc/rc5.d/K* | head -n15
    will show you the order in which services are shut down, again in alphabetical order.
    These steps may help:
    # /sbin/chkconfig dbora off
    # /sbin/service dbora stop
    # cd /etc/init.d/
    # /sbin/chkconfig --del dbora
    # mv dbora xxx-dbora
    # vi xxx-dbora
    # /sbin/chkconfig --add xxx-dbora
    # /sbin/chkconfig xxx-dbora on
    # /sbin/service xxx-dbora start
    What we are doing is:
    1) Remove existing dbora service
    2) Rename the service to something that shows last in an ls(1) command
    3) Edit the xxx-dbora script to change the chkconfig info from "99 10" to "99 01"
    4) Installed the service.
    Now, the start-up is done as the very last action and shutdown as the very first.
    Does this make any difference?

  • Problem while starting Oracle 10XE on Linux

    I have installed Oracle 10G XE on linux.it has installed successfully.
    but when i start the sqlplus and enter as system user it is giving an error
    ORA-01034:ORACLE NOT AVAILABLE
    ORA-27101:Shared Memory realm does not exist
    Linux Error 2:No Such file or directory

    I have installed Oracle 10G XE on linux.it has
    installed successfully.
    but when i start the sqlplus and enter as system user
    it is giving an error
    ORA-01034:ORACLE NOT AVAILABLE
    ORA-27101:Shared Memory realm does not exist
    Linux Error 2:No Such file or directoryOn your case, it looks easier. Please verify you have properly set your ORACLE_HOME, ORACLE_SID and PATH environment variable.
    Open a sqlplus session with / as sysdba and ensure your database is up and running, otherwise, just issue startup from this prompt. Ensure your listener is up and running too, just issue lsnrctl start from the OS prompt and feedback.
    ~ Madrid

  • Auto Start five instances in one server

    Guru´s
    I have a server with five instances. When I restart the server randomly I have problems with some instances. (they do not rise).
    In services (windows) I see all the services fine. But in EM I see that instance is down...
    Is there a problem in windows when I have 5 instances ?? (in order to after a restart of the server some instances does not start)??

    > Is there a problem in windows when I have 5 instances ??
    Yes. Absolutely. It does not make any technical sense.
    You now have to spend memory on 5 SGAs, and resources on 5 process monitors, 5 system monitors, database writers, log writers and so on.
    Not to mention that you need 5 temp tablespaces, 5 sets of redo logs, undo spaces, etc.
    Why? What does make 5 small SGA's better than a single large SGA? Or temp space? Or process monitor?
    Do you think you scale that way? Oracle scales the exact opposite way. Instead of more physical databases (each needing an instance), Oracle's top end product called RAC scales by using a single physical database and adding more instances to that database - one instance per server.
    Granted, there are exceptions where one may want to run multiple instances. Oracle 9i and 10g during a porting project. Forced to do so by using shrink wrap software that uses an "embedded" Oracle database.
    But these are by far the exception of the rule. And unless you have a mother of server with virtualisation, what you are doing using Oracle, does not make any technical sense.

Maybe you are looking for