Dbstart problem

Hello,
I want to use dbstart to start my database automatically after booting the system. The listener is up, but the database is not. I started checking this running dbstart on terminal (first stopped the database and listener), and the listener is starting - database doesn't. I entered a few echos in dbstart and noticed that running "startinst()" seems to be problem. For example "Starting up database orcl" never shows. What can be the problem?
Thanks in advance,
Aliq

I'm sorry, I forgot.
It's Oracle Enterprise Linux 4
database 11.1.0.6
Aliq

Similar Messages

  • Oracle 9i dbstart problem

    Hello all,
    I have a problem starting database
    Here is the error message from sqlplus:
    sqlplus: error while loading shared libraries: /u01/app/oracle/product/9.0.1/lib/libwtc9.so: undefined symbol: kpggwcx_
    any suggestion would be highly appreciated
    Paul

    Have a look in $ORACLE_HOME/install/make.log - see if you have any link errors. Otherwise, check what your LD_LIBRARY_PATH environment variable is set to. You need to find the library containing the missing function.

  • Problem in dbstart and dbshut of oracle8i.

    Hi All
    We have Oracle 8i on Linux.When trying to automate Database startup using dbstart its
    actually not starting up only its giving
    message warm startup.
    And same for dbshut.
    Would appreciate to provide solution ASAP.
    Thanks
    Mukarram

    Hi Yogesh,
    I mean to automate database start up i.e. starting the database while starting the linux o/s and shuuting down the database
    during shutdown of linux.Not using Server Manager (svrmgrl).
    dbstart is working fine after following modification.
    if test -f $ORACLE_HOME/bin/svrmgrl; then
    VERSION=`$ORACLE_HOME/bin/svrmgrl command=exit | > awk '
    /PL\/SQL (Release|Version)/ {substr($3,1,3);
    print substr($3,1,3)}'`
    else
    Replace PL\/SQL (on the third line) with JServer.
    if test -f $ORACLE_HOME/bin/svrmgrl; then
    VERSION=`$ORACLE_HOME/bin/svrmgrl command=exit | awk '
    /JServer (Release|Version)/ {substr($3,1,3);
    print substr($3,1,3)}'`
    else
    am unable to start service automatically
    while bootup even after linking or creating service in /etc/rc.d/init.d or /etc/rc.d/rc3.d directory.
    Thank you,
    Mukarram
    null

  • Oracle 8.0.5 Post Installation Problem

    Hi all,
    I have installed Oracle 8.0.5.1 is installed on my RH 6.0 box.
    However, I am running into a couple of post-installation
    problems.
    1. root.sh (sucessfully ran).
    2. glibc patch (successfuly ran). There were a few errors on the
    screen with the "mv" commands (file does not exist). Is tha
    alright?
    3. catrep.sql (problem). This is where I have a problem.
    I ran dbstart as oracle805 (installation account), but I have no
    idea whether or not I really started the database. ps -aux did
    not yield any clue.
    I also tried svrmgrl and "startup", but the file "initXXX.ora"
    did not exist, so I copied the existing "init.ora" to
    "initXXX.ora". XXX is my ORACLE_SID. Instead alert_XXX.log gave
    me the following:
    ORA-00202: controlfile: 'ora_control1'
    ORA-27037: unable to obtain file status
    So, in other words, I have no idea whether or not I have
    successfully installed Oracle. All insights are greatly
    appreciated.
    Thanks a bunch...
    Anh
    null

    Phan Anh Tran (guest) wrote:
    : Hi all,
    : I have installed Oracle 8.0.5.1 is installed on my RH 6.0 box.
    : However, I am running into a couple of post-installation
    : problems.
    : 1. root.sh (sucessfully ran).
    : 2. glibc patch (successfuly ran). There were a few errors on
    the
    : screen with the "mv" commands (file does not exist). Is tha
    : alright?
    : 3. catrep.sql (problem). This is where I have a problem.
    : I ran dbstart as oracle805 (installation account), but I have
    no
    : idea whether or not I really started the database. ps -aux did
    : not yield any clue.
    : I also tried svrmgrl and "startup", but the file "initXXX.ora"
    : did not exist, so I copied the existing "init.ora" to
    : "initXXX.ora". XXX is my ORACLE_SID. Instead alert_XXX.log
    gave
    : me the following:
    : ORA-00202: controlfile: 'ora_control1'
    : ORA-27037: unable to obtain file status
    : So, in other words, I have no idea whether or not I have
    : successfully installed Oracle. All insights are greatly
    : appreciated.
    : Thanks a bunch...
    : Anh
    Hei !
    I also did this fault :-( See this webpage - it's excellent
    and describes everything.
    http://jordan.fortwayne.com/oracle/rh6x.html
    null

  • Oracle 10G connection problem

    Oracle 10G connection problem
    I launch my db with the following script:
    su - oracle -c "export ORACLE_HOME=/u01/app/oracle/product/10.1.0/db_1 && /u01/app/oracle/product/10.1.0/db_1/bin/dbstart"
    su - oracle -c "export ORACLE_HOME=/u01/app/oracle/product/10.1.0/db_1 && /u01/app/oracle/product/10.1.0/db_1/bin/lsnrctl start"
    Here is the output:
    SQL*Plus: Release 10.1.0.2.0 - Production on Fri Feb 27 22:17:51 2004
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    SQL> Connected to an idle instance.
    SQL> ORACLE instance started.
    Total System Global Area 188743680 bytes
    Fixed Size 778036 bytes
    Variable Size 162537676 bytes
    Database Buffers 25165824 bytes
    Redo Buffers 262144 bytes
    Database mounted.
    Database opened.
    SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Database "orcl" warm started.
    LSNRCTL for Linux: Version 10.1.0.2.0 - Production on 27-FEB-2004 22:17:59
    Copyright (c) 1991, 2004, Oracle. All rights reserved.
    Starting /u01/app/oracle/product/10.1.0/db_1/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 10.1.0.2.0 - Production
    System parameter file is /u01/app/oracle/product/10.1.0/db_1/network/admin/listener.ora
    Log messages written to /u01/app/oracle/product/10.1.0/db_1/network/log/listener.log
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xavan_fi
    xe)(PORT=1521)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 10.1.0.2.0 - Production
    Start Date 27-FEB-2004 22:17:59
    Uptime 0 days 0 hr. 0 min. 0 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/oracle/product/10.1.0/db_1/network/admin/listener.ora
    Listener Log File /u01/app/oracle/product/10.1.0/db_1/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xavan_fi
    xe)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    But when i try to connect with sqlplus:
    oracle@xavan_fixe oracle $ sqlplus
    SQL*Plus: Release 10.1.0.2.0 - Production on Ven. Févr. 27 22:19:32 2004
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    Enter user-name: scott
    Enter password:
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux Error: 2: No such file or directory

    When you go to get connection you have to set the ORACLE_SID enviroment variable or use the service name in the string to get connection.
    Joel Pérez

  • Can't change /etc/oratab file or automatic startup problem on linux!!!

    Hi friends,
    I have installed an Oracle 11.2.0.1 on Oracle Linux Server 5.11(Virtualbox). I have the users grid and oracle11g. Add groups and install grid infrastructure first as a grid user and install database as oracle user as in documentation successfully.
    I have following users and groups as
    [grid@orcl11g ~]$ id grid
       uid=501(grid) gid=502(oinstall) groups=502(oinstall),492(vboxsf),501(grid),503(dba),505(asmdba),506(asmadmin),507(asmoper)
    [grid@orcl11g ~]$ id oracle11g
       uid=500(oracle11g) gid=502(oinstall) groups=502(oinstall),500(oracle11g),492(vboxsf),503(dba),504(oper),505(asmdba)
    When I log on as grid user. I check the followings:
    [grid@orcl11g ~]$ crsctl check has
    CRS-4638: Oracle High Availability Services is online
    [grid@orcl11g ~]$ srvctl status database -d ora11g
    Database is running.
    [grid@orcl11g ~]$ sqlplus sys as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Thu Dec 25 19:17:37 2014
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Enter password:
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Automatic Storage Management option
    SQL> select status from v$instance;
    STATUS
    STARTED
    When I log as  oracle user. I check the followings:
    [oracle11g@orcl11g ~]$ sqlplus sys as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Thu Dec 25 19:21:46 2014
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Enter password:
    Connected to an idle instance.
    SQL> select status from v$instance;
    STATUS
    OPEN
    Till here everything is OK!!!!
    When I edit /etc/oratab file; change N to Y for +ASM and restart the system, then it seems value N is not changed to Y. But changed for database as shown below.
         +ASM:/u01/app/grid/product/11.2.0/grid:N   # line added by Agent
         ora11g:/u01/app/oracle/product/11.2.0/dbhome_1:Y
    QUESTIONS!!!!!
    1. When I edit /etc/oratab file manually why second row saved (changed N to Y manually) but the first row become unsaved (although changed N to Y) again after restarting the system?
    2. After restarting the system database and ASM started automatically, although the line is not changed to Y above (in oratab file) for ASM. What is the reason and how can I change to Y? Or if I have to change the N to Y or not?
    3. Is it enough to edit N to Y in oratab file for ASM and database to start ASM and database automatically? I think there will be some other scripts have to be created in /etc/init.d/ directory for automatic startup.
    PLEASE HELP ME TO UNDERSTAND THIS PROBLEM CLEARLY!!!!
    Thanks!!!
    Message was edited by: DBA_84

    Thanks for reply ZeDBA,
    I don't want to prevent auto starting. As 2769577 stated above that
        "...You may not need to edit in oratab since it's automatically taken care by HAS in 11g..."
    It is meaningful and perhaps it is the exact reason or solution.
    Question is that, why I can't edit oratab file manually for ASM row? ' Not need ' and ' can't ' is different!!
    # The first and second fields are the system identifier and home
    # directory of the database respectively.  The third filed indicates
    # to the dbstart utility that the database should , "Y", or should not,
    # "N", be brought up at system boot time.
    # Multiple entries with the same $ORACLE_SID are not allowed.
    +ASM:/u01/app/grid/product/11.2.0/grhome_1:N        # line added by Agent
    ora11g:/u01/app/oracle11g/product/11.2.0/dbhome_1:Y
    If we assume the 2769577's answer is exactly correct, reason or solution. Then it means that the row "..
    +ASM:/u01/app/grid/product/11.2.0/grhome_1:N  
    # line added by Agent
    in oratab file is meaningless and unnecessary if HAS process enabled and automatically start the ASM.
    Please clarify it, If I am wrong?
    Thanks!!!

  • Best way to fix dbstart / pfile location mismatch?

    I have completed a clean install of Oracle 9iR2 on RH 7.3 with
    ORACLE_BASE = /db/oracle
    ORACLE_HOME = /db/oracle/product/9.2.0.1.0
    During installation I create database instance TEST.
    The installation (dbca) creates init file
    /db/oracle/admin/test/pfile/inittest.ora.622002131859
    BUT $ORACLE_HOME/bin/dbstart looks for the init file
    $ORACLE_HOME/dbs/inittest.ora.
    I "fixed" this by creating link
    ln -s /db/oracle/admin/test/pfile/inittest.ora.622002131859
    /db/oracle/product/9.2.0.1.0/dbs/inittest.ora
    QUES 1) Is the a known mismatch between the create tools
    and dbstart OR is this an indication of something gone wrong in my install?
    QUES 2) If known, is this the best way to "fix" this mismatch?
    Thanks
    R.Parr
    Temporal Arts

    Congrats for doing a clean install.
    Well i tried almost 10 times to install oracle 9.2.0 on RH 7.2, it fails while dbca starts. At last, i did software only install and ran the dbca myself. It worked. However the problem you stated is there in my case too. Hence your assumption that there is a mismatch is true.
    I have a rather an irrelevant question rather (since you installed cleanly), I am able to run sqlplus only with the "oracle" and "root" user. Any other user, i get "permission denied". Do you have to run any other scripts to enable other users to access oracle bin files. My email id is [email protected]
    Thanks in advance.

  • Oracle startup automatically problem

    I was able to install Oracle (the kit from Sun) on the intel Solaris intel platform.
    My problem is that I cannot automatically start the database after a reboot.
    After following instructions it still does not start.
    Here are the problems:
    When Oracle user is set to bourne (login shell)
    the command
    su - $ORA_OWNER -c $ORA_HOME/bin/dbstart
    creates an error
    -sh: cannot open /etc/oratab
    This is run from /etc/rc2.d
    If the login shell is changed to Korn,
    cat: not found
    is the error message.
    What is the problem? THANKS

    Set up your dtmail utility so that you can send and receive mail from your ISP. Then under your user account, not as root, run /usr/dt/bin/solregis. Complete the form and send it.
    You should receive a return email message from Sun telling you how to register a user name and password which you will need to gain access to upgrades.
    Once your user account is established, go to http://access1.sun.com/solarissolve/ and look under "Products" for maintenance upgrades. Download and install MU5. Be sure to read and understand the instructions.
    Then you go the URL which I posted earlier, print it, study it, follow its instructions and Oracle will install with no problems whatever.

  • Problem starting Oracle Database

    I've just installed Oracle 8.0.5 on Linux Red Hat 5.2. I didn't
    have problems during the installation, but after that ...
    First of all, my "dbora" script doens't work. I don't know why,
    because it's in the directory /etc/rc.d/init.d. Then, when I try
    to start it manually, the follow mistake appear:
    ===
    ./dbora: [!: command not found
    ===
    It seems that it is a sintaxe error, but I copied exactly as in
    the Installation Guide, like as:
    =======
    # 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/8.0.5
    ORA_OWNER=oracle
    if [! -f $ORA_HOME/bin/dbstart -o ! -d $ORA_HOME]
    then
    echo "Oracle startup: cannot start"
    exit
    fi
    case "$1" in
    'start')
    # Start the Oracle database:
    su - $ORA_OWNER -c $ORA_HOME/bin/dbstart &
    'stop')
    # Stop the Oracle database:
    su - $ORA_OWNER -c $ORA_HOME/bin/dbshut &
    esac
    su - oracle -c "lsnrctl start"
    ======
    Is there any mistake?
    Besides, when I try to start the Oracle Database, through the
    command "dbstart", the following messages appear:
    =============
    Database "orac" possibly left running when system went down
    (system crash?).
    Notify Database Administrator.
    Oracle Server Manager Release 3.0.5.0.0 - Production
    (c) Copyright 1997, Oracle Corporation. All Rights Reserved.
    Oracle8 Enterprise Edition Release 8.0.5.1.0 - Production
    With the Partitioning and Objects options
    PL/SQL Release 8.0.5.1.0 - Production
    SVRMGR> Password:
    Password:
    ORA-01031: insufficient privileges
    SVRMGR> ORA-01031: insufficient privileges
    SVRMGR>
    Server Manager complete.
    Oracle Server Manager Release 3.0.5.0.0 - Production
    (c) Copyright 1997, Oracle Corporation. All Rights Reserved.
    Oracle8 Enterprise Edition Release 8.0.5.1.0 - Production
    With the Partitioning and Objects options
    PL/SQL Release 8.0.5.1.0 - Production
    SVRMGR> Password:
    Password:
    ORA-01031: insufficient privileges
    SVRMGR> ORA-01031: insufficient privileges
    SVRMGR>
    Server Manager complete.
    Database "orac" warm started.
    ==============
    Although it seems that the Database was started ('Database "orac"
    warm started'), I don't know why the mistake ORA-01031 appears.
    Was the Database "orac" started correctly?
    After, when I try to use the Server Manager to connect to the
    Database as system/manager, the following message appears:
    ========
    SVRMGR> connect system/manager
    ORA-01034: ORACLE not available
    =======
    Has this mistake something to do with the first one (ORA-01031)?
    Could someone help me? I'd be very grateful.
    Rodney A. Ramos.
    null

    Aaron Kaplan (guest) wrote:
    : Rodney A. Ramos (guest) wrote:
    : : I've just installed Oracle 8.0.5 on Linux Red Hat 5.2. I
    didn't
    : : have problems during the installation, but after that ...
    : : First of all, my "dbora" script doens't work. I don't know
    why,
    : : because it's in the directory /etc/rc.d/init.d. Then, when I
    : try
    : : to start it manually, the follow mistake appear:
    : : ===
    : : ./dbora: [!: command not found
    : Hi!
    : There seems indeed to be a problem here - AFAIK the guy who
    wrote
    : the startup srcipt made a syntax mistake.
    : Try changing the line:
    : : if [! -f $ORA_HOME/bin/dbstart -o ! -d $ORA_HOME]
    : to:
    : if [ ! -f $ORA_HOME/bin/dbstart -o ! -d $ORA_HOME ]
    : notice the space right after the first "[" and right before the
    : last "]"
    : (Read the man pages for sh or bash whatever you use and look
    : under "if", also "man test" should bring some insight).
    : Hope it helps. Tell me if it worked.
    : Aaron.
    Dear Aaron,
    It worked perfectly. Thank you very much!
    However, I'm still having problem to connect to the Database. The
    fact is that the dbora script calls the dbstart script ("su -
    $ORA_OWNER -c $ORA_HOME/bin/dbstart &") and, inside this script,
    we have the command "connect internal". At this point, I receive
    the error message "ORA-01031: insufficient privileges".
    I don't know if this has influency at the startup of the
    Database, because at the end of the process I receive the message
    "Database "orac" warm started".
    But what I know is that I don't managed to connect to the
    Database using the svrmgrl or the sqlplus. I receive the error
    message "ORA-01034: ORACLE not available" for every account I
    try: system/manager, sys/change_on_install, oracle/xxxx (the
    account I installed Oracle), and when I try "connect internal",
    it asks me for a password!!!
    Thanks once more,
    Rodney A. Ramos.
    null

  • Problems with stopping dbconsole & iSQL+

    I have 2 databases (10.2.01) on 1 Linux RedHat server. We needed to implement ESRI GIS that’s why we wanted to keep those DB separate – GIS is on 2nd DB.
    I have problem with shutting down dbconsole & iSQL+:
    dbconsole is starting normally, but on shutdown it gives error „Failed to shutdown DBConsole Gracefully”. Not sure if it happens coz of 2 DBs on same server, because I forgot to add something to config files or I 1ce accidentally restarted server while DB was set to shut down normally.
    Reverting GIS DB to backup after making startup/shutdown script 1st box restart, but before box restart mid-normal DB shutdown didn’t change a thing.
    Startup/shutdown script in “/etc/rc.d/init.d”:
    #!/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=<Oracle home dir>
    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"
         su - $ORA_OWNER -c "ORACLE_SID=<DB SID>;$ORA_HOME/bin/emctl start dbconsole"
         su - $ORA_OWNER -c "ORACLE_SID=<GIS SID>;$ORA_HOME/bin/emctl start dbconsole"
         su - $ORA_OWNER -c "ORACLE_SID==<DB SID>;$ORA_HOME/bin/isqlplusctl start"
    '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 "ORACLE_SID==<DB SID>;$ORA_HOME/bin/isqlplusctl stop"
         su - $ORA_OWNER -c "ORACLE_SID==<DB SID>;$ORA_HOME/bin/emctl stop dbconsole"
         su - $ORA_OWNER -c "ORACLE_SID==<GIS SID>;$ORA_HOME/bin/emctl stop dbconsole"
    su - $ORA_OWNER -c "$ORA_HOME/bin/dbshut $ORA_HOME"
    Esac
    iSQL+ is also starting normally, but on stopping it gives:
    iSQL*Plus 10.2.0.1.0
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Stopping iSQL*Plus ...
    Error: Unable to find java:comp/ServerAdministrator: Lookup error: javax.naming.AuthenticationException: Invalid username/password for default (admin); nested exception is: javax.naming.AuthenticationException: Invalid username/password for default (admin)
    iSQL*Plus stopped.
    But it’s still running…
    I only managed to work around dbconsole by editing emctl.pid to match Enterprise Manager Agent Port for respective SID (not sure even if you can call that workaround), but emctl.pid seems to be random on dbconsole start.
    I really don’t want to put any DB updates on until I manage to shutdown dbconsoles & iSQL+ properly… or maybe update IS the solution.
    GIS DB is just created - no data on it. So I can delete it if its gona help, but Id prefer to solve this as experience never hurts (especially if Im gona have 2 DBs on 1 box).
    I’m new to Oracle – been on Administration workshop & backup/recovery courses, but those problems don’t really feel like basic stuff so some tips on this would be welcome.
    Thanks in advance.

    According to my little knowledge - i don't think Oracle is an AIDB. It is only RDBMS or rather you can call it Advanced RDBMS.
    Now, you are thinking that since you have provided the relavant table here - so Oracle should automatically pic the single records. Since you have define every logic including the concept of primary key, foreign key in your table.
    But, question is - did you apply the relationship in your join between the tables.
    What does a primary key, foreign key do inside a table? Is it automatically select the unique rows from the join tables - when you didn't mention the join criterion.
    If you think that - then you are wrong. My advice is - kindly go through the JOIN Concept.
    Then start your coding. This is very dangerous way to start. Learn the basics at least.
    So, what Senti suggested has a very much valid point.
    Regards.
    Satyaki De.

  • Upgrading from 9.2.0.7 to 10.2.0.2 : DBUA problem

    When I execute my DBUA it can't detect my old database. I can assure you my /etc/oratab is ok. What can seems to be the problem?
    this is my oratab
    S21TDI68:oradev 23> cat /etc/oratab
    # This file is used by ORACLE utilities.  It is created by root.sh
    # and updated by the Database Configuration Assistant when creating
    # a database.
    # A colon, ':', is used as the field terminator.  A new line terminates
    # the entry.  Lines beginning with a pound sign, '#', are comments.
    # Entries are of the form:
    #   $ORACLE_SID:$ORACLE_HOME:<N|Y>:
    # The first and second fields are the system identifier and home
    # directory of the database respectively.  The third filed indicates
    # to the dbstart utility that the database should , "Y", or should not,
    # "N", be brought up at system boot time.
    # Multiple entries with the same $ORACLE_SID are not allowed.
    *:/oracle/DEV/920_64:N
    This is my env when I execute my dbua
    S21TDI68:oradev 24> env
    TERM=xterm
    AUTHSTATE=files
    SHELL=/bin/csh
    HOME=/oracle/DEV
    USER=oradev
    PATH=/oracle/DEV/102_64/bin:/oracle/DEV:/usr/sap/DEV/SYS/exe/runU:/usr/sap/DEV/SYS/exe/run:/usr/bin:/etc:/usr/sbin:/usr/ucb:/oracle/DEV/bin:/usr/bin/X11:/sbin
    TZ=CST6CDT
    LANG=en_US
    LOCPATH=/usr/lib/nls/loc
    LC__FASTMSG=true
    ODMDIR=/etc/objrepos
    LOGNAME=oradev
    LOGIN=oradev
    SAPSYSTEMNAME=DEV
    DIR_LIBRARY=/usr/sap/DEV/SYS/exe/run
    THREAD=NOPS
    dbms_type=ORA
    dbs_ora_tnsname=DEV
    dbs_ora_schema=SAPDEV
    ORACLE_PSRV=DEV
    ORACLE_SID=DEV
    DB_SID=DEV
    ORACLE_HOME=/oracle/DEV/102_64
    ORACLE_BASE=/oracle
    ORA_NLS33=/oracle/DEV/920_64/ocommon/nls/admin/data
    NLS_LANG=AMERICAN_AMERICA.WE8DEC
    SAPDATA_HOME=/oracle/DEV
    MAIL=/var/spool/mail/oradev
    MAILMSG=[YOU HAVE NEW MAIL]
    ORA_NLS10=/oracle/DEV/102_64/nls/data
    DISPLAY=10.23.6.73:0.0
    NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat
    LIBPATH=/usr/lib:/lib:/usr/sap/DEV/SYS/exe/run:/usr/sap/DEV/SYS/exe/runU

    Hi ,
    Modify entry in oratab .
    Modify the oratab entry With this DEV:/oracle/DEV/920_64:N
    & try agan.
    Thanks & Regards
    karan

  • Dbstart works, but cannot connect

    Hi,
    this is my first post and I am new to oracle administration, but I think this is some kind of wierd:
    Here is dbstart output (works alright):
    SQL*Plus: Release 10.1.0.4.0 - Production on Mi Apr 13 19:18:19 2005
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL> Bei einer nicht hochgefahrenen Instance angemeldet.
    SQL> ORACLE-Instance hochgefahren.
    Total System Global Area 524288000 bytes
    Fixed Size 779996 bytes
    Variable Size 326113572 bytes
    Database Buffers 197132288 bytes
    Redo Buffers 262144 bytes
    Datenbank mit MOUNT angeschlossen.
    Datenbank geöffnet.
    SQL> Verbindung zu Oracle Database 10g Enterprise Edition Release 10.1.0.4.0 - Production
    With the Partitioning, OLAP and Data Mining options beendet
    Database "ora1" warm started.
    Here is my try to conenct with sqlplus:
    [oracle@pele ~]$ sqlplus / as sysdba
    SQL*Plus: Release 10.1.0.4.0 - Production on Mi Apr 13 19:20:02 2005
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Bei einer nicht hochgefahrenen Instance angemeldet.
    This looks like my env settings are bad (but they are ok):
    [oracle@pele ~]$ env|grep -i ORACLE
    USER=oracle
    LD_LIBRARY_PATH=/u01/app/oracle/OraHome_1//lib
    ORACLE_SID=ora1
    ORACLE_BASE=/u01/app/oracle
    MAIL=/var/spool/mail/oracle
    PATH=/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/oracle/bin:/u01/app/oracle/OraHome_1//bin
    PWD=/home/oracle
    HOME=/home/oracle
    LOGNAME=oracle
    ORACLE_HOME=/u01/app/oracle/OraHome_1/
    [oracle@pele ~]$
    And here is oratab, which corresponds to my env settings:
    [oracle@pele ~]$ cat /etc/oratab|grep ora1
    ora1:/u01/app/oracle/OraHome_1:Y
    So the problem is, dbstart seems to work, I can see all the oracle processes, the shared mem ... but I cannot connect to it. Manually starting the db per sqlplus works alright. But dbstart seems to do something on his own.
    Thanks...
    Oracle 10g, 10.1.0.4.0, Redhat EL4

    No, dbstart starts the database.
    This is after a 'dbstart' :
    [oracle@pele ~]$ ipcs
    ----- Gemeinsamer Speicher: Segmente -----
    Schlüssel shmid Besitzer Rechte Bytes nattch Status
    0xa42e2390 557057 oracle 640 526385152 15
    ----- Semaphorenfelder -----
    Schlüssel SemID Besitzer Rechte nsems
    0xe9be8a00 2392072 oracle 640 154
    ----- Nachrichtenwarteschlangen -----
    Schlüssel msqid Besitzer Rechte used-bytes messages
    [oracle@pele ~]$ sqlplus / as sysdba
    SQL*Plus: Release 10.1.0.4.0 - Production on Do Apr 14 16:10:49 2005
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Bei einer nicht hochgefahrenen Instance angemeldet.
    SQL> startup
    ORACLE-Instance hochgefahren.
    Total System Global Area 524288000 bytes
    Fixed Size 779996 bytes
    Variable Size 326113572 bytes
    Database Buffers 197132288 bytes
    Redo Buffers 262144 bytes
    ORA-01102: Datenbank kann nicht im EXCLUSIVE-Modus mit Mount angeschlossen werden.
    SQL>
    So it is running.
    Can you elaborate on "10.1.0.4 is buggy under Linux"?
    Btw. I had the same error on 10.1.0.3.
    And this is alert.log:
    scumnt: failed to lock /u01/app/oracle/OraHome_1//dbs/lkORA1 exclusive
    Thu Apr 14 16:11:05 2005
    ORA-09968: scumnt: unable to lock file
    Linux Error: 11: Resource temporarily unavailable
    Additional information: 14852
    Thu Apr 14 16:11:05 2005
    ORA-1102 signalled during: ALTER DATABASE MOUNT...
    Thanks for your reply
    Rainer

  • Dbca + dbstart error

    Hi Group,
    I am newbie to oracle and I just want it to run and hope to have a knowldge in this wonderful product.
    I tried to install Oracle 9i to SUN Enterprise 3500 running in Solaris 10. The server have 4 CPUs and 1024MB RAM with 12 disk arrays 9GB each. I already uninstalled/installed it twice but still the same problem.
    After editing my tnsnames.ora, I fired up dbstart but gives me an error. I tried to search internet but I couldn't really find the solutions. Here is the error message.
    SQL*Plus: Release 9.2.0.1.0 - Production on Sun Feb 13 23:51:00 2005
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    SQL> ERROR:
    ORA-12154: TNS:could not resolve service name
    SQL> ORA-12154: TNS:could not resolve service name
    SQL>
    Database "oracle" warm started.
    During my search to this problem, somebody suggested to run netca and/or dbca (GUI) and it will help to configures tnsnames.ora and/or listener.ora.
    So I executed netca/dbca but unfortunately, it gives me again another error. Here is the error.
    oracle@mrkors:/oracle> dbca
    ld.so.1: /oracle/app/oracle/jre/1.1.8/bin/sparc/native_threads/jre: fatal: relocation error: file /oracle/app/oracle/jre/1.1.8/bin/../lib/sparc/native_threads/libawt.so: symbol XShmQueryExtension: referenced symbol not found (/oracle/app/oracle/jre/1.1.8/bin/../lib/sparc/native_threads/libawt.so)
    ld.so.1: /oracle/app/oracle/jre/1.1.8/bin/sparc/native_threads/jre: fatal: relocation error: file /oracle/app/oracle/jre/1.1.8/bin/../lib/sparc/native_threads/libawt.so: symbol XShmQueryExtension: referenced symbol not found (/oracle/app/oracle/jre/1.1.8/bin/../lib/sparc/native_threads/libawt.so)
    java.lang.NoClassDefFoundError
    I checked the path and libawt.so is there. Something seems not right about that version. Is it already superceded by 1.1.9?
    Please help me...
    I am posting my tnsnames.ora. Please checked and and I hope that you can find the one bugging me.
    Thank you very much.
    #TNSNAMES.ORA
    LISTENER =
    (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=tcp)(HOST=mrkors)(PORT=1521))
    (ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)))
    # SID_LIST_<lsnr>
    # List of services the listener knows about and can connect
    # clients to. There is no default. See the Net8 Administrator's
    # Guide for more information.
    SID_LIST_LISTENER=
    (SID_LIST=
    (SID_DESC=
    #BEQUEATH CONFIG
    (GLOBAL_DBNAME=oracle.mrkors)
    (SID_NAME=oracle)
    (ORACLE_HOME=/oracle)
    #PRESPAWN CONFIG
    (PRESPAWN_MAX=20)
    (PRESPAWN_LIST=
    (PRESPAWN_DESC=(PROTOCOL=tcp)(POOL_SIZE=2)(TIMEOUT=1))

    Hi Joseph
    I think you have two problems: the net configuration and the fact that dbca is not running. The latter is sun specific so I can't help you on that one. It might have to do with java installation, ld_library_path patches, or environment variables.
    The initial problem however..
    I will show you my files that works for me. The oracle instance is called "wms" (ORACLE_SID = wms).
    dbstart is using the file /etc/oratab. Your oracle instance is listed in this file associated with 'Y' (meaning 'yes' i would like this instance to start).
    oratab file
    *:/opt/oracle/product/9.2.0:N
    wms:/opt/oracle/product/9.2.0:Y
    It looks like that you have listed your listener.ora file?
    Here are my files:
    listener.ora
    # LISTENER.ORA Network Configuration File: /opt/oracle/product/9.2.0/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = archimedes)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /opt/oracle/product/9.2.0)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = wms.emercos.com)
    (ORACLE_HOME = /opt/oracle/product/9.2.0)
    (SID_NAME = wms)
    tnsnames.ora
    # TNSNAMES.ORA Network Configuration File: /opt/oracle/product/9.2.0/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    WMS =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = archimedes)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = wms.emercos.com)
    INST1_HTTP =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = archimedes)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = SHARED)
    (SERVICE_NAME = MODOSE)
    (PRESENTATION = http://HRService)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    Hope this will help you..
    Kind regards,
    Morten Steffensen

  • Oraview.vrf(0) is missing -- installation problem

    Hello:
    I had a problem when I was trying to install Oracle 8.0.5 on my
    RedHat 6.0 machine. Please help me if you happen to know the
    solution. It seemed that everything was OK at the first stage of
    my installation. After I set the environment variables, I ran the
    orainst to install new product without creating database. After I
    got the success result, I ran the "glibcpatch" script. I also got
    the message saying "Applied glibc patch for Oracle 8.0.5.
    successfully." Well, after I ran the orainst again to try to
    create database objects, I got the problem. In the install
    screen, I select "Oracle 8 Standard RDBMS 8.0.5.0.0". After the
    installation ran for a while, I got this message:
    Oraview.vrf(0): FILE_NOT_FOUND while verifying oraview.
    (No such file or directory.)
    I tried several times to install again from the very beginning.
    But each time it stopped there. I got the same results. Did
    anybody out there have the same problem before? If you know how
    to solve this problems, please help me. Your help is greatly
    appreciated. Thanks in advance.
    Warren
    null

    Phan Anh Tran (guest) wrote:
    : Hi all,
    : I have installed Oracle 8.0.5.1 is installed on my RH 6.0 box.
    : However, I am running into a couple of post-installation
    : problems.
    : 1. root.sh (sucessfully ran).
    : 2. glibc patch (successfuly ran). There were a few errors on
    the
    : screen with the "mv" commands (file does not exist). Is tha
    : alright?
    : 3. catrep.sql (problem). This is where I have a problem.
    : I ran dbstart as oracle805 (installation account), but I have
    no
    : idea whether or not I really started the database. ps -aux did
    : not yield any clue.
    : I also tried svrmgrl and "startup", but the file "initXXX.ora"
    : did not exist, so I copied the existing "init.ora" to
    : "initXXX.ora". XXX is my ORACLE_SID. Instead alert_XXX.log
    gave
    : me the following:
    : ORA-00202: controlfile: 'ora_control1'
    : ORA-27037: unable to obtain file status
    : So, in other words, I have no idea whether or not I have
    : successfully installed Oracle. All insights are greatly
    : appreciated.
    : Thanks a bunch...
    : Anh
    Hei !
    I also did this fault :-( See this webpage - it's excellent
    and describes everything.
    http://jordan.fortwayne.com/oracle/rh6x.html
    null

  • Oracle11r2/Solaris10 Problem startup script "insufficient privileges"

    Hi,
    I have a problem with my startup script. i think that is the permissions but i dont know.
    When i run the script as oracle user, the script runs ok. But when i reboot the system the log showme error with "insufficient privileges".
    This is my script.
    +# more dbora+
    +#!/usr/bin/bash -x+
    +#/bin/sh -x+
    +#+
    +# Change the value of ORACLE_HOME to specify the correct Oracle home+
    +# directory for your installation.+
    ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1
    +#+
    +# 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`
    ORACLE_SID="orcl"
    export ORACLE_HOME PATH ORACLE_SID
    case $1 in
    +'start')+
    sleep 3
    +# rsh $HOST -l $ORACLE -n "$ORACLE_HOME/bin/dbstart $ORACLE_HOME &"+
    +# su - oracle -c "$ORACLE_HOME/bin/dbstart"+
    +# $ORACLE_HOME/bin/dbstart "+
    +$ORACLE_HOME/bin/dbstart $ORACLE_HOME &+
    +$ORACLE_HOME/bin/lsnrctl start &+
    +$ORACLE_HOME/bin/emctl start dbconsole &+
    +;;+
    +'stop')+
    +$ORACLE_HOME/bin/dbshut $ORACLE_HOME &+
    +$ORACLE_HOME/bin/lsnrctl stop &+
    +$ORACLE_HOME/bin/emctl stop dbconsole &+
    +;;+
    +*)+
    +echo "usage: $0 start"+
    +exit+
    +;;+
    +esac+
    +exit+
    +#+
    +# ll /etc/init.d/dbora+
    +-rwxr-x--- 1 root dba 1185 Apr 20 10:33 /etc/init.d/dbora+
    +#+
    +# ll /etc/rc3.d/+
    +total 42+
    +...+
    +...+
    +lrwxrwxrwx 1 root root 17 Apr 20 10:30 K01dbora -> /etc/init.d/dbora+
    +lrwxrwxrwx 1 root root 17 Apr 19 17:04 S99dbora -> /etc/init.d/dbora+
    +#+
    +# more /var/opt/oracle/oratab+
    +orcl:/u01/app/oracle/product/11.2.0/db_1:Y+
    +other:/u01/app/oracle/product/11.2.0/db_1:Y+
    +#+
    +# more /etc/group+
    +...+
    +...+
    +oinstall::100:oracle+
    +dba::101:oracle+
    +#+
    I try with su - oracle -c "command" in the script but doesnt work (the oracle doesnt startup and startup log dont show nothing).
    I dont know whats the problem. I will thank you for your help.
    Thanks.
    ========
    startup log from the init.d:
    ++ export ORACLE_SID+
    ++ PATH=/u01/app/oracle/product/11.2.0/db_1/bin:/bin:/usr/bin:/etc:/usr/sbin:/usr/bin:/u01/app/oracle/product/11.2.0/db_1/bin+
    ++ export PATH+
    ++ LD_LIBRARY_PATH=/u01/app/oracle/product/11.2.0/db_1/lib:+
    ++ export LD_LIBRARY_PATH+
    ++ PFILE=/u01/app/oracle/product/11.2.0/db_1/dbs/initorcl.ora+
    ++ SPFILE=/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora+
    ++ SPFILE1=/u01/app/oracle/product/11.2.0/db_1/dbs/spfile.ora+
    ++ echo ''+
    ++ echo '/u01/app/oracle/product/11.2.0/db_1/bin/dbstart: Starting up database "orcl"'+
    +/u01/app/oracle/product/11.2.0/db_1/bin/dbstart: Starting up database "orcl"+
    ++ date+
    +Tue Apr 20 10:34:25 CDT 2010+
    ++ echo ''+
    ++ checkversionmismatch+
    ++ '[' 11 ']'+
    +++ sqlplus -V+
    +++ grep 'Release '+
    +++ cut '-d ' -f3+
    +++ cut -d. -f1+
    ++ VER10INST=11+
    ++ '[' 11 -lt 11 ']'+
    ++ VERSION=undef+
    ++ '[' -f /u01/app/oracle/product/11.2.0/db_1/bin/sqldba ']'+
    ++ '[' -f /u01/app/oracle/product/11.2.0/db_1/bin/svrmgrl ']'+
    ++ SQLDBA='sqlplus /nolog'+
    ++ STATUS=1+
    ++ '[' -f /u01/app/oracle/product/11.2.0/db_1/dbs/sgadeforcl.dbf ']'+
    ++ '[' -f /u01/app/oracle/product/11.2.0/db_1/dbs/sgadeforcl.ora ']'+
    +++ ps -ef+
    +++ grep -w ora_pmon_orcl+
    +++ grep -v grep+
    ++ pmon=+
    ++ '[' '' '!=' '' ']'+
    ++ '[' 1 -eq -1 ']'+
    ++ '[' 1 -eq 1 ']'+
    ++ '[' -e /u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora -o -e /u01/app/oracle/product/11.2.0/db_1/dbs/spfile.ora -o -e /u01/app/oracle/product/11.2.0/db_1/dbs/initorcl.ora ']'+
    ++ case $VERSION in+
    ++ sqlplus /nolog+
    +SQL*Plus: Release 11.2.0.1.0 Production on Tue Apr 20 10:34:26 2010+
    +Copyright (c) 1982, 2009, Oracle. All rights reserved.+
    +SQL> + export ORACLE_SID+
    ++ PATH=/u01/app/oracle/product/11.2.0/db_1/bin:/bin:/usr/bin:/etc:/usr/sbin:/usr/bin:/u01/app/oracle/product/11.2.0/db_1/bin+
    ++ export PATH+
    ++ LD_LIBRARY_PATH=/u01/app/oracle/product/11.2.0/db_1/lib:+
    ++ export LD_LIBRARY_PATH+
    ++ PFILE=/u01/app/oracle/product/11.2.0/db_1/dbs/initorcl.ora+
    ++ SPFILE=/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora+
    ++ SPFILE1=/u01/app/oracle/product/11.2.0/db_1/dbs/spfile.ora+
    ++ echo ''+
    ++ echo '/u01/app/oracle/product/11.2.0/db_1/bin/dbstart: Starting up database "orcl"'+
    +/u01/app/oracle/product/11.2.0/db_1/bin/dbstart: Starting up database "orcl"+
    ++ date+
    +Tue Apr 20 10:34:27 CDT 2010+
    ++ echo ''+
    ++ checkversionmismatch+
    ++ '[' 11 ']'+
    +++ sqlplus -V+
    +++ grep 'Release '+
    +++ cut '-d ' -f3+
    +++ cut -d. -f1+
    ++ VER10INST=11+
    ++ '[' 11 -lt 11 ']'+
    ++ VERSION=undef+
    ++ '[' -f /u01/app/oracle/product/11.2.0/db_1/bin/sqldba ']'+
    ++ '[' -f /u01/app/oracle/product/11.2.0/db_1/bin/svrmgrl ']'+
    ++ SQLDBA='sqlplus /nolog'+
    ++ STATUS=1+
    ++ '[' -f /u01/app/oracle/product/11.2.0/db_1/dbs/sgadeforcl.dbf ']'+
    ++ '[' -f /u01/app/oracle/product/11.2.0/db_1/dbs/sgadeforcl.ora ']'+
    +++ ps -ef+
    +++ grep -w ora_pmon_orcl+
    +++ grep -v grep+
    ++ pmon=+
    ++ '[' '' '!=' '' ']'+
    ++ '[' 1 -eq -1 ']'+
    ++ '[' 1 -eq 1 ']'+
    ++ '[' -e /u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora -o -e /u01/app/oracle/product/11.2.0/db_1/dbs/spfile.ora -o -e /u01/app/oracle/product/11.2.0/db_1/dbs/initorcl.ora ']'+
    ++ case $VERSION in+
    ++ sqlplus /nolog+
    +SQL*Plus: Release 11.2.0.1.0 Production on Tue Apr 20 10:34:27 2010+
    +Copyright (c) 1982, 2009, Oracle. All rights reserved.+
    +SQL> ERROR:+
    +ORA-01031: insufficient privileges+
    +SQL> ORA-01031: insufficient privileges+
    +SQL> + '[' 0 -eq 0 ']'+
    ++ echo ''+
    ++ echo '/u01/app/oracle/product/11.2.0/db_1/bin/dbstart: Database instance "orcl" warm started.'+
    +/u01/app/oracle/product/11.2.0/db_1/bin/dbstart: Database instance "orcl" warm started.+
    =============
    if i run the script as oracle user this is the log:
    ++ export ORACLE_SID+
    ++ PATH=/u01/app/oracle/product/11.2.0/db_1/bin:/bin:/usr/bin:/etc:/usr/sbin:/usr/bin:/opt/csw/bin:/usr/openwin/bin:/u01/app/oracle/product/11.2.0/db_1/bin+
    ++ export PATH+
    ++ LD_LIBRARY_PATH=/u01/app/oracle/product/11.2.0/db_1/lib:+
    ++ export LD_LIBRARY_PATH+
    ++ PFILE=/u01/app/oracle/product/11.2.0/db_1/dbs/initorcl.ora+
    ++ SPFILE=/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora+
    ++ SPFILE1=/u01/app/oracle/product/11.2.0/db_1/dbs/spfile.ora+
    ++ echo ''+
    ++ echo '/u01/app/oracle/product/11.2.0/db_1/bin/dbstart: Starting up database "orcl"'+
    +/u01/app/oracle/product/11.2.0/db_1/bin/dbstart: Starting up database "orcl"+
    ++ date+
    +Tue Apr 20 10:39:17 CDT 2010+
    ++ echo ''+
    ++ checkversionmismatch+
    ++ '[' ']'+
    ++ VERSION=undef+
    ++ '[' -f /u01/app/oracle/product/11.2.0/db_1/bin/sqldba ']'+
    ++ '[' -f /u01/app/oracle/product/11.2.0/db_1/bin/svrmgrl ']'+
    ++ SQLDBA='sqlplus /nolog'+
    ++ STATUS=1+
    ++ '[' -f /u01/app/oracle/product/11.2.0/db_1/dbs/sgadeforcl.dbf ']'+
    ++ '[' -f /u01/app/oracle/product/11.2.0/db_1/dbs/sgadeforcl.ora ']'+
    +++ ps -ef+
    +++ grep -w ora_pmon_orcl+
    +++ grep -v grep+
    ++ pmon=+
    ++ '[' '' '!=' '' ']'+
    ++ '[' 1 -eq -1 ']'+
    ++ '[' 1 -eq 1 ']'+
    ++ '[' -e /u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora -o -e /u01/app/oracle/product/11.2.0/db_1/dbs/spfile.ora -o -e /u01/app/oracle/product/11.2.0/db_1/dbs/initorcl.ora ']'+
    ++ case $VERSION in+
    ++ sqlplus /nolog+
    +SQL*Plus: Release 11.2.0.1.0 Production on Tue Apr 20 10:39:17 2010+
    +Copyright (c) 1982, 2009, Oracle. All rights reserved.+
    +SQL> Connected to an idle instance.+
    +SQL> ORACLE instance started.+
    +Total System Global Area 3374866432 bytes+
    +Fixed Size 2152768 bytes+
    +Variable Size 1845495488 bytes+
    +Database Buffers 1493172224 bytes+
    +Redo Buffers 34045952 bytes+
    +Database mounted.+
    +Database opened.+
    +SQL> Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production+
    +With the Partitioning, OLAP, Data Mining and Real Application Testing options+
    ++ '[' 0 -eq 0 ']'+
    ++ echo ''+
    ++ echo '/u01/app/oracle/product/11.2.0/db_1/bin/dbstart: Database instance "orcl" warm started.'+
    +/u01/app/oracle/product/11.2.0/db_1/bin/dbstart: Database instance "orcl" warm started.+

    Hi,
    thanks for your reply.
    I found the problem.
    In my script, i change this:
    # su - oracle -c "$ORACLE_HOME/bin/dbstart"
    by this and its work (without "-")
    # su oracle -c "$ORACLE_HOME/bin/dbstart"
    Thanks...

Maybe you are looking for

  • Is there any way to print text messages from an iPhone 3gs?

    Is there any way to print text messages from an iPhone 3GS?

  • Error when adding line items in a Contract

    Hi All, Need your help regarding the following issue. The business user is trying to edit (to add more line items/materials) a contract with customized T.Code ZGME31K. Getting error "Enter rate USD / rate type M for 11/24/2009 in the system settings"

  • Problems with a Game - Should I update to OSX Mountain Lion?

    Howdy, To cut a long story short and get straight to the point I've been having problems with the Sims 3 for god knows how long and its starting to drive me mad. What I'm now wondering is whether updating to OSX Mountain Lion would help at all. The r

  • Selected element in HtmlSelectOneMenu is not correctly set

    Hi, I have multiple dropdown lists in a jsf page. It seems that there is a problem with the generated html regarding the "selected" attribute of the "option" html tag. It does not corresponds to the value of the h:selectOneMenu id ="tests" value="#{t

  • Lightroom 5 no noise reduction on file export

    Here are the steps I'm using:                color and luminance noise reduction Export with these settings:                jpeg ( same result with tiff}                quality 100%                resize to fit long edge 1000 px     Lighroom screen--