Unable to auto start database/listener/EM on Oracle Enterprise Linux 5

All Experts
I have install oracle 11g on Oracle Enterprize Linux 5 successfully.
done all post installating steps, but when i restart server oracle listener/database/EM not automatically start.
Please guide what is wron (server dbora error: /bin/sh: :No such file or directory).
1. Log in as the root user
2. Edit the oratab file (SID=Y)
3. Create a file called dbora
4.Run chmod and chgrp on the dbor file
# chgrp dba dbora
# chmod 750 dbora
6.Creat symbolic links to the dbora script
# 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
7. add service
# chkconfig --add dbora
# chkconfig –list dbora
0:off 1:off 2:off 3:on 4:off 5:on 6:off
# ls -l /etc/rc*.d/*dbora
# !/bin/sh -X
# chkconfig: 35 99 10
# description: Start and stop the Oracle database, listener, EM, and iSQLPlus
# Change the value of ORACLE_HOMe to specify the correct Oracle Home Firectory for your installation.
# Change the value of ORACLE to the login name of the oracle owner at your site
ORACLE_HOME=/oradisk/app/oracle/product/11.1.0/db
ORACLE=oracle
PATH=${PATH}:$ORACLE_HOME/bin
HOST="hostname"
PLATFORM="uname"
export ORACLE_HOME PATH
if [ ! -f $ORACLE_HOME/bin/dbstart ]
then
echo "Oracle startup: cannot start"
exit
fi
case $1 in
'start')
su - $ORACLE -c "$ORACLE_HOME/bin/dbstart $ORACLE_HOME"
'stop')
su - $ORACLE -c "$ORACLE_HOME/bin/dbshut $ORACLE_HOME"
echo "usage: $0 {start|stop}"
exit
esac
exit

