Shutdown the database

Can I shutdown the Database automatically? We're thinking shutdown it making a shell in UNIX. Programming the commands of the server manager in a shell and executing whith the crontab command.
But it was not the right way!
Thanks!
OK! Here's the point
In our Business Continuity Plan we have the purpose of replicate the productive data in a recovery server. To do it, we shutdown the database after make a copy of the productive data. But we do it manually instead automatically. And we ´re looking for a better way to do it.
Message was edited by:
user533526

Yes! Let me tell you that this is only a test with a few lines.
The body of shell is:
ORACLE_SID = SICSDES; export ORACLE_SID
svrmgrl
connect internal
shutdown immediate
exit
And there's not error; the command svrmgrl operates correct. but after that the next commands are not recognized for the shell

Similar Messages

  • Shell Script  for Startup and Shutdown the database

    Hi,
    i want Shell Script for Startup and Shutdown the database in Solaries.
    could any one can hep me where i can get this script. or send to me to [email protected]
    Thanks & Regards,
    Gangi reddy

    SHUTDOWN
    SHUTDOWN ABORT]
    Shuts down a currently running Oracle instance, optionally closing and dismounting a database.
    Terms
    Refer to the following list for a description of each term or clause:
    ABORT
    Proceeds with the fastest possible shutdown of the database without waiting for calls to complete or users to disconnect.
    Uncommitted transactions are not rolled back. Client SQL statements currently being processed are terminated. All users currently connected to the database are implicitly disconnected and the next database startup will require instance recovery.
    You must use this option if a background process terminates abnormally.
    IMMEDIATE
    Does not wait for current calls to complete or users to disconnect from the database.
    Further connects are prohibited. The database is closed and dismounted. The instance is shutdown and no instance recovery is required on the next database startup.
    NORMAL
    NORMAL is the default option which waits for users to disconnect from the database.
    Further connects are prohibited. The database is closed and dismounted. The instance is shutdown and no instance recovery is required on the next database startup.
    TRANSACTIONAL [LOCAL]
    Performs a planned shutdown of an instance while allowing active transactions to complete first. It prevents clients from losing work without requiring all users to log off.
    No client can start a new transaction on this instance. Attempting to start a new transaction results in disconnection. After completion of all transactions, any client still connected to the instance is disconnected. Now the instance shuts down just as it would if a SHUTDOWN IMMEDIATE statement was submitted. The next startup of the database will not require any instance recovery procedures.
    The LOCAL mode specifies a transactional shutdown on the local instance only, so that it only waits on local transactions to complete, not all transactions. This is useful, for example, for scheduled outage maintenance.
    Usage
    SHUTDOWN with no arguments is equivalent to SHUTDOWN NORMAL.
    You must be connected to a database as SYSOPER, or SYSDBA. You cannot connect via a multi-threaded server. For more information about connecting to a database, see the CONNECT command earlier in this chapter.
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a90842/ch13.htm#1013607
    Joel Pérez

  • I am not able to shutdown the database by using stopsap

    Dear all,
    As mentioned in the subject "I am not able to shutdown the database by using stopsap". I am getting the following errors:
    exec(): 0509-036 Cannot load program oracle<SID> because of the following errors:
            0509-150   Dependent module libjox9.a(shr.o) could not be loaded.      
            0509-022 Cannot load module libjox9.a(shr.o).                          
            0509-026 System error: A file or directory in the path name does not exist
    R3 is terminated correctly by using the command stopsap and also I am able to shutdown the database normally by using the SQL command.
    Thanks for your cooperation.
    Maher

    Thank you Nick for your care.
    I will test start/stop manually later; because the system is active and used by the users for testing purpose (not production).
    Yes, LIBPATH is the same for both users.
    The ownership/permisssion for the both files is
    -rwxr-xr-x   1 <SID>adm   sapsys    stopdb
    -rwxr-xr-x   1 <SID>adm   sapsys    startdb
    I compared with production, it seems ok.
    I started DBCheck by using the transaction DB13 and also it failed due to same errors.
    Job started
    Step 001 started (program RSDBAJOB, variant &0000000000272, user name ****)
    No application server found on database host
    Execute logical command BRCONNECT On host *******
    Parameters: -u / -c -f check
    BR801I BRCONNECT 6.20 (113)
    exec(): 0509-036 Cannot load program oracle<SID>because of the following errors:
    #0509-150   Dependent module libjox9.a(shr.o) could not be loaded.
    #0509-022 Cannot load module libjox9.a(shr.o).
    #0509-026 System error: A file or directory in the path name does not exist.
    BR805I Start of BRCONNECT processing: cdnybrme.chk 2004-08-11 08.27.04
    exec(): 0509-036 Cannot load program oracle<SID> because of the following errors:
    #0509-150   Dependent module libjox9.a(shr.o) could not be loaded.
    #0509-022 Cannot load module libjox9.a(shr.o).
    #0509-026 System error: A file or directory in the path name does not exist.
    BR280I Time stamp 2004-08-11 08.27.07
    BR301E SQL error -12547 at location db_connect-2
    ORA-12547: TNS:lost contact
    BR310E Connect to database instance <SID> failed
    exec(): 0509-036 Cannot load program oracle<SID> because of the following errors:
    #0509-150   Dependent module libjox9.a(shr.o) could not be loaded.
    #0509-022 Cannot load module libjox9.a(shr.o).
    #0509-026 System error: A file or directory in the path name does not exist.
    BR280I Time stamp 2004-08-11 08.27.07
    BR301E SQL error -12547 at location thr_db_connect-4
    ORA-12547: TNS:lost contact
    BR310E Connect to database instance <SID> failed
    BR806I End of BRCONNECT processing: cdnybrme.chk 2004-08-11 08.27.07
    BR280I Time stamp 2004-08-11 08.27.07
    BR804I BRCONNECT terminated with errors
    External program terminated with exit code 3
    BRCONNECT returned error status E
    Job finished
    Do you think that we need to rebuild the Oracle Software ?
    Thank in advance for your cooperation.
    Maher.
    Message was edited by: Maher M.

  • Takes more time to start & shutdown the database

    Hi All,
    I have created a database in oracle9i by following manual steps. Every thing was created successfully and am able to start the database and shutdown also.
    but the problem is while giving the startup command it takes more time to start the database and the same during the shutdown. So anyone help me..
    the follwing are the pfile specifications:
    db_name=practice
    instance_name=practice
    control_files= 'E:\practice\control\control1.ctl',
              'D:\practice\control\control2.ctl'
    db_block_size=2048
    db_cache_size=20m
    shared_pool_size=20m
    background_dump_dest='E:\practice\bdump'
    user_dump_dest='E:\practice\udump'
    Thanks in Advance

    Every thing was created successfully and am able to start the database and > shutdown also.Please restate the above.
    problem is while giving the startup command it takes more time to start the >database and the same during the shutdownHow have you compared? Could it be O/S resources, installation of additional software; you have not mentioned the O/S and complete version of your database.
    You can review the following although I am bit unclear;
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96533/instreco.htm#440322
    Adith

  • Shutdown The Database in Some Times

    Dear All
    I have Installed Oracle Database 10G on Windows Server 2003
    But When I need Connect To The database I Discover it shutdown then I will Startup Again to Connect.
    Please I need help To see What Happen To Oracle Because its Online Database
    There is files In Oracle That I can Trace The Error or Any Thing To Help.
    Thanks In Advance.

    The first place to check would probably be your alert log. You can usually find it here $ORACLE_BASE\admin\bdump and the file will be named alert_<SID>.log. If you cannot find the file here check the value of the BACKGROUND_DUMP_DEST parameter.
    Hope this helps.
    Also this would probably be better off posted in the {forum:id=61} forum :)

  • How to Shutdown the Database?

    hi,
    i just installed oracle enterprise edition on my notebook for getting some experince with the ee. My first goal was to simply shutdown/startup my Database instance.
    for that i logged into the web interface (sysdba) and used the shutdown button. i get asked for a host-id user/pwd and a database user/pwd. for the host-id pw i entered my windows login acc/pwd. and for the database-id my user "sys" with pw.
    everytime i get the error "RemoteOperationException: ERROR: Invalid username and/or password". i gave alle admin db-users the same password ...so i am sure i used the correct one here - what am i doing wrong?
    i am a bit confused that the error tells me someting about a remoteOperation? Everythin is running local on my notebook....
    can someone help me? even the "oracle by example"-Documentation gives me no clue what to do.
    thx for help

    The web interface, DB Console, requires both the host user name and password (username and password that you use to log on to you laptop) and database user with SYSDBA or SYSOPER privileges.
    The username and password that you use to log into your laptop needs to be in the both in the Windows administrators group and the ORA_DBA group.
    You can setup the preferred credentials in DB Console by clicking the Preferences link at the top of the page and then chose Preferred Credentials at the left. On the Prefered Credentials page you can test both the host and database username and password combinations.
    Please see the 2 Day DBA Guide for more information on starting and the stopping the Oracle database and associated process.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14196/instance002.htm#sthref255

  • Enterprise Manager is not able to connect to the database instance....

    Hi all,
    Currently i'm facing a big issue here.
    I have install the Oracle 10g on Window 2003 SE.
    And currently the Enterprise manager is not be able to conenct to the database and my database is still running.With my listener is up.
    But from the Enterprise manager's it show that everythg is down.
    and when i try to restart it,i ask for os id and password and dbuser and dbpassword.
    frm the SQL plus,i can easily startup and shutdown the database.
    So i would like to know i can rectify this problem.
    please kindly help me.I have post the setting of the databse as below
    tnsnames.ora
    ==========
    # Filename......: tnsnames.ora
    # Created.......: created by SAP AG, R/3 Rel. >= 6.10
    # Name..........:
    # Date..........:
    # @(#) $Id: //bc/700-1_REL/src/ins/SAPINST/impl/tpls/ora/ind/TNSNAMES.ORA#4 $
    SDB.WORLD=
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = SAP.WORLD)
    (PROTOCOL = TCP)
    (HOST = SAP_SOLMAN)
    (PORT = 1527)
    (CONNECT_DATA =
    (SID = SDB)
    (GLOBAL_NAME = SDB.WORLD)
    sqlnet.ora
    ========
    # sqlnet.ora Network Configuration File: E:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\sqlnet.ora
    # Generated by Oracle configuration tools.
    # 05.01.06 set to default
    #TCP.NODELAY=YES
    # 05.01.06 set to 32768
    # 05.01.06 unsorported parameter now
    #NAME.DEFAULT_ZONE = WORLD
    # 05.01.06 set the default to 10
    # Filename......: sqlnet.ora
    # Created.......: created by SAP AG, R/3 Rel. >= 6.10
    # Name..........:
    # Date..........:
    # @(#) $Id: //bc/700-1_REL/src/ins/SAPINST/impl/tpls/ora/ind/SQLNET.ORA#4 $
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT, HOSTNAME, LDAP)
    NAMES.DEFAULT_DOMAIN = WORLD
    DEFAULT_SDU_SIZE = 32768
    SQLNET.EXPIRE_TIME = 10
    Listener.ora
    =========
    # Filename......: listener.ora
    # Created.......: created by SAP AG, R/3 Rel. >= 6.10
    # Name..........:
    # Date..........:
    # @(#) $Id: //bc/700-1_REL/src/ins/SAPINST/impl/tpls/ora/ind/LISTENER.ORA#4 $
    ADMIN_RESTRICTIONS_LISTENER = on
    LISTENER =
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = IPC)
    (KEY = SDB.WORLD)
    (ADDRESS=
    (PROTOCOL = IPC)
    (KEY = SDB)
    (ADDRESS =
    (COMMUNITY = SAP.WORLD)
    (PROTOCOL = TCP)
    (HOST = SAP_SOLMAN)
    (PORT = 1527)
    STARTUP_WAIT_TIME_LISTENER = 0
    CONNECT_TIMEOUT_LISTENER = 10
    TRACE_LEVEL_LISTENER = OFF
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = SDB)
    (ORACLE_HOME = E:\oracle\product\10.2.0\db_1)
    Listener status
    ===========
    LSNRCTL> status
    Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=SDB.WORLD))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
    ction
    Start Date 15-AUG-2006 15:14:48
    Uptime 0 days 2 hr. 43 min. 31 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File E:\oracle\product\10.2.0\db_1\network\admin\listener.o
    ra
    Listener Log File E:\oracle\product\10.2.0\db_1\network\log\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\SDB.WORLDipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\SDBipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=SAP_solman)(PORT=1527)))
    Services Summary...
    Service "SDB" has 1 instance(s).
    Instance "SDB", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    emoms.log
    ========
    2006-08-15 18:03:20,562 [HttpRequestHandler-2254042] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = Io exception: The Network Adapter could not establish the connection
    2006-08-15 18:03:21,547 [HttpRequestHandler-2254042] WARN jdbc.ConnectionCache _getConnection.303 - Got a fatal exeption when getting a connection; Error code = 17002; Cleaning up cache and retrying
    2006-08-15 18:03:21,547 [HttpRequestHandler-2254042] WARN jdbc.ConnectionCache _getConnection.306 - Io exception: The Network Adapter could not establish the connection
    java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:111)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:145)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:254)
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:386)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:493)
         at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:164)
         at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:34)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:767)
         at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:324)
         at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPooledConnection(OracleConnectionPoolDataSource.java:114)
         at oracle.jdbc.pool.OracleConnectionCacheImpl.getNewPoolOrXAConnection(OracleConnectionCacheImpl.java:694)
         at oracle.jdbc.pool.OracleConnectionCacheImpl.getPooledConnection(OracleConnectionCacheImpl.java:540)
         at oracle.jdbc.pool.OracleConnectionCacheImpl.getConnection(OracleConnectionCacheImpl.java:346)
         at oracle.jdbc.pool.OracleConnectionCacheImpl.getConnection(OracleConnectionCacheImpl.java:324)
         at oracle.sysman.util.jdbc.ConnectionCache._getConnection(ConnectionCache.java:296)
         at oracle.sysman.util.jdbc.ConnectionCache.getUnwrappedConnection(ConnectionCache.java:423)
         at oracle.sysman.emSDK.svc.conn.FGAConnectionCache.getFGAConnection(FGAConnectionCache.java:156)
         at oracle.sysman.emSDK.svc.conn.ConnectionService.getPrivateConnection(ConnectionService.java:605)
         at oracle.sysman.emdrep.receiver.OMSHandshake.getParameterFromDB(OMSHandshake.java:387)
         at oracle.sysman.emdrep.receiver.OMSHandshake.getMaxAgentCompatVer(OMSHandshake.java:369)
         at oracle.sysman.emdrep.receiver.OMSHandshake.handshake(OMSHandshake.java:794)
         at oracle.sysman.emdrep.receiver.OMSHandshake.handshake(OMSHandshake.java:648)
         at oracle.sysman.emdrep.receiver.FxferRecv.doGet(FxferRecv.java:658)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:239)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:604)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    2006-08-15 18:03:22,531 [HttpRequestHandler-2254042] ERROR eml.OMSHandshake getParameterFromDB.402 - Io exception: The Network Adapter could not establish the connection
    2006-08-15 18:03:22,531 [HttpRequestHandler-2254042] ERROR eml.OMSHandshake processFailure.619 - OMSHandshake failed.(AGENT URL = http://SAP_solman:3938/emd/main)(ERROR = INTERNAL_ERROR)
    2006-08-15 18:03:35,547 [HttpRequestHandler-9249408] WARN jdbc.ConnectionCache _getConnection.303 - Got a fatal exeption when getting a connection; Error code = 17002; Cleaning up cache and retrying
    2006-08-15 18:03:35,547 [HttpRequestHandler-9249408] WARN jdbc.ConnectionCache _getConnection.306 - Io exception: The Network Adapter could not establish the connection
    java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:111)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:145)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:254)
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:386)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:493)
         at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:164)
         at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:34)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:767)
         at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:324)
         at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPooledConnection(OracleConnectionPoolDataSource.java:114)
         at oracle.jdbc.pool.OracleConnectionCacheImpl.getNewPoolOrXAConnection(OracleConnectionCacheImpl.java:694)
         at oracle.jdbc.pool.OracleConnectionCacheImpl.getPooledConnection(OracleConnectionCacheImpl.java:540)
         at oracle.jdbc.pool.OracleConnectionCacheImpl.getConnection(OracleConnectionCacheImpl.java:346)
         at oracle.jdbc.pool.OracleConnectionCacheImpl.getConnection(OracleConnectionCacheImpl.java:324)
         at oracle.sysman.util.jdbc.ConnectionCache._getConnection(ConnectionCache.java:296)
         at oracle.sysman.util.jdbc.ConnectionCache.getUnwrappedConnection(ConnectionCache.java:423)
         at oracle.sysman.emSDK.svc.conn.FGAConnectionCache.getFGAConnection(FGAConnectionCache.java:156)
         at oracle.sysman.emSDK.svc.conn.ConnectionService.getPrivateConnection(ConnectionService.java:605)
         at oracle.sysman.emSDK.svc.conn.ConnectionService.getRepositoryVersionAndMode(ConnectionService.java:368)
         at oracle.sysman.emSDK.svc.conn.ConnectionService.verifyRepositoryEx(ConnectionService.java:395)
         at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:144)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    2006-08-15 18:03:36,531 [HttpRequestHandler-9249408] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = Io exception: The Network Adapter could not establish the connection
    2006-08-15 18:03:36,531 [EMUI_18_03_36_/console/aboutApplication] ERROR em.console doGet.311 - java.lang.IllegalStateException: Response has already been committed
    java.lang.IllegalStateException: Response has already been committed
         at com.evermind.server.http.EvermindHttpServletResponse.resetBuffer(EvermindHttpServletResponse.java:1901)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:211)
         at oracle.sysman.emSDK.svlt.PageHandler.render(PageHandler.java:773)
         at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:396)
         at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:688)
         at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:291)
         at oracle.sysman.eml.app.Console.doGet(Console.java:135)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:101)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
         at oracle.sysman.db.adm.inst.HandleRepDownFilter.doFilter(HandleRepDownFilter.java:123)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
         at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:239)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    OracleDBConsoleSDBsrvc.log
    ======================
    -------------- [OracleDBConsoleSDB] ------------
    EMDROOT=E:\oracle\product\10.2.0\db_1
    ORACLE_HOME=E:\oracle\product\10.2.0\db_1
    EMDSTATE=E:\oracle\product\10.2.0\db_1\SAP_solman_SDB
    CONSOLE_CFG=dbconsole
    TRACE_LEVEL=16
    TIMEOUT=15
    08/09/06 15:11:59 Start pending...
    08/09/06 15:11:59 Verifying dbconsole is not started already. Command line "E:\oracle\product\10.2.0\db_1\bin\emctl.bat" istatus dbconsole
    08/09/06 15:12:04 dbconsole launch commandline is "E:\oracle\product\10.2.0\db_1\bin\emctl.bat" istart dbconsole
    08/09/06 15:12:04 Tracking process launch...
    08/09/06 15:12:41 Received exitCode 3 from emctl istatus
    08/09/06 15:12:41 dbconsole started
    08/11/06 08:46:03 Recieved ServCtrlHdlr command, 5
    08/11/06 08:46:03 Stopping dbconsole
    08/11/06 08:46:03 Launching stop EMD process...
    08/11/06 08:46:03 Waiting for stop EMD process to exit. numRetries=74
    08/11/06 08:46:06 Stop process has exited with exitCode: 0
    08/11/06 08:46:06 Waiting for emwd process to exit. numRetries=74
    08/11/06 08:46:06 Watchdog process exited with exit code 15
    08/11/06 08:46:06 Signal Shutdown event.
    08/11/06 08:46:06 Shutdown thread exited.
    08/11/06 08:46:06 ServiceMain wake up by ShutdownProc, emwd has exited. ServiceMain exits
    -------------- [OracleDBConsoleSDB] ------------
    EMDROOT=E:\oracle\product\10.2.0\db_1
    ORACLE_HOME=E:\oracle\product\10.2.0\db_1
    EMDSTATE=E:\oracle\product\10.2.0\db_1\SAP_solman_SDB
    CONSOLE_CFG=dbconsole
    TRACE_LEVEL=16
    TIMEOUT=15
    08/11/06 08:45:17 Start pending...
    08/11/06 08:45:17 Verifying dbconsole is not started already. Command line "E:\oracle\product\10.2.0\db_1\bin\emctl.bat" istatus dbconsole
    08/11/06 08:45:26 dbconsole launch commandline is "E:\oracle\product\10.2.0\db_1\bin\emctl.bat" istart dbconsole
    08/11/06 08:45:26 Tracking process launch...
    08/11/06 08:46:11 Received exitCode 3 from emctl istatus
    08/11/06 08:46:11 dbconsole started
    08/11/06 08:48:58 Recieved ServCtrlHdlr command, 5
    08/11/06 08:48:58 Stopping dbconsole
    08/11/06 08:48:58 Launching stop EMD process...
    08/11/06 08:48:58 Waiting for stop EMD process to exit. numRetries=74
    08/11/06 08:49:02 Stop process has exited with exitCode: 0
    08/11/06 08:49:02 Waiting for emwd process to exit. numRetries=74
    08/11/06 08:49:02 Watchdog process exited with exit code 15
    08/11/06 08:49:02 Signal Shutdown event.
    08/11/06 08:49:02 Shutdown thread exited.
    08/11/06 08:49:02 ServiceMain wake up by ShutdownProc, emwd has exited. ServiceMain exits
    -------------- [OracleDBConsoleSDB] ------------
    EMDROOT=E:\oracle\product\10.2.0\db_1
    ORACLE_HOME=E:\oracle\product\10.2.0\db_1
    EMDSTATE=E:\oracle\product\10.2.0\db_1\SAP_solman_SDB
    CONSOLE_CFG=dbconsole
    TRACE_LEVEL=16
    TIMEOUT=15
    08/11/06 08:53:20 Start pending...
    08/11/06 08:53:20 Verifying dbconsole is not started already. Command line "E:\oracle\product\10.2.0\db_1\bin\emctl.bat" istatus dbconsole
    08/11/06 08:53:29 dbconsole launch commandline is "E:\oracle\product\10.2.0\db_1\bin\emctl.bat" istart dbconsole
    08/11/06 08:53:29 Tracking process launch...
    08/11/06 08:54:14 Received exitCode 3 from emctl istatus
    08/11/06 08:54:14 dbconsole started
    08/11/06 11:37:30 Recieved ServCtrlHdlr command, 5
    08/11/06 11:37:30 Stopping dbconsole
    08/11/06 11:37:30 Launching stop EMD process...
    08/11/06 11:37:30 Waiting for stop EMD process to exit. numRetries=74
    08/11/06 11:37:34 Stop process has exited with exitCode: 0
    08/11/06 11:37:34 Waiting for emwd process to exit. numRetries=74
    08/11/06 11:37:34 Watchdog process exited with exit code 15
    08/11/06 11:37:34 Signal Shutdown event.
    08/11/06 11:37:34 Shutdown thread exited.
    08/11/06 11:37:34 ServiceMain wake up by ShutdownProc, emwd has exited. ServiceMain exits
    -------------- [OracleDBConsoleSDB] ------------
    EMDROOT=E:\oracle\product\10.2.0\db_1
    ORACLE_HOME=E:\oracle\product\10.2.0\db_1
    EMDSTATE=E:\oracle\product\10.2.0\db_1\SAP_solman_SDB
    CONSOLE_CFG=dbconsole
    TRACE_LEVEL=16
    TIMEOUT=15
    08/11/06 11:36:48 Start pending...
    08/11/06 11:36:48 Verifying dbconsole is not started already. Command line "E:\oracle\product\10.2.0\db_1\bin\emctl.bat" istatus dbconsole
    08/11/06 11:36:56 dbconsole launch commandline is "E:\oracle\product\10.2.0\db_1\bin\emctl.bat" istart dbconsole
    08/11/06 11:36:56 Tracking process launch...
    08/11/06 11:37:41 Received exitCode 3 from emctl istatus
    08/11/06 11:37:41 dbconsole started
    08/15/06 09:31:52 Recieved ServCtrlHdlr command, 5
    08/15/06 09:31:52 Stopping dbconsole
    08/15/06 09:31:52 Launching stop EMD process...
    08/15/06 09:31:52 Waiting for stop EMD process to exit. numRetries=74
    08/15/06 09:31:56 Stop process has exited with exitCode: 0
    08/15/06 09:31:56 Waiting for emwd process to exit. numRetries=74
    08/15/06 09:31:56 Watchdog process exited with exit code 15
    08/15/06 09:31:56 Signal Shutdown event.
    08/15/06 09:31:56 Shutdown thread exited.
    08/15/06 09:31:56 ServiceMain wake up by ShutdownProc, emwd has exited. ServiceMain exits
    -------------- [OracleDBConsoleSDB] ------------
    EMDROOT=E:\oracle\product\10.2.0\db_1
    ORACLE_HOME=E:\oracle\product\10.2.0\db_1
    EMDSTATE=E:\oracle\product\10.2.0\db_1\SAP_solman_SDB
    CONSOLE_CFG=dbconsole
    TRACE_LEVEL=16
    TIMEOUT=15
    08/15/06 09:31:06 Start pending...
    08/15/06 09:31:06 Verifying dbconsole is not started already. Command line "E:\oracle\product\10.2.0\db_1\bin\emctl.bat" istatus dbconsole
    08/15/06 09:31:14 dbconsole launch commandline is "E:\oracle\product\10.2.0\db_1\bin\emctl.bat" istart dbconsole
    08/15/06 09:31:14 Tracking process launch...
    08/15/06 09:31:49 Did not hear back from emctl istatus.
    08/15/06 09:31:49 Waiting a further 5 secs...
    08/15/06 09:31:51 Received exitCode 3 from emctl istatus
    08/15/06 09:31:51 dbconsole started
    08/15/06 15:15:31 Recieved ServCtrlHdlr command, 5
    08/15/06 15:15:31 Stopping dbconsole
    08/15/06 15:15:31 Launching stop EMD process...
    08/15/06 15:15:31 Waiting for stop EMD process to exit. numRetries=74
    08/15/06 15:15:34 Stop process has exited with exitCode: 0
    08/15/06 15:15:34 Waiting for emwd process to exit. numRetries=74
    08/15/06 15:15:34 Watchdog process exited with exit code 15
    08/15/06 15:15:34 Signal Shutdown event.
    08/15/06 15:15:34 Shutdown thread exited.
    08/15/06 15:15:34 ServiceMain wake up by ShutdownProc, emwd has exited. ServiceMain exits
    -------------- [OracleDBConsoleSDB] ------------
    EMDROOT=E:\oracle\product\10.2.0\db_1
    ORACLE_HOME=E:\oracle\product\10.2.0\db_1
    EMDSTATE=E:\oracle\product\10.2.0\db_1\SAP_solman_SDB
    CONSOLE_CFG=dbconsole
    TRACE_LEVEL=16
    TIMEOUT=15
    08/15/06 15:14:46 Start pending...
    08/15/06 15:14:46 Verifying dbconsole is not started already. Command line "E:\oracle\product\10.2.0\db_1\bin\emctl.bat" istatus dbconsole
    08/15/06 15:14:54 dbconsole launch commandline is "E:\oracle\product\10.2.0\db_1\bin\emctl.bat" istart dbconsole
    08/15/06 15:14:54 Tracking process launch...
    08/15/06 15:15:29 Did not hear back from emctl istatus.
    08/15/06 15:15:29 Waiting a further 5 secs...
    08/15/06 15:15:32 Received exitCode 3 from emctl istatus
    08/15/06 15:15:32 dbconsole started
    Command prompt for emctls status
    =========================
    E:\oracle\product\10.2.0\db_1\BIN>emctl status
    Environment variable ORACLE_SID not defined. Please define it.
    emd.properties
    ===========
    # perl executable directory
    perlBin=E:\oracle\product\10.2.0\db_1\perl\5.8.3\bin\MSWin32-x86-multi-thread
    # script directory
    scriptsDir=E:\oracle\product\10.2.0\db_1/sysman/admin/scripts
    # emd Root directory(read-only location). Metrics should not create files
    # under this directory
    emdRoot=E:\oracle\product\10.2.0\db_1
    # agent Root directory(writeable).
    # Use this property to base any temporary file creation.
    agentStateDir=E:/oracle/product/10.2.0/db_1/SAP_solman_SDB
    # Chronos root directory
    chronosRoot=E:/oracle/product/10.2.0/db_1/SAP_solman_SDB/sysman/emd/chronos
    # OMS Upload URL
    # if there is no receiving OMS or if you wish to disable the UploadManager
    # please set this value to empty or comment out below line
    REPOSITORY_URL=http://SAP_solman:5500/em/upload/
    # Proxy settings used for fetchlets. not applicable for uploader.
    #proxyHost=www-proxy.us.oracle.com
    #proxyPort=80
    #dontProxyFor=.us.oracle.com
    # If it is necessary to go through an http proxy server to get to the
    # repository, uncomment the following two lines
    #REPOSITORY_PROXYHOST=
    #REPOSITORY_PROXYPORT=
    #REPOSITORY_PROXYREALM=%EM_REPOS_PROXYREALM%
    #REPOSITORY_PROXYUSER=%EM_REPOS_PROXYUSER%
    #REPOSITORY_PROXYPWD=%EM_REPOS_PROXYPWD%
    # This string is used by the agent to connect to remote targets
    # ***IMPORTANT*** Do not change the contents of this setting. Only the
    # install should modify this value.
    agentSeed=1329576760
    # This string is used by the agent to determine which algorithm to use for encrypted data
    # The string value will be same as the release version
    agentVersion=10.1.0.4.0
    # How long, in minutes, collector will wait until next load.
    UploadInterval=5
    # If an upload fails, we want to backoff by UploadFailBackoff
    # percentage more each time for each successive upload failure
    # e.g. if we start the retry at 1 minute. If we fail in our next
    # upload attempt, we try again 1minute 12 seconds later etc.
    UploadFailBackoffPct= 20
    # Maximum amount of time, in seconds, upload will wait for response from
    # repository before timing out.
    # 0 means infinite.
    UploadTimeout=1800
    # Timeout for upload a file, HealthMonitor will abort the EMD process if
    # UploadManager does not finish uploading one file within this time
    # Unit is minite, the default value is 1 hour ( 15 Min)
    #UploadMaxTime=15
    # How big the file the collector will upload (in KB)
    # the actual file size could be slightly bigger.
    # This is only a guidance.
    UploadFileSize=2048
    # The maximum number of megabytes(MB) the upload manager will support in the
    # upload directory before temporarily being disabled
    UploadMaxBytesXML=50
    # The maximum number of files the upload manager will support in the
    # upload directory before temporarily being disabled
    UploadMaxNumberXML=5000
    # The maximum amount (%) of disk space that can be used on the EMD filesystem
    # before the following is disabled:
    # - Collection of data (upload manager)
    # - Logging and tracing
    UploadMaxDiskUsedPct=98
    # The amount (%) of disk space that can be used on the EMD filesystem
    # before the following is re-enabled after being disabled previously:
    # - Collection of data (upload manager)
    # - Logging and tracing
    UploadMaxDiskUsedPctFloor=95
    # Time out for the Agent to think that the access to the database could be
    # hung. The Agent would not allow more threads to go and hang with a database
    # if any one access to the database does not return within DbHangTimeout
    # seconds.
    # The more the timeout more the possibility of allowing more threads
    # to be hung in the EMD with a bad database.it is specified in seconds.
    #DbHangTimeout=200
    # The script to run if disk space usage exceeds parameters or if certain other
    # error conditions occur.
    #emdFailureScript=emdfail.command
    # The location of the file that contains the root certificate.
    emdRootCertLoc=E:/oracle/product/10.2.0/db_1/SAP_solman_SDB/sysman/config/b64LocalCertificate.txt
    internetCertLoc=E:/oracle/product/10.2.0/db_1/SAP_solman_SDB/sysman/config/b64InternetCertificate.txt
    # The download URL for the EMD Oracle Wallet and its local file location.
    # Note: Ensure that this URL references a valid port number at which the
    # console is available on http
    emdWalletSrcUrl=http://SAP_solman:5500/em/wallets/emd
    emdWalletDest=E:/oracle/product/10.2.0/db_1/SAP_solman_SDB/sysman/config/server
    # The email address for out-of-band notifications
    emd_email_address=
    emd_email_gateway=
    # The return email address for out-of-band notifications
    emd_from_email_address=
    # EMD main servlet URL
    EMD_URL=http://SAP_solman:3938/emd/main
    # Whether the EMD should listen on all NICs on the current host (the default)
    # or just the NIC associated with the hostname in EMD_URL
    AgentListenOnAllNICs=TRUE
    # This parameter indicates the thread model to use. uncomment one of the
    # following ThreadPoolModel line to indicate the model, agent need to use.
    # SMALL if number of targets is less than 11.
    # MEDIUM if number of targets is from 11 to 50.
    # LARGE if number of targets is greater than 50.
    # This parameter can be overriden by 'MaxThreads' which indicates the maximum
    # number of threads that CEMD can have running at any point of time. User can
    # mostly use the other parameter ThreadPoolModel to indicate what model for the
    # agent to use.
    # ThreadPoolModel = SMALL
    # ThreadPoolModel = MEDIUM
    # ThreadPoolModel = LARGE
    # This parameter indicates the stack size, threads have to be created with.
    # we can set it to 0 to use the OS default value.
    # In some version of solaris(such as 2.9 ) specify a stack size may cause Java Hotspot warning
    # when JVM is used.
    NormalThreadStackSize=0
    #Signals that users want to ignore.
    #It can be one or combination of SIGTERM, SIGINT
    # The signals can listed with ',' as delimiter.
    #IgnoreSignals=
    # This property is NO LONGER USED for host config collection (instead, hostConfigClasspath is used).
    # If noone else uses it, it can be removed.
    ouiLoc=E:\oracle\product\10.2.0\db_1/oui
    # Classpath for host config collection
    # VERY IMPORTANT NOTE: If you change the host config classpath entries in this section, you HAVE
    # to change the HOST_CONFIG_TEST_CLASSPATH entry in the utl/emdwqaenv file too.
    # NOTE: if the location of emd_java.jar and/or log4j-core.jar is changed
    # make sure that appropriate changes are also made
    # to the CLASSPATH variable in this file if necessary
    # PORTING NOTE: Check OUI-required jar files for OUI APIs to work. They could be different on your platform.
    # Also, our version of xmlparserv2.jar must be compatible with the one OUI expects (both OUI and ECM use XML parser).
    hostConfigClasspath=E:\oracle\product\10.2.0\db_1/oui/jlib/xmlparserv2.jar;E:\oracle\product\10.2.0\db_1/oui/jlib/OraInstaller.jar;E:\oracle\product\10.2.0\db_1/oui/jlib/srvm.jar;E:\oracle\product\10.2.0\db_1/oui/jlib/share.jar;E:\oracle\product\10.2.0\db_1/sysman/jlib/emd_java.jar;E:\oracle\product\10.2.0\db_1/sysman/jlib/log4j-core.jar
    # JAVA HOME required for JavaExt metric calls
    JAVA_HOME=E:\oracle\product\10.2.0\db_1/jdk/jre
    # CLASSPATH required for JavaExt metric calls
    CLASSPATH=E:\oracle\product\10.2.0\db_1/sysman/jlib/emd_java.jar;E:\oracle\product\10.2.0\db_1/opmn/lib/ons.jar;E:\oracle\product\10.2.0\db_1/lib/xmlparserv2.jar;E:\oracle\product\10.2.0\db_1/sysman/jlib/log4j-core.jar;E:\oracle\product\10.2.0\db_1/oc4j/j2ee/home/lib/http_client.jar;E:\oracle\product\10.2.0\db_1/lib/dms.jar;E:\oracle\product\10.2.0\db_1/lib/dmsEmd.jar;E:\oracle\product\10.2.0\db_1/jlib/share.jar;E:\oracle\product\10.2.0\db_1/jdbc/lib/ojdbc14dms.jar;E:\oracle\product\10.2.0\db_1/jlib/jssl-1_1.jar;E:\oracle\product\10.2.0\db_1/jlib/javax-ssl-1_1.jar;E:\oracle\product\10.2.0\db_1/jlib/ojmisc.jar;E:\oracle\product\10.2.0\db_1/lib/em_test.jar;E:\oracle\product\10.2.0\db_1/jlib/ojmisc.jar;E:\oracle\product\10.2.0\db_1/jlib/repository.jar;E:\oracle\product\10.2.0\db_1/opmn/lib/optic.jar
    # this is the java option
    #JAVA_OPTIONS=-Xmx128m
    # These are the optional Java flags for the in-process Java
    # Native Interface (JNI)
    agentJavaDefines=-Doracle.dms.refresh.wait.time=1000 -DUrlTiming.UseJSSE=true
    # When set to true, the emd.log and emd.trc file will be appended by a pid
    # For example:
    # emd_15789.log
    # emd_15789.trc
    # By default, it is not set for regression test purpose.
    # After installed, please uncomment this line because when EMD is restarted,
    # previous log information will be lost if not set to true.
    #LogFileWithPID=true
    # Default log file maximum size before rolling in Kilobytes
    LogFileMaxSize=4096
    # Maximum number of log file roll files to maintain before deletion
    LogFileMaxRolls=4
    # Default trace file maximum size before rolling in Kilobytes
    TrcFileMaxSize=4096
    # Maximum number of trace file roll files to maintain before deletion
    TrcFileMaxRolls=4
    # To enable the metric browser, uncomment the following line
    # This is a reloadable parameter
    #enableMetricBrowser=true
    # To disable Remote operations (non-reachable agent) uncomment the following
    # line:
    #disableRemoteOperations=true
    # add an additional admin path from which the agent will read additional
    # target metadata. The specified path should have the mandatory 4 directories
    # under it. 1. metadata 2. scripts 3. default_collection 4. discover
    #altAdminPath=<additional admin path>
    # The health monitor executes callbacks in a separate thread. if for some
    # reason the threads spawned from health monitor to execute callbacks are
    # hung, the agent could run out of resource and freeze.
    # so when the current thread count spawned from the Health monitor reaches
    # this limit, the agent is bounced. the default is set to 5.
    #MaxHealthMonitorThreads=5
    # dynamicPropsComputeTimeout default to 30s
    dynamicPropsComputeTimeout=60
    # emagent perl tracing levels
    # supported levels: DEBUG, INFO, WARN, ERROR
    # default level is ERROR
    EMAGENT_PERL_TRACE_LEVEL=ERROR
    # other optional parameters for perl tracing
    # EMAGENT_PERL_TRACE_DIR default to $ORACLE_HOME/sysman/log
    #EMAGENT_PERL_TRACE_DIR=
    # EMAGENT_PERL_TRACE_FILESIZE default to 5M
    #EMAGENT_PERL_TRACE_FILESIZE=5
    # this section define the logging level for each component,
    # it is "reloadable", you can change the level at runtime to reset
    # the logging level, but if you remove the line, it will not be
    # changed.
    tracelevel.main=WARN
    tracelevel.emSDK.xml=WARN
    tracelevel.emSDK.utl=WARN
    tracelevel.ResMonitor=WARN
    tracelevel.Dispatcher=WARN
    tracelevel.ThreadPool=WARN
    tracelevel.pingManager=WARN
    tracelevel.collector=WARN
    tracelevel.http=WARN
    tracelevel.ssl=WARN
    tracelevel.ssl.io=WARN
    tracelevel.blackouts=WARN
    tracelevel.upload=WARN
    tracelevel.command=WARN
    tracelevel.reload=WARN
    tracelevel.scheduler=WARN
    tracelevel.Authentication=WARN
    tracelevel.metadata=WARN
    tracelevel.targets=WARN
    tracelevel.TargetManager=WARN
    tracelevel.engine=WARN
    tracelevel.javaproc=WARN
    tracelevel.vpxoci=WARN
    tracelevel.javavm=WARN
    tracelevel.fetchlets=WARN
    tracelevel.fetchlets.os=WARN
    tracelevel.fetchlets.osline=WARN
    tracelevel.fetchlets.oslinetok=WARN
    tracelevel.fetchlets.UDM=WARN
    tracelevel.fetchlets.sql=WARN
    tracelevel.fetchlets.url=WARN
    tracelevel.fetchlets.urllines=WARN
    tracelevel.fetchlets.urllinetoken=WARN
    tracelevel.fetchlets.URLTiming=WARN
    tracelevel.fetchlets.propEcho=WARN
    tracelevel.fetchlets.readFromFile=WARN
    tracelevel.fetchlets.readMultFromFile=WARN
    tracelevel.fetchlets.throwable=WARN
    tracelevel.fetchlets.resourceGrab=WARN
    tracelevel.fetchlets.emSDK=WARN
    # The following three properties are for HTTP timeout
    # Timeout value for reading Http primary header, default is 30 seconds.
    httpTimeoutPrimaryHeader=30
    # Timeout value for reading http secondary headers, default is 30 seconds
    httpTimeoutSecondaryHeaders=30
    # Timeout value for reading http body, default is 60 seconds.
    httpTimeoutBody=60
    omsRecvDir=E:\oracle\product\10.2.0\db_1\SAP_solman_SDB\sysman\recv
    agentTZRegion=+08:00
    And i would like to know how to set up the environment variable for Oracle_HOME and ORACLE_SID.
    Please kindly assist me on this.

    Looking at the error message "The Network Adapter could not establish the connection" , It appears hostname and port may be incorrect. Review the targets.xml under E:\oracle\product\10.2.0\db_1\SAP_solman_SDB\emd and
    emoms.properties under E:\oracle\product\10.2.0\db_1\SAP_solman_SDB\config folder to make sure host ( sap_solman) and port (1527) are correct.
    As far as setting the environment variables goes, you can go to control panel -> system -> advanced -> environment variables and set the ORACLE_HOME and ORACLE_SID
    -Ramesh

  • Urgent: can not startup the database in unix server

    hi...i am facing a treamendous problem...
    to shutdown the database(unix environmment), I have connected through putty and from there in the sysdba login, I have given the command "SHUTDOWN IMMEDIATE"
    but after that suddenly the power failure occurred and my local machine from which i was accessing the unix server, got shutdown..
    after the restart, when I am again accessing the putty and connected to the oracle11g server and from sysdba login, given the "STARTUP OPEN" command, then it is showing the error...
    SQL> startup open
    ORA-10997: another startup/shutdown operation of this instance inprogress
    ORA-09968: unable to lock file
    Linux-x86_64 Error: 11: Resource temporarily unavailable
    Additional information: 29770
    please help...its very urgent..

    My advice is, as your request is 'urgent', you submit a Service Request at level 1 at My Oracle Support.
    This is a discussion forum and not a support forum, and it is manned by volunteers, not by Oracle Support Engineers.
    Thank you for your current and future cooperation not to submit 'Urgent' requests in a forum of volunteers.
    Sybrand Bakker
    Senior Oracle DBA

  • How to set the database in NOARCHIVELOG mode

    hellow world,
    I knewly joined this organization.
    Our database is very small < 4GB data.
    Database is running in ARCHIVELOG MODE.
    since we are not keeping any physical backup, so I opted to run the datbase in NOARCHIVELOG mode.
    For bringing the database in NOARCHIVE MODE, I simply changed the init.ora parameter LOG_ARCHIVE_START = FALSE and restart the database.
    offcourse the archiving stopped, but to my strange after 30 to 40 minutes my all log files filled an error message is being displayed to the server, saying
    log files are filled, waiting for the archiving, Oh my God, What has happened, All users came to my head, DATABASE HANGED, NOT RESPONSING.
    SIR, MY QUESTION IS
    WHAT FOR ALL LOG FILES WAITING?
    when i am saying NOARCHIEVE than
    please explain me, where i committed mistake. I am new to ADMINISTRATION.

    1. Not keeping any physical backup is all the more reason to stay in archivelog mode.
    2. You need to shutdown the database, startup mount, and issue 'alter database noarchivelog', the alter database open.

  • Unable to restart the database

    Hi,
    I just shutdown the database and it seems to take a while, don't know if it's stuck or just takes awhile. I try to restart it in another session and get this error:
    'ORA-01012: not logged on'
    Should I wait awhile or is there a solution? Thank you.
    1) Shutdown
    SQL> connect sys/Welcome1 as sysdba
    Connected.
    SQL> shutdown normal
    2)
    So I try to restart it as sysdba on another session and get this error
    Connected to an idle instance.
    SQL> startup
    ORA-01012: not logged on

    Osama-mustafa wrote:
    First which Os you are using
    Try the following :
    sqlplus / as sysdba
    shutdown abort ;
    startup ;
    if the above not working Kill oracle process or Shut down database server (shutdown service before do that)We've seen no need for a shutdown abort. The oP was doing a normal shutdown, which was already pointed out, and will wait until connections voluntarily disconnect. Which will probably never happen. The previously suggested SHUTDOWN IMMEDIATE is the better solution until a problem with that is demonstrated.

  • (urgent) Can't Start the database

    Hi,
    can anybody help me ?
    i shutdown the database on Sun solaris from telnet. On the middle the internet connection wa down. And when i connect again and try to start the database there is a error
    ORA-27146: post/wait initialization failed
    i try to startup nomount and the message still come.
    Anybody ever get this problem ?
    please help me, because my company data was there.
    Thanks

    Once we have a problem after shutdown we are unable to startup the database on Sequent Numaq os Dynix/ptx 4.4
    After shutdown the file sgadefSID.dbf should not be there in ORACLE_HOME\dbs directory.
    But in our case this file was still there after shutdown we deleted this file and then using IPCRM command we deleted the process owned by oracle user .
    to delete it need identifier number it can be find out by ipcs command.
    null

  • How Do I Duplicate a NOARCHIVELOG to another server and change the database

    I have two servers each with a different copy of the same database.. we'll call the database POPEYE
    server A has a STAGE version of POPEYE that is in NOARCHIVELOG mode
    server B has the PRODUCTION version of POPEYE
    I need to get the database on server A and copy it to run next to the existing database on server B.
    since they have the same name, i need to change the name to POPEYESTAGE when I move it over.
    both running Windows Server 2008. both running Oracle 10g.
    I tried shutting down the database on server A, copying over the files with a new PFile and ran the CREATE CONTROLFILE script into the trace and took out all the junk, but I cannot connect to execute it.
    I copied all the files over and when I try to commect as sysdba using sqlplus i get TNS:could not resolve the connect identifier specified.
    i tried adding it to the listener and TNS names files, but it didnt work.
    I'm trying RMAN now with some difficulty.
    I am brand new to Oracle administration, this is my first administrative assignment. Please advise

    sb92075 wrote:
    876137 wrote:
    I have two servers each with a different copy of the same database.. we'll call the database POPEYE
    server A has a STAGE version of POPEYE that is in NOARCHIVELOG mode
    server B has the PRODUCTION version of POPEYE
    I need to get the database on server A and copy it to run next to the existing database on server B.
    since they have the same name, i need to change the name to POPEYESTAGE when I move it over.Will the directory names change?Yes.
    >>
    >>
    both running Windows Server 2008. both running Oracle 10g.
    I tried shutting down the database on server A, copying over the files with a new PFile and ran the CREATE CONTROLFILE script into the trace and took out all the junk, but I cannot connect to execute itWhile above is likely true, it is 100% devoid of any useful information or details.
    In the future, ALWAYS use COPY & PASTE so we can see what you do & how Oracle actually responds.There's nothing to copy paste, I clicked with my mouse and dragged to copy the files.
    I obtained a CREATE CONTROLFILE script the standard way -- ALTER DATABASE BACKUP CONTROLFILE TO TRACE.
    so here I stand with the script in hand. BUT, I cannot connect to the database to execute it, because I get the error I stated "TNS:could not resolve the connect identifier specified."
    I copied all the files over and when I try to commect as sysdba using sqlplus i get TNS:could not resolve the connect identifier specified.CURIOUS, since connecting to local DB does not require SQL*Net.I do not know what SQL*Net is. I did not use SQL*Net. I am in the DOS style commandline prompt using sqlplus.exe
    i tried adding it to the listener and TNS names files, but it didnt work.My car didn't work.
    Tell me how to make my car go .
    Is COPY & PASTE broken for you?I used it above, but here it is again.. actually got a different error message this time:
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    I'm trying RMAN now with some difficulty.I bet you did not bother to Read The Fine Manual.I took a course a week ago. I am reading the manual and following the instructions. Duplicating databases is not very clearly documented.
    Plus it's a test database that the users turned into a production database, so it is in noarchivelog mode, so earlier I was not able to shutdown the database so RMAN could not back it up.
    The situation I am dealing with with fairly obscure.
    >>
    I am brand new to Oracle administration, this is my first administrative assignment. Please advisepush back from the keyboard & RTFM the URL below
    http://download.oracle.com/docs/cd/E11882_01/server.112/e10897/toc.htm
    already in-process, what I need at the moment is assistance with a specific task.
    Now if you have already memorized that manual, how about being somewhat useful and explaining to me how to duplicate a noarchivelog database into a production server that already has a database with the same name running.

  • How to recovery the database from a complete backup

    I have a 10.2.0.3 database with archive log enabled.
    I do a cold backup of database every Sunday night.
    I shutdown the database, copy all the database files, control files and redo logs to a backup disk.
    Then the database started and running again.
    I am trying to test my backup and make sure I can recovery the database to the most current stage using the Sunday backup and the archive logs.
    for example: use the backup from 4/01/2012, recover the database to today 4/04/2012 9:00am.
    What's the steps of doing this?
    I tried to copy all the Sunday backup files to the correct location, start the database, the database is started successfully. However, I don't know how to apply the logs from since the Sunday backup upto now.
    Thanks a lot!

    hi,
    rman is your friend to do backups, restores and recovers of database.
    to do a full recover of database, for example to do a test on your current test database (no in crash):
    rman time:
    startup nomount;
    restore controlfile;
    alter database mount;
    sql now
    select archivelog_change#-1 from v$database;
    then go back to rman and do the following :
    RMAN> run{
    2> set until scn xxxxxx;
    3> restore database;
    4> recover database;
    5> alter database open resetlogs;
    6> }
    **where xxxxx is the result of your sql query
    HTH
    --edit:
    forgot to told that You will need to set your ORACLE_HOME and ORACLE_SID env variables
    Edited by: Me_101 on 04-abr-2012 8:41

  • Shutdown Oracle Database in MSCS Environment

    Dear All,
    We are facing problem regarding shutdown the oracle database in Cluster Environment. We have installed SAP HA on windows 2003 server and backend database is Oracle.
    In order to configure the dataguard we have to create the control file from Primary Database for this purpose we have to shutdown and then startup the database in mount state.
    But whenever i shutdown the database from SQL prompt by "shutdown immediate" command and see the status of
    database it always remains in open state.
    I have tried the following options as well but no success:-
    Stop all the instances of SAP and then shutdown the database.
    Shutdown the second node and then shutdown the database.
    Brought offline the ORACLE<SID> group and then shutdown the database.
    Kind Regards

    Hi,
    ORA-12560: TNS:protocol adapter error"
    The above error message comes if Oracle Listener service is not running. Start Oracle TNS Listener service, if it is not running.
    You can create control file while your Primary Database is ONLINE. Use the below mentioned command to create standby control file and use it for recovery at Standby database.
    ALTER DATABASE CREATE STANDBY CONTROLFILE AS '/path/to/controlfile.ctl';
    If you want to Start/Stop SAP/ORACLE in MCSC environment then refer the steps mentioned in these threads, [thread1|Re: how to start/stop a  MSCS clustered SAP system?; and [thread2|Stop sap and oracle on MSCS;.
    Regards,
    Bhavik G. Shroff

  • How to trace which user shutdown oracle database in unix OS?

    our organization is having 10 DBA with sysdba priviladge. We are using UNIX operating system. At morning say for example if some one (SYSDBA user) shutdown the oracle database how other sysdba user trace the user who shutdown the database? the information i need is terminal from where oracle got shutdown and the username? Please help...

    Hello,
    You are right Sybrand, SYSDBA connections are always audited.
    My answer was about enabling auditing to any connections, which may give informations about who access to the Database in general. And, this is true, it was not the scope of the OP question.
    However, so as to enlarge audit of SYS/SYSDBA/SYSOPER operations, setting the parameter audit_sys_operations=TRUE may be interesting:
    http://download.oracle.com/docs/cd/E11882_01/network.112/e16543/auditing.htm#DBSEG0611
    To the OP:
    Where the audit tracefile get genareted for sys user?You may execute this:
    show parameter audit_file_destThank again Sybrand for correcting me.
    Best regards,
    Jean-Valentin

Maybe you are looking for

  • 9.2.0.6 or 9.2.0.7 client

    does anyone know where I can download the patchsets for either of these products. I tried metalink and technet and I cannot find either ..

  • Motion 4.0.0 quits when I try to save or export?

    I am running with Processor:  3.06 GHz Intel Core 2 Duo,  Memory: 4 GB 1067 MHz DDR3, Final Cut Studio 2.  1TB Harddrive. (Only 263GB left) So recently I upgraded to 10.6.7  and now I've noticed that when I open up Motion 4.0.0  I can create a new pr

  • X200 Video Adapter Issues

    Hi, I have a Thinkpad x200 (7459) Laptop from work. Lately i've been having video issues which are hard to explain, so here's a screenshot: Link to image This issue started about 2 weeks ago. At first I thought it was because I use Win8 Beta version

  • Verizon Wireless Store's in disguise - DECEITFUL

    Be warned that just because you walk into a store that says clearly VERIZON WIRELESS across the top of it, they may not be an actual Verizon store but merely a sub-store.  This is (and I quote and actual Verizon Wireless employee @ 330 Suemandy Drive

  • Enabled MenuID

    Hai to All I Have Customize the Sales Enquiry Screen. I have Add the Matrix in Sales Enquiry Screen. How to Give the Delete Row option ( Menu )  that particular Matrix... other wise How to enable the DeleteRow Menu?? Thanks & Regards Madhu