does the script work when you log on to your freshly started system, logon as root and execute /etc/init.d/dbora start?
the script does not have to have group membership of the dba group.
also, do not create symlinks yourself.
by adding the service using chkconfig the script is started and stopped as indicated by chkconfig --list, no need to do additional steps like creating symlinks.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • I had migrated Oracle 10g database from Windows to Oracle 11g Linux

    I had migrated Oracle 10g database from Windows to Oracle 11g Linux.  The database is performing very slow.
    Please guide me where I have to begin (starting point) looking into it.
    Some document stated gather system statistics.  How to check system statistics is up to date
    What are the crucial initialization parameter ?

    Hi,
    Let me just point you out to the documentation, which may concern you:
    I had migrated Oracle 10g database from Windows to Oracle 11g Linux.  The database is performing very slow.
    Managing Optimizer Statistics
    How to check system statistics is up to date
    Managing Optimizer Statistics
    What are the crucial initialization parameter ?
    Configuring a Database for Performance
    Thanks &
    Best Regards,

  • How to uninstall/remove 11g database on (OEL)Oracle Enterprise Linux 6?

    Hi there,
    I was facing problem during 11g installation & i'm trying to reinstall 11g database again, but at step8 of 13, it show the error [INS-32021] Insufficient disk space on this volume for the selected Oracle home. i guess because of the previous database files still exist, anyone can give some links or solution ?
    Thank you in advanced.
    Edited by: 907267 on 11-Jan-2012 00:08

    I'm running both 11g as well as 10g on Oracle Enterprise Linux 6 Update 1 without any problem.
    Yes I know that it isn't supported but it works.
    To your question:
    a. is it the ORACLE_HOME it complains about or is it temp? Very often temp fills up during an installation and is not freed after the installation ends.
    b. for a cleanup of the existing installation you should remove OraInventory and the files in /etc (like oratab, oraInst.loc).
    BTW: I have my own blog (streetkiter.wordpress.com) where I wrote a post how to install 11g and 10g (!) RAC on Oracle Linux 6.
    Edited by: carajandb on 16.01.2012 09:02

  • Unable to connect to database after migration from oracle 8 to 9i

    Hi,
    Our applications database was migrated from oracle 8 to oracle9i, The oracle_home path was updated to the newer version.
    While accessing the databese using the new setup we are facing SQLLIB mismatch problem
    the description of error is as follows
    =======================================================
    SQL-02107 Program too old for runtime library; please re-precompile it
    Cause: Your program was precompiled by an older version of the Oracle Precompilers, which is incompatible with this release of SQLLIB.
    Action: Precompile the program with a newer version of the Oracle Precompilers
    =========================================================
    Please help in this regard
    ~akhil

    Hi Akhil,
    Looks like some Tuxedo services are using Pro*C code. Therefore, you would need to recompile your Pro*C code using the newer compiler and then rebuild the Tuxedo servers.
    HTH,
    Ravi...
    Hi,
    Our applications database was migrated from oracle 8
    to oracle9i, The oracle_home path was updated to the
    newer version.
    While accessing the databese using the new setup we
    are facing SQLLIB mismatch problem
    the description of error is as follows
    ======================================================
    =
    SQL-02107 Program too old for runtime library; please
    re-precompile it
    Cause: Your program was precompiled by an older
    version of the Oracle Precompilers, which is
    incompatible with this release of SQLLIB.
    Action: Precompile the program with a newer version
    of the Oracle Precompilers
    ======================================================
    ===
    Please help in this regard
    ~akhil

  • [Solved] Choppy Graphics + Unable to Auto Start Gnome

    Edit: Fixed the graphics issue by deleting my xorg conf and downloading my video driver again. Uncommenting fixed the boot up issue. Thanks!
    Alright, I just installed Arch for my first time and I'm only really having two problems. The first problem is that the graphics are extremely laggy. I'm using gnome with a radeon hd4850 and I think the problem is my xorg file.
    Here is my xorg.conf: it mentions the driver and my video card; however, I'm a little unsure that it's actually using my video card. I checked the wiki but I'm not sure what exactly it is I'm supposed to do.
    Section "ServerLayout"
    Identifier "X.org Configured"
    Screen 0 "Screen0" 0 0
    InputDevice "Mouse0" "CorePointer"
    InputDevice "Keyboard0" "CoreKeyboard"
    EndSection
    Section "Files"
    ModulePath "/usr/lib/xorg/modules"
    FontPath "/usr/share/fonts/misc"
    FontPath "/usr/share/fonts/100dpi:unscaled"
    FontPath "/usr/share/fonts/75dpi:unscaled"
    FontPath "/usr/share/fonts/TTF"
    FontPath "/usr/share/fonts/Type1"
    EndSection
    Section "Module"
    Load "glx"
    Load "extmod"
    Load "record"
    Load "dbe"
    Load "dri"
    Load "dri2"
    EndSection
    Section "InputDevice"
    Identifier "Keyboard0"
    Driver "kbd"
    EndSection
    Section "InputDevice"
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "Device" "/dev/input/mice"
    Option "ZAxisMapping" "4 5 6 7"
    EndSection
    Section "Monitor"
    Identifier "Monitor0"
    VendorName "Monitor Vendor"
    ModelName "Monitor Model"
    EndSection
    Section "Device"
    ### Available Driver options are:-
    ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
    ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
    ### [arg]: arg optional
    #Option "NoAccel" # [<bool>]
    #Option "AccelMethod" # [<str>]
    #Option "offscreensize" # [<str>]
    #Option "SWcursor" # [<bool>]
    #Option "ignoreconnector" # [<str>]
    #Option "forcereduced" # [<bool>]
    #Option "forcedpi" # <i>
    #Option "useconfiguredmonitor" # [<bool>]
    #Option "HPD" # <str>
    #Option "NoRandr" # [<bool>]
    #Option "RROutputOrder" # [<str>]
    #Option "DRI" # [<bool>]
    #Option "TVMode" # [<str>]
    #Option "ScaleType" # [<str>]
    #Option "UseAtomBIOS" # [<bool>]
    #Option "AtomBIOS" # [<str>]
    #Option "UnverifiedFeatures" # [<bool>]
    #Option "Audio" # [<bool>]
    #Option "AudioStreamSilence" # [<str>]
    #Option "HDMI" # [<str>]
    #Option "COHERENT" # [<str>]
    #Option "ForceLowPowerMode" # [<bool>]
    #Option "LowPowerModeEngineClock" # <i>
    Identifier "Card0"
    Driver "radeonhd"
    VendorName "ATI Technologies Inc"
    BoardName "RV770 [Radeon HD 4850]"
    BusID "PCI:2:0:0"
    EndSection
    Section "Screen"
    Identifier "Screen0"
    Device "Card0"
    Monitor "Monitor0"
    SubSection "Display"
    Viewport 0 0
    Depth 1
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 4
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 8
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 15
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 16
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 24
    EndSubSection
    EndSection
    Section "Extensions"
    Option "Composite" "Enable"
    EndSection
    My second problem isn't a big one at all. I simply have to enter xinit /usr/bin/gnome-session each time I boot up the computer. I thought I followed the beginner's guide verbatim but I must have done something wrong. Here is my .xinitrc:
    #!/bin/sh
    # ~/.xinitrc
    # Executed by startx (run your window manager from here)
    # exec gnome-session
    exec xterm
    Thanks ahead of time for all the help, I really appreciate it.
    Last edited by Shazzam6999 (2010-05-12 01:04:05)

    I think you should uncomment "# exec gnome-session"

  • Unable to auto-start cache and replication agents

    Hi,
    Everytime we start server, we need to manually start cache and replication agents!
    Is there any way to configure them starting automatically???

    Yes:
    ttAdmin -repPolicy always -cachePolicy always DSN
    Chris

  • Unable to see the SSL port in the Oracle Enterprise Manager

    Hi,
    I followed the step for SSL setup in the given link Re: Tech Note : SSL Setup for Oracle AS B2B
    When I open the Oracle Enterprise Manager console, I am not able to see the SSL port. I found that Accessibility Mode is Disabled. Please help me to enable the accessibility mode and also to find SSL port.

    I tried giving the ssl ports 1810 - 1829. it did not work out. I am trying to access the URL https://localhost:1829/b2b/transportServlet. Any one has idea about how to enable the SSL port in the Oracle Enterprise Manager.

  • Unable to install j2sdk-1.4.2 in Redhat Enterprise Linux advanced server v3

    When trying to extract j2sdk-1_4_2 on RedHat Enterprise Linux advanced server, I got the message
    Do you agree to the above license terms? [yes or no]
    tail: bash: No such file or directory
    Unpacking...
    Checksumming...
    1
    The download file appears to be corrupted. Please refer
    to the Troubleshooting section of the Installation
    Instructions on the download page for more information.
    Please do not attempt to install this archive file.
    The RHEL is with kernel 2.4.21-37. I got the same error message on extracting both binary code and the rpmfile.
    Is it because of the command "tail +511 $0 > $outname" ? And any experienses on how to fix it?
    Thanks in advance.

    checksum have to be exactyly right. Downloading by IE causes often errors - use firefox in downloading and calculate checksum.

  • Unable to import Oracle Enterprise Linux iso

    Hi ,
    Does anybody was able to import Oracle Enterprise Linux iso image on Oracle Enterprise manager ops center , OC 11 g R1
    I'm getting the following error
    ISOImage Task : Result : Only Solaris , Red Gat or SUSE OS images are supported for OS provisionning
    Spreadsheet available here http://wikis.sun.com/display/EMOC11g1/Supported+Systems , show that Oracle Enterprise Linux is certified with OC 11g R1
    If you have any workaround , you're welcome
    Cheers

    Discard ... working with OEL 5.5

  • Automating Database, Listener, Entr. Manager Startup & Shutdown in OEL5

    Hi All,
    bq. I am a quite newbie to Linux, I have installed Oracle 11g on Oracle Enterprise Linux 5 on VMWare by following [this article|http://www.oracle.com/technology/pub/articles/smiley-11gr1-install.html] everything went fine. But my problem is I need to explicitly start and shutdown database, listener & EM. Is there is anyway to automate this, start services on linux startup and stop them during linux shutdown. \\ If any linux script or links/articles available for this requirement, it will be very helpful to me?
    Thanks,
    Sumanth

    I am following the below steps
    1) edit the "/etc/oratab" file setting the restart flag for each instance to 'Y'.
    orcl:/u01/app/oracle/product/11.1.0:Y
    2) create a file called "/etc/init.d/dbora" as the root user, containing the following.
    #!/bin/sh
    # chkconfig: 345 99 10
    # description: Oracle auto start-stop script.
    # Set ORA_HOME to be equivalent to the $ORACLE_HOME
    # from which you wish to execute dbstart and dbshut;
    # Set ORA_OWNER to the user id of the owner of the
    # Oracle database in ORA_HOME.
    ORA_HOME=/u01/app/oracle/product/10.2.0/db_1
    #ORA_HOME=/u01/app/oracle/product/11.1.0/db_1
    ORA_OWNER=oracle
    if [ ! -f $ORA_HOME/bin/dbstart ]
    then
        echo "Oracle startup: cannot start"
        exit
    fi
    case "$1" in
        'start')
            # Start the Oracle databases:
            # The following command assumes that the oracle login
            # will not prompt the user for any values
            su - $ORA_OWNER -c "$ORA_HOME/bin/dbstart $ORA_HOME"
        'stop')
            # Stop the Oracle databases:
            # The following command assumes that the oracle login
            # will not prompt the user for any values
            su - $ORA_OWNER -c "$ORA_HOME/bin/dbshut $ORA_HOME"
    esac3) set the privileges to 750.
    chmod 750 /etc/init.d/dbora
    4) Associate the dbora service with the appropriate run levels and set it to auto-start using the following command.
    chkconfig --level 345 dbora on
    if am doing anything wrong do let me know
    thanks

  • Auto Starts

    Hello All,
    OS: Red Hat Enterprise Linux AS release 3 (Taroon Update 5)
    DB: Version 9.2.0.5.0
    I would like to configure OS or DB to start database automatically on each boot.
    Here what I done,
    I have created a script "mystartup" in /etc/init.d
    in there I just put
    su - oracle -c orastart
    that is the script I want to link to in rc3.d,
    So I create a link as below:
    ln -s /etc/init.d/mystartup /etc/rc.d/rc3.d/S99mystartup
    ln -s /etc/init.d/mystartup /etc/rc.d/rc0.d/S01mystartup
    then in $ORACLE_HOME/bin,
    I create script orastart
    lsnrctl start
    sqlplus "/ as sysdba" &lt;&lt; EOF
    startup
    exit
    EOF
    On reboot database does not start itself but I could start DB manually by
    [oracle@abc init.d]$ pwd /etc/init.d
    &gt; ./mystartup
    -- Its start Database & listener both.
    -- Some minor thing I am missing, any idea. Scripts are correct working fine only thing it does not starts DB automitcally on boot.
    Regards,
    D

    Maybe an environment setting problem. Try to change your mystartup script as follows :
    su - oracle -c ". $HOME/.bash_profile ; orastart"
    N.B. .bash_profile is the OS user profile. In your case it could be something else.
    Paul

  • Auto-Start Tidal Agent services

    Hi all,
         Do you guys have an idea on how to auto-start the service of tidal agent in linux? Thanks!

    Thanks guys for the inputs.
    It is now working, this is what I did:
    I created "mystartup.sh" at etc/rc.d/init.d with this script inside:
    #!/bin/bash
    /opt/TIDAL/Agent/bin/tagent TIDALAGENT1 start
    #author: Lodz
    #chkconfig: 345 25 75
    #description: tidal agent auto startup
    then i added the shell script on boot using this commands:
    # chkconfig --add mystartup.sh
    # chkconfig mystratup.sh on

  • ASM Auto Start vs SQL*Plus Contention Issue

    We are trying to install the single server instance of ASM with the Grid Infrastructure and DB 11gR2. We have specified auto start on the oracleasm configuration.
    OS = Linux 5.
    After a reboot. the ASM processes show up when I run "ps -ef|grep asm". When I log into SQL*Plus it says it's connected to an idle instance. However, when I issue the startup command it responds with "ORA-15149: another ASM instance found running on the host".
    My ORACLE_SID = +ASM and my ORACLE_HOME is set to the directory where grid is installed. These are the values that I specified during the Universal Installer session.
    Can someone help me make sense of this?
    Thanks,
    Gregory

    Thanks for your replies.
    It turns out that the problem had to do with how I specified the grid ORACLE_HOME. I still don't understand why it should make a difference, but...
    I am in the habit of typing a few characters of a directory or file name and hitting tab to have the system fill in the rest of the name. As the system finishes a name it appends a slash. So, I would end up with something like
    export ORACLE_HOME=/LIB_ORACLE/11.2.0/grid/That trailing slash was screwing things up. If I entered all of that without the trailing slash, my sqlplus connected just fine.
    Thanks again,
    Gregory

  • Auto starting Oracle at boot time

    I have installed Oracle 11gr2 on Oracle Enterprise Linux successfully. Now i want to make oracle available automatically at boot time. I mean whenever server is up Oracle starts automatically.

    It is not happening. I have to run dbstart script to make oracle available.
    In ubuntu, we create /etc/init.d/oracledb script file, and with the use of following commands, oracle starts at boot time
    chmod a+x /etc/init.d/oracledb
    update-rc.d oracledb defaults 99
    What i need is, its parallel for OEL.

  • "In-Memory Database Cache" option for Oracle 10g Enterprise Edition

    Hi,
    In one of our applications, we are using TimesTen 5.1.24 and Oracle 9i
    databases (platform - Solaris 9i).
    TimesTen holds application information which needs to be accessed quickly
    and Oracle 9i is a master application database.
    Now we are looking at an option of migrating from Oracle 9i to Oracle 10g
    database. While exploring about Oracle 10g features, came to know about
    "In-Memory Database Cache" option for Oracle Enterprise Edition. This made
    me to think about using Oracle 10g Enterprise Edition with "In-Memory
    Database Cache" option for our application.
    Following are the advantages that I could visualize by adopting the
    above-mentioned approach:
    1. Data reconciliation between Oracle and TimesTen is not required (i.e.
    data can be maintained only in Oracle tables and for caching "In-Memory
    Database Cache" can be used)
    2. Data maintenance is easy and gives one view access to data
    I have following queries regarding the above-mentioned solution:
    1. What is the difference between "TimesTen In-Memory Database" and
    "In-Memory Database Cache" in terms of features and licensing model?
    2. Is "In-Memory Database Cache" option integrated with Oracle 10g
    installable or a separate installable (i.e. TimesTen installable with only
    cache feature)?
    3. Is "In-Memory Database Cache" option same as that of "TimesTen Cache
    Connect to Oracle" option in TimesTen In-Memory Database?
    4. After integrating "In-Memory Database Cache" option with Oracle 10g, data
    access will happen only through Oracle sqlplus or OCI calls. Am I right here
    in making this statement?
    5. Is it possible to cache the result set of a join query in "In-Memory
    Database Cache"?
    In "Options and Packs" chapter in Oracle documentation
    (http://download.oracle.com/docs/cd/B19306_01/license.102/b14199/options.htm
    #CIHJJBGA), I encountered the following statement:
    "For the purposes of licensing Oracle In-Memory Database Cache, only the
    processors on which the TimesTen In-Memory Database component of the
    In-Memory Database Cache software is installed and/or running are counted
    for the purpose of determining the number of licenses required."
    We have servers with the following configuration. Is there a way to get the
    count of processors on which the Cache software could be installed and/or
    running? Please assist.
    Production box with 12 core 2 duo processors (24 cores)
    Pre-production box with 8 core 2 duo processors (16 cores)
    Development and test box with 2 single chip processors
    Development and test box with 4 single chip processors
    Development and test box with 6 single chip processors
    Thanks & Regards,
    Vijay

    Hi Vijay,
    regarding your questions:
    1. What is the difference between "TimesTen In-Memory Database" and
    "In-Memory Database Cache" in terms of features and licensing model?
    ==> Product has just been renamed and integrated better with the Oracle database - Times-Ten == In-Memory-Cache-Database
    2. Is "In-Memory Database Cache" option integrated with Oracle 10g
    installable or a separate installable (i.e. TimesTen installable with only
    cache feature)?
    ==> Seperate Installation
    3. Is "In-Memory Database Cache" option same as that of "TimesTen Cache
    Connect to Oracle" option in TimesTen In-Memory Database?
    ==> Please have a look here: http://www.oracle.com/technology/products/timesten/quickstart/cc_qs_index.html
    This explains the differences.
    4. After integrating "In-Memory Database Cache" option with Oracle 10g, data
    access will happen only through Oracle sqlplus or OCI calls. Am I right here
    in making this statement?
    ==> Please see above mentioned papers
    5. Is it possible to cache the result set of a join query in "In-Memory
    Database Cache"?
    ==> Again ... ;-)
    Kind regards
    Mike

Maybe you are looking for

  • Single Sign-on and HTTP Server not started

    I have installed oracle9iAS on SuSE Linux Enterprise Server 8 (SLES 8) which is certified by Oracle to run oracle9iAS. Everything was working propely after installation but when I restarted the server, the listener, the iasdb instance, and the EM sta

  • How to enable versions feature in Details- Settingsof Km iview?

    Hi Can any body pls help me on Vesrion history display in KM iview. How to make use of the feature Details->setting->versions of KM iview.When we click on this option it says that "Each time an item is saved or uploaded to the repository, a new versi

  • Interactive PDF in InDesign

    I create an interactive PDF in Indesign and when I export it as an Interactive PDF some of the text is missing in the PDF file. I changed the font to something universal like Times to see if it was a font issue, but the font still does not appear in

  • Datasource:Real time enabled

    Hello everybody, Hope to have your valuable suggestions on this 1:Is it possible for me to copy a standard FI datasource .I need to have 0FI_AR_4 ,which is currently active and in use ,datasource real time enabled 2:I do not want to go to roosource t

  • I want to buy Photoshop, not rent it for a mensual fee.

    Is it possible to buy a licence and install Photoshop CC on an unique PC ? I don't want to pay for Cloud on a mensual or annual basis.