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.

Similar Messages

  • Error while applying a patch "Unable to get the database connection"

    Dear Experts,
    A patch which got successfully applied is failing Production and the error is kind of surprising to me.
    Apps version is 11.5.10.2
    db version is 10.2.0.4
    The worker log file shows
    Time when worker restarted job: Thu Nov 24 2011 22:14:52
    Start time for file is: Thu Nov 24 2011 22:14:52
    adjava -ms128m -mx256m -nojit oracle.apps.fnd.odf2.FndXdfCmp &un_apps &pw_apps &un_apps &pw_apps &jdbc_protocol &jdbc_db_addr table &fullpath_pa_patch/115
    Reading product information from file...
    Reading language and territory information from file...
    Reading language information from applUS.txt ...
      Temporarily resetting CLASSPATH to:
      "/erp/oracle/prodappl/ad/11.5.0/java/adjri.zip:/usr/java14/jre/lib/charsets.jar:/usr/java14/jre/lib/core.jar:/usr/java14/jre/lib/graphics.jar:/usr/java1
      Calling /usr/java14/bin/java ...
    Exception occured
                  Copyright (c) 2003 Oracle Corporation
                     Redwood Shores, California, USA
             XDF(XML Object Description File) Comparison Utility
                            Version 1
    NOTE: You may not use this utility for custom development
          unless you have written permission from Oracle Corporation.
    Unable to get the database connection using schema username/passwordIo exception: The Network Adapter could not establish the connection
    AD Run Java Command is complete.
                         Copyright (c) 2002 Oracle Corporation
                            Redwood Shores, California, USA
                                        AD Java
                                     Version 11.5.0
    NOTE: You may not use this utility for custom development
          unless you have written permission from Oracle Corporation.
    AD Worker error:
    The above program failed.  See the error messages listed
    above, if any, or see the log and output files for the program.
    Time when worker failed: Thu Nov 24 2011 22:14:53
    {code}
    The error says database connection error.  I am able to connect to the database using sqlplus.  I tried to restart the failed worker, but the same error is repeating. 
    Any help would be appreciated.
    Thanks
    qARS
    Edited by: user7640966 on Nov 24, 2011 9:07 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hussein,
    One thing which I noticed now is in the apps Tier the
    tnsnames.ora under $TNS_ADMIN
    shows entry like this:
    PROD=
            (DESCRIPTION=
                    (ADDRESS=(PROTOCOL=tcp)(HOST=<appsServerName>)(PORT=1521))
                    (ADDRESS=(PROTOCOL=tcp)(HOST=<dbServer>)(PORT=1521))
                (CONNECT_DATA=
                    (SID=PROD)
            )Actually *(ADDRESS=(PROTOCOL=tcp)(HOST=<appsIPaddress>)(PORT=1521))* this line in the tnsnames.ora is not correct. In fact the appsServerName should be replaced with dbServerName
    I deleted the tnsnames.ora and reran autoconfig but it is again recreating the same entry.
    Any clue how this can be fixed?
    Thanks
    qARS

  • Unable to restart the Microsoft Software Protection Platform service from command line - Win81 MS Office 2013 SP1

    I'm unable to restart the Microsoft Software Protection Platform service on a Windows 8.1 laptop for MS Office 2013 SP1 (32-bit) using the following command:
    cscript ospp.vbs /osppsvcrestart (issued from C:\Program Files (x86)\Microsoft Office\Office15)
    When this is run, a window appears with the title ospp.vbs and the text "Error: The Software Protection Platform service is not installed"
    I verified that the service is installed in services.msc, and was able to manually stop and restart the SPP service in the Services console without issue.
    The command runs correctly when restarting the MS Office 2013 SPP on Windows 7 devices.
    Has anyone else seen this or have a solution for it?
    The reason that I am attempting to restart the service from the command line is because this command is part of a script to change the KMS server IP Address used by OSPP prior to software activation.
    The only other options that I have at this time is to ask the users to reboot, or manually force a reboot.  This is both time consuming and disruptive to the users.
    The Fix It tool to remove MS Office 2013 was run, and the MS Office 2013 software was successfully reinstalled after a reboot.  The software was successfully activated.  When the command was run, it produced the same exact error.

    Hi,
    I am able to reproduce this on my own machine, but in my case, I don't see the specific service running in the Services console. 
    I would like first confirm that whether you've the right service running on your Windows 8.1 system. The display name of this service should be "Office Software Protection Platform", service name is "osppsvc".
    You can also check this by going to below path where you should see the executable file (OSPPSVC.EXE) if the service is installed on your system (in my case, the folder is empty):
    C:\Program Files\Common Files\Microsoft Shared\OfficeSoftwareProtectionPlatform
    Regards,
    Ethan Hua
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Unable to reseed the database

    Unable to reseed the database .... test-replicationhealt is ok for both node . the problem is that content index is failed on both node .
    VERBOSE: [07:18:55.867 GMT] Update-MailboxDatabaseCopy : Active Directory session settings for
    'Update-MailboxDatabaseCopy' are: View Entire Forest: 'False', Default Scope: 'XXXXX.com', Configuration Domain
    Controller: 'XXXXX.com', Preferred Global Catalog: 'XXXXX.com', Preferred Domain Controllers:
     '{ XXXX.com, XXXXX.com }'
    VERBOSE: [07:18:55.883 GMT] Update-MailboxDatabaseCopy : Runspace context: Executing user:
    VERBOSE: [07:18:55.883 GMT] Update-MailboxDatabaseCopy : Beginning processing &
    VERBOSE: [07:18:55.914 GMT] Update-MailboxDatabaseCopy : Instantiating handler with index 0 for cmdlet extension agent
    "Admin Audit Log Agent".
    VERBOSE: [07:18:55.930 GMT] Update-MailboxDatabaseCopy : Current ScopeSet is: { Recipient Read Scope: {{, }}, Recipient
     Write Scopes: {{, }}, Configuration Read Scope: {{, }}, Configuration Write Scope(s): {{, }, }, Exclusive Recipient
    Scope(s): {}, Exclusive Configuration Scope(s): {} }
    VERBOSE: [07:18:55.930 GMT] Update-MailboxDatabaseCopy : Searching objects "Mailbox_DB01\Server01" of type
    "DatabaseCopy" under the root "$null".
    VERBOSE: [07:18:55.977 GMT] Update-MailboxDatabaseCopy : Previous operation run on domain controller
    'WDCDSBO2.ds.micron.com'.
    VERBOSE: [07:18:55.977 GMT] Update-MailboxDatabaseCopy : Processing object "XXXXXXX".
    VERBOSE: [07:18:56.008 GMT] Update-MailboxDatabaseCopy : Admin Audit Log: Entered Handler:Validate.
    VERBOSE: [07:18:56.008 GMT] Update-MailboxDatabaseCopy : Admin Audit Log: Entered ClassFactory:InitializeConfig.
    VERBOSE: [07:18:56.008 GMT] Update-MailboxDatabaseCopy : Admin Audit Log: Exited ClassFactory:InitializeConfig.
    VERBOSE: [07:18:56.023 GMT] Update-MailboxDatabaseCopy : Admin Audit Log: Exited Handler:Validate.
    VERBOSE: Updating database copy Server1 on server Server1.
    VERBOSE: [07:18:56.023 GMT] Update-MailboxDatabaseCopy : Resolved current organization: .
    VERBOSE: [07:18:56.039 GMT] Update-MailboxDatabaseCopy : Update-DatabaseCopy is requesting the Microsoft Exchange
    Replication service on server 'Server1' to begin seeding.
    VERBOSE: [07:19:14.353 GMT] Update-MailboxDatabaseCopy : Admin Audit Log: Entered Handler:OnComplete.
    VERBOSE: [07:19:14.385 GMT] Update-MailboxDatabaseCopy : Admin Audit Log: Exited Handler:OnComplete.
    A source-side operation failed. Error An error occurred while performing the seed operation. Error: Communication was t
    erminated by server 'Server2': Data could not be read because the communication channel was closed.. [Da
    tabase: XXXXXXXXX]
        + CategoryInfo          : InvalidOperation: (:) [Update-MailboxDatabaseCopy], SeedInProgressException
        + FullyQualifiedErrorId : DDD603BC,Microsoft.Exchange.Management.SystemConfigurationTasks.UpdateDatabaseCopy

    This is the first step of trouble shooting which i did but no success . as i said both copy catalog index is in failed status
    What I have done
    Create 
    a full catalog index on mounted copy
    Get Index catalog GetSearchIndexForDatabase.ps1 "databaseName"
    Stop the index service and delete the catalog index by using ps1
    .\ResetSearchIndex.ps1 -force "databaseName"
    Start Search Index
    crawling not initiated after this 
    2. Delete the failed copy and re add it again which added successfully but reseed process getting failed with same error .. and event ID 245 Information Store (4492) :  The internal database
    copy (for seeding or analysis purposes) has been stopped because it was halted by the client or because the connection with the client failed.

  • Hi I have an iPhone 4 and suddenly it stopped working. Could here notifications and nothing on the diisplay. Wake up  button on top is not working. so unable to restart the phone. Wanted to try restore from iTunes but Find my iPhone (iCloud) is on.

    Hi I have an iPhone 4 and suddenly it stopped working. Could here notifications and nothing on the diisplay. Wake up  button on top is not working. so unable to restart the phone. Wanted to try restore from iTunes but Find my iPhone (iCloud) is on. How to recover or restart my Phone

    Follow these steps to log into your iCloud account on your computer and deactivate "Find my iPhone" on your device:
    Remove an iOS device or Mac on which you can’t turn off Find My iPhone
    If you can’t turn off Find My iPhone on the device, turn off the device so it goes offline, then remove it from Find My iPhone on iCloud.com.
    Note:    You can also remove your iOS device by first erasing it—just follow the instructions below for removing an iOS device you don’t have. You can later restore the device from an iCloud or iTunes backup.
    Turn off the device you want to remove.
    Sign in to icloud.com/#find on another computer with your Apple ID (the one you use with iCloud). If you’re using another iCloud app, click the app’s name at the top of the iCloud.com window, then click Find My iPhone.
    Click All Devices, select the offline device, then click Remove from Account. If you don’t see Remove from Account, click All Devices again, then click the Delete button next to the device. If the device comes online again, it will reappear in Find My iPhone. If your device reappears, turn off Find My iPhone on the device (follow the instructions above for removing a device by turning off Find My iPhone), or if it’s an iOS device and you no longer have it, follow the instructions below for removing an iOS device you no longer have.
    Remove an iOS device you no longer have
    If you no longer have the iOS device because you gave it away or sold it, you need to remotely erase it before you can remove it.
    Sign in to icloud.com/#find with your Apple ID (the one you use with iCloud). If you’re using another iCloud app, click the app’s name at the top of the iCloud.com window, then click Find My iPhone.
    Click All Devices, then select the device.
    Click Erase [device], then enter your Apple ID password. Because the device isn’t lost, don’t enter a phone number or message.
    Note:    If you’re trying to erase a family member’s device, that person will need to enter his or her Apple ID password on this device. If the device is offline, the remote erase begins the next time it’s online. You’ll receive an email when the device is erased.
    When the device is erased, click Remove from Account.All your content is erased, and someone else can now activate the device.
    copied from: iCloud: Remove your device from Find My iPhone

  • I need to restart the database

    Hi Guys,
    I have migrated my database from oracle 9i to 10gR2 and from 32bit windows to 64bit RHEL4 using full database export and import. Everything works fine. We have got some performance enhancements also.
    But one report generation module which was supposed to complete in 25 minutes takes 1-2 hrs. to complete. Most of the time we need to restart the database to complete the operation. After restarting the database it completes within 15 mintutes.
    What may be cause of such behaviour, any idea? How should I proceed to resolve the issue? The cursor_sharing paramater is 'FORCE' which was same in our 9i setup also.
    Regards,
    Santosh

    Hi,
    >>After restarting the database it completes within 15 mintutes.
    It seems this doesn't make sense. Did you gather statistics for the tables? In addition, take a look at AWR from OEM that contains performance statistics and workload information on the database that is captured every hour and preserved for seven days by default. In this case, historical information is important to diagnose a performance problem that has already happened
    Cheers
    Legatti

  • Unable to restart the messages in SXI_MONITOR?

    Hi,
       Message is in scheduled status and I checked the queue and it is throwing error text as "object is currently locked by the user xyz" then I deleted the entry in the queue. Using SXI_Monitor when I am restarting the particular messages I am unable to restart the message as it is throwing error text "message is currently locked by user xyz" How to unlock this particular message? Any help on this greatly appreciated. Appreciate for your response.
    Thanks,
    Daniel.LA

    Hi Daniel
    Refer the below links
    /people/riyaz.sayyad/blog/2006/12/08/dealing-with-errors-on-the-outbound-side
    /people/riyaz.sayyad/blog/2006/04/27/enhanced-message-monitoring-using-runtime-workbench-and-adapter-monitor
    /people/michal.krawczyk2/blog/2005/05/10/xi-i-cannot-see-some-of-my-messages-in-the-sxmbmoni
    SXMB_MONI & SXI_MONITOR (both are same) are used to check the message status on Integration server (XI pipeline) and SXI_MONITOR is part of SXMB_MONI.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/f7/c8d34213d9324fa3329dcdf8e7be16/content.htm
    Real time XI Monitoring
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c4/9a5c3bab977239e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/7c/14b5765255e345a9e3f044f1e9bbbf/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/88/21bc3ff6beeb0ce10000000a114084/content.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/cbc7d790-0201-0010-bea6-c549902e93e2
    http://help.sap.com/saphelp_nw04/helpdata/en/41/b715045ffc11d5b3ea0050da403d6a/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/96/0a2441509fa831e10000000a1550b0/content.htm
    Hope it will help u .....
    Thanks !
    Pls reward if useful

  • HT4623 updated ipad mini last night with the ios 7.6 and now am unable to restart the pad, we have tried charging it completely and have had no luck in restarting it

    updated ipad mini last night with the ios 7.6 and now am unable to restart the pad, we have tried charging it completely and have had no luck in restarting it

    First, try a system reset.  It cures many ills and it's quick, easy and harmless...
    Hold down the on/off switch and the Home button simultaneously until you see the Apple logo.  Ignore the "Slide to power off" text if it appears.  You will not lose any apps, data, music, movies, settings, etc.
    If the Reset doesn't work, try a Restore.  Note that it's nowhere near as quick as a Reset.  It could take well over an hour!  Connect via cable to the computer that you use for sync.  From iTunes, select the iPad/iPod and then select the Summary tab.  Follow the on-screen directions for Restore and be sure to say "yes" to the backup.  You will be warned that all data (apps, music, movies, etc.) will be erased but, as the Restore finishes, you will be asked if you wish the contents of the backup to be copied to the iPad/iPod.  Again, say "yes."
    At the end of the basic Restore, you will be asked if you wish to sync the iPad/iPod.  As before, say "yes."  Note that that sync selection will disappear and the Restore will end if you do not respond within a reasonable time.  If that happens, only the apps that are part of the IOS will appear on your device.  Corrective action is simple -  choose manual "Sync" from the bottom right of iTunes.
    If you're unable to do the Restore, go into Recovery Mode per the instructions here.  You WILL lose all of your data (game scores, etc,) but, for the most part, you can redownload apps and music without be charged again.  Also, if you have IOS-7, read this.

  • ORA-01102 unable to mount the database in exclisive mode

    Hi !
    My system run on oracle 10g R2 Windows 32 bit and I have configured 2 databases in data guard on the same computer. The primary database "smartbk" start very well but the standby database is not able to mount; when I issued the startup mount command I ge he error ORA -01102 unable to mount the database in exclisive mode.
    Can someone help please!!!

    Because your database is standby database, so you can not use startup mount,
    try this
    sql>startup nomount;
    sql>alter database mount standby database;

  • How do I restart apex without restarting the database?

    As the title says... How do I restart apex without restarting the database?
    For the second time in as many weeks apex 3.0.1(?) has stopped working while the database (10gR2) hasn't missed a beat.
    How do I restart apex?
    How do I get it to restart automatically on failure.
    How do I receive failure notification messages.
    How do I diagnose the cause of the failure.
    We were looking at using apex in a production environment but the prospect of unplanned restarts of production databases every week is a little daunting.
    Regards,
    David

    David,
    >> We're not using oracle http server as it's a 64 bit version so yes the whole thing is running within the database.
    1) So your Web server is the XDB HTTP protocol server and embedded PL/SQL gateway (basically, the database's embedded Web server)? Is this 11g? If so, what platform?
    2) Are there any reported issues in the database alert log?
    3) When you check the status of the database listener, does it show services running for this specific port (default 8080, I guess)?
    4) If you normally go to http://server:port/apex, when this situation occurs, what happens when you try and go to http://server:port?
    Joel

  • Unable to connect the database.

    I'm trying connecting disc. viewer 3.1.36 with plug-in browser, but unable to connect to the database and recieve a message saying that 'Error in database login. Unable to establish connection with the server.'.What is the problem?

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Saihani Idaffie Saidin ([email protected]):
    I'm trying connecting disc. viewer 3.1.36 with plug-in browser, but unable to connect to the database and recieve a message saying that 'Error in database login. Unable to establish connection with the server.'.What is the problem?<HR></BLOCKQUOTE>
    Saidin, We will need much more information than this to determine the problem you are having. Can you connect with SQL*Plus, Discoverer User or Admin Edition. Are you attempting to connect to Discoverer Viewer from the same or a different machine. There is a lot of good information in the readme file that can help...
    Regards,
    Oracle Discoverer team http://technet.coracle.com

  • Unable to start the database(Process m000 died, see its trace file)

    Hi,
    Oracle Version:10.2.0.1
    Operating System:Linux
    Hi suddenly the database went down and in alert logfile it is showing error like this.
    Fri Feb 18 01:40:51 2011
    Process m000 died, see its trace file
    Fri Feb 18 01:40:51 2011
    ksvcreate: Process(m000) creation failed
    Fri Feb 18 01:41:18 2011
    Errors in file /u01/app/oracle/admin/apdtest/bdump/apdtest_ora_15998.trc:
    ORA-00600: internal error code, arguments: [keltnfy-ldmInit], [46], [1], [], [], [], [], []
    Fri Feb 18 01:41:19 2011
    Process m000 died, see its trace file
    Fri Feb 18 01:41:19 2011
    ksvcreate: Process(m000) creation failed
    Fri Feb 18 01:42:19 2011
    Errors in file /u01/app/oracle/admin/apdtest/bdump/apdtest_ora_16032.trc:
    ORA-00600: internal error code, arguments: [keltnfy-ldmInit], [46], [1], [], [], [], [], []
    Fri Feb 18 01:42:20 2011
    Process m000 died, see its trace file
    Fri Feb 18 01:42:20 2011
    ksvcreate: Process(m000) creation failed
    Fri Feb 18 01:43:20 2011
    Errors in file /u01/app/oracle/admin/apdtest/bdump/apdtest_ora_16036.trc:
    ORA-00600: internal error code, arguments: [keltnfy-ldmInit], [46], [1], [], [], [], [], []
    Fri Feb 18 01:43:21 2011
    Process m000 died, see its trace file
    Fri Feb 18 01:43:21 2011
    ksvcreate: Process(m000) creation failed
    Fri Feb 18 01:44:21 2011
    Errors in file /u01/app/oracle/admin/apdtest/bdump/apdtest_ora_16042.trc:
    ORA-00600: internal error code, arguments: [keltnfy-ldmInit], [46], [1], [], [], [], [], []
    Fri Feb 18 01:44:22 2011
    Process m000 died, see its trace file
    Fri Feb 18 01:44:22 2011
    ksvcreate: Process(m000) creation failedand generating lot of trace files.
    Please help me how to solve this .
    Thanks & Regards,
    Poorna Prasad.

    In my alert log file I also find this error.
    ed Feb 16 06:11:13 2011
    Process J000 died, see its trace file
    Wed Feb 16 06:11:13 2011
    kkjcre1p: unable to spawn jobq slave process
    Wed Feb 16 06:11:13 2011
    Errors in file /u01/app/oracle/admin/apdtest/bdump/apdtest_cjq0_26196.trc:
    Wed Feb 16 06:11:13 2011
    Errors in file /u01/app/oracle/admin/apdtest/bdump/apdtest_j000_4172.trc:
    ORA-00600: internal error code, arguments: [keltnfy-ldmInit], [46], [1], [], [], [], [], []
    Wed Feb 16 06:11:14 2011
    Errors in file /u01/app/oracle/admin/apdtest/bdump/apdtest_j000_4172.trc:
    ORA-00600: internal error code, arguments: [keltnfy-ldmInit], [46], [1], [], [], [], [], []
    Process J000 died, see its trace file
    Wed Feb 16 06:11:14 2011
    kkjcre1p: unable to spawn jobq slave process
    Wed Feb 16 06:11:14 2011
    Errors in file /u01/app/oracle/admin/apdtest/bdump/apdtest_cjq0_26196.trc:Thanks & Regards,
    Poorna Prasad.S

  • Unable to launch the Database Configuration Assistant

    I have installed Oracle 10g Database Release 1 and I can’t launch the Database Configuration Assistant (DBCA). The file c:\oracle\product\10.1.0\Db_1\bin\launch.exe does not exist on my computer.
    My intent is to design a simple database in Oracle for an organization that uses Oracle extensively. I am running WinXP professional on my home computer. WinXP includes Microsoft IIS and I regularly test web-packaged files on this “intranet server” using the domain “localhost”. I downloaded Oracle 10g and installed it to the c:\ drive following the instructions in Chapter 2 of the tutorial “Oracle 2-day DBA Course”. I selected “basic installation” and “standard edition”.
    I note that in the tutorial, the Oracle Home path has forward slants. The summary page of the Oracle installation wizard shows my installation with back slants. Do I need to install Oracle 10g to one of the directories in Microsoft IIS?
    Nicholas

    Install the Oracle database with the procedure in
    http://www.oracle.com/technology/obe/2day_dba/install/install.htm
    When you select the Install button, the Oracle universal installer displays the installation of the Database Configuration Assistant.
    Uninstall the previous installation. To uninstall database 10g
    1. Stop the oracle services Adminstrative Tools>Services.
    2. Uninstall the installed products in Oracle Universal Installer.
    3. In the Run field specify
    Regedt32
    In the Registry Editor select
    SYSTEM>Current Control Set>Services
    Remove the oracle services.
    4. Restart and dlete the directories in the oracle installation directory.

  • Startsap issues "unable to get the database running"

    I Have finished my installation successfully but I cant get sap to start. Below is the error log file:
    Starting SAP-Collector Daemon
    21:33:28 14.10.2005 LOG: Effective User Id is root
    This is Saposcol Version COLL 20.87 640 - V1.12 for Linux
    Usage: saposcol -l: Start OS Collector
    saposcol -k: Stop OS Collector
    saposcol -d: OS Collector Dialog Mode
    saposcol -s: OS Collector Status
    The OS Collector (PID 18140) is already running .....
    saposcol already running
    Running /usr/sap/A5P/SYS/exe/run/startdb
    Trying to start A5P database ...
    Log file: /home/a5padm/startdb.log
    /usr/sap/A5P/SYS/exe/run/startdb: Terminating with error code 12
    DB startup failed
    =======================================================
    Fri Oct 14 21:33:29 EDT 2005
    starting database
    SQL*Plus: Release 9.2.0.1.0 - Production on Fri Oct 14 21:33:29 2005
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    ERROR:
    ORA-09925: Unable to create audit trail file
    Linux Error: 13: Permission denied
    Additional information: 9925
    ORA-09925: Unable to create audit trail file
    Linux Error: 13: Permission denied
    Additional information: 9925
    ORA-09925: Unable to create audit trail file
    Linux Error: 13: Permission denied
    Additional information: 9925
    Fri Oct 14 21:33:34 EDT 2005
    Connect to the database to verify, that the database is now open
    R3trans check finished with return code: 12
    ERROR: Startup of database failed
    Notify Database Administrator.
    /usr/sap/A5P/SYS/exe/run/startdb: Terminating with error code 12

    Hi Jurgen,
    here is the extract of the trans.log file:
    a5padm> more trans.log
    4 ETW000 /usr/sap/A5P/SYS/exe/run/R3trans version 6.09 (release 640 - 26.10.04 - 15:45:42).
    4 ETW000 ===============================================
    4 ETW000
    4 ETW000 date&time   : 15.10.2005 - 12:40:28
    4 ETW000 control file: <no ctrlfile>
    4 ETW000 R3trans was called as follows: /usr/sap/A5P/SYS/exe/run/R3trans -x
    4 ETW000  trace at level 2 opened for a given file pointer
    4 ETW000  [dev trc     ,00000]  Sat Oct 15 12:40:28 2005                             105  0.000105
    4 ETW000  [dev trc     ,00000]  db_con_init called                                    21  0.000126
    4 ETW000  [dev trc     ,00000]  create_con (con_name=R/3)                             56  0.000182
    4 ETW000  [dev trc     ,00000]  Loading DB library '/usr/sap/A5P/SYS/exe/run/dboraslib.so' ...
    4 ETW000                                                                              39  0.000221
    4 ETW000  [dev trc     ,00000]  load shared library (/usr/sap/A5P/SYS/exe/run/dboraslib.so), hdl 0
    4 ETW000                                                                           17302  0.017523
    4 ETW000  [dev trc     ,00000]  Library '/usr/sap/A5P/SYS/exe/run/dboraslib.so' loaded
    4 ETW000                                                                              31  0.017554
    4 ETW000  [dev trc     ,00000]  function DbSlExpFuns loaded from library /usr/sap/A5P/SYS/exe/run/dboraslib.so
    4 ETW000                                                                              48  0.017602
    4 ETW000  [dev trc     ,00000]  Version of '/usr/sap/A5P/SYS/exe/run/dboraslib.so' is "640.00", patchlevel (0.32)
    4 ETW000                                                                              75  0.017677
    4 ETW000  [dev trc     ,00000]  function dsql_db_init loaded from library /usr/sap/A5P/SYS/exe/run/dboraslib.so
    4 ETW000                                                                              28  0.017705
    4 ETW000  [dev trc     ,00000]  function dbdd_exp_funs loaded from library /usr/sap/A5P/SYS/exe/run/dboraslib.so
    4 ETW000                                                                              46  0.017751
    4 ETW000  [dev trc     ,00000]  New connection 0 created                              31  0.017782
    4 ETW000  [dev trc     ,00000]  0: name = R/3, con_id = -000000001 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255
    , occ = NO
    4 ETW000                                                                              35  0.017817
    4 ETW000  [dev trc     ,00000]  db_con_connect (con_name=R/3)                         29  0.017846
    4 ETW000  [dev trc     ,00000]  find_con_by_name found the following connection for reuse:
    4 ETW000                                                                              28  0.017874
    4 ETW000  [dev trc     ,00000]  0: name = R/3, con_id = 000000000 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255,
    occ = NO
    4 ETW000                                                                              31  0.017905
    4 ETW000  [dev trc     ,00000]  Got ORACLE_HOME=/oracle/A5P/920_32 from environment
    4 ETW000                                                                             332  0.018237
    4 ETW000  [dev trc     ,00000]  -->oci_initialize                                     26  0.018263
    4 ETW000  [dev trc     ,00000]  Client NLS settings: AMERICAN_AMERICA.US7ASCII      1584  0.019847
    4 ETW000  [dev trc     ,00000]  Logon as OPS$-user to get SAPA5P's password           46  0.019893
    4 ETW000  [dev trc     ,00000]  Connecting as /@A5P on connection 0 ...               23  0.019916
    4 ETW000  [dev trc     ,00000]  Allocating service context handle                     31  0.019947
    4 ETW000  [dev trc     ,00000]  Allocating server context handle                      26  0.019973
    4 ETW000  [dev trc     ,00000]  Attaching to DB Server A5P (con_hdl=0,svchp=0x8bf4fbc,svrhp=0x8bf5aa4)
    4 ETW000                                                                              75  0.020048
    4 ETW000  [dev trc     ,00000]  Assigning server context 0x8bf5aa4 to service context 0x8bf4fbc
    4 ETW000                                                                           18344  0.038392
    4 ETW000  [dev trc     ,00000]  Allocating user session handle                        63  0.038455
    4 ETW000  [dev trc     ,00000]  Starting user session (con_hdl=0,svchp=0x8bf4fbc,srvhp=0x8bf5aa4,usrhp=0x8bfe604)
    4 ETW000                                                                              41  0.038496
    4 ETW000  [dboci.c     ,00000]  *** ERROR => OCI-call 'OCISessionBegin' failed: rc = 12705
    4 ETW000                                                                            3291  0.041787
    4 ETW000  [dev trc     ,00000]  server_detach(con_hdl=0,stale=1,svrhp=0x8bf5aa4)
    4 ETW000                                                                              31  0.041818
    4 ETW000  [dev trc     ,00000]  Detaching from DB Server (con_hdl=0,svchp=0x8bf4fbc,srvhp=0x8bf5aa4)
    4 ETW000                                                                              29  0.041847
    4 ETW000  [dev trc     ,00000]  Deallocating server context handle 0x8bf5aa4         292  0.042139
    4 ETW000  [dbsloci.    ,00000]  *** ERROR => CONNECT failed with sql error '12705'
    4 ETW000                                                                              56  0.042195
    4 ETW000  [dev trc     ,00000]  Try to connect with default password                  37  0.042232
    4 ETW000  [dev trc     ,00000]  Connecting as SAPA5P/<pwd>@A5P on connection 0 ...
    4 ETW000                                                                              31  0.042263
    4 ETW000  [dev trc     ,00000]  Allocating server context handle                      23  0.042286
    4 ETW000  [dev trc     ,00000]  Attaching to DB Server A5P (con_hdl=0,svchp=0x8bf4fbc,svrhp=0x8bf5aa4)
    4 ETW000                                                                              47  0.042333
    4 ETW000  [dev trc     ,00000]  Assigning server context 0x8bf5aa4 to service context 0x8bf4fbc
    4 ETW000                                                                           17507  0.059840
    4 ETW000  [dev trc     ,00000]  Assigning username to user session 0x8bfe604          31  0.059871
    4 ETW000  [dev trc     ,00000]  Assigning password to user session 0x8bfe604          32  0.059903
    4 ETW000  [dev trc     ,00000]  Starting user session (con_hdl=0,svchp=0x8bf4fbc,srvhp=0x8bf5aa4,usrhp=0x8bfe604)
    4 ETW000                                                                              30  0.059933
    4 ETW000  [dboci.c     ,00000]  *** ERROR => OCI-call 'OCISessionBegin' failed: rc = 12705
    4 ETW000                                                                            5903  0.065836
    4 ETW000  [dev trc     ,00000]  server_detach(con_hdl=0,stale=1,svrhp=0x8bf5aa4)
    4 ETW000                                                                              32  0.065868
    4 ETW000  [dev trc     ,00000]  Detaching from DB Server (con_hdl=0,svchp=0x8bf4fbc,srvhp=0x8bf5aa4)
    4 ETW000                                                                              29  0.065897
    4 ETW000  [dev trc     ,00000]  Deallocating server context handle 0x8bf5aa4         188  0.066085
    4 ETW000  [dbsloci.    ,00000]  *** ERROR => CONNECT failed with sql error '12705'
    4 ETW000                                                                              41  0.066126
    4 ETW000  [dblink      ,00419]  ***LOG BY2=>sql error 12705  performing CON [dblink#1 @ 419]
    4 ETW000                                                                              70  0.066196
    4 ETW000  [dblink      ,00419]  ***LOG BY0=>ORA-12705: invalid or unknown NLS parameter value specified [dblink#1 @ 419]
    4 ETW000                                                                              32  0.066228
    2EETW169 no connect possible: "DBMS = ORACLE                           --- dbs_ora_tnsname = 'A5P'"

  • Unable to open the database

    I am not able to open the database: Following are the facts and things I have done so far
    1)     database is in NONARCHIVE mode
    2)     database backed up by using datafiles, controlfile, logfiles etc
    3)     datafiles, controlfile and logfiles are out of sync because the time of disk back at night a cron job also update a datafile. So one particular datafile is out of sync.
    4)     When we start the database following error comes
    a.     ora-01207:file is more recent than controlfile - old controlfile Question1: Is it because i did a hot backup and whenever there is a write, the controlfile ...
    5)     when we try use ‘alter database recover we get following
    a.     ora-01157: connot identify/lock data file 21 – DBWR file
    b.     ora-01110: data file 21 ‘…../…/../o2_mf_sys_undo_zvt7qxkf_.dbf
    6)     http://forums.oracle.com/forums/thread.jspa;jsessionid=8d92200830de9b3de878352a40c888bc8a2b521b29d5.e34QbhuKaxmMai0MaNeMb3eKaN90?messageID=1374408&#1374408
    7)     So far I have tried
    a.     RECOVER DATABASE UNTIL CANCEL & ALTER DATABASE OPEN RESETLOGS – doesn’t work
    b.     Alter database archivelog – doesn’t work
    please let know if some had any solution

    Tanwar
    Do the following and you should be fine with your database.
    The error indicates that oracle process cannot open more locks than allowed.
    I assume you are on aix/unix environment
    as oracle user run this command
    #ulimit -a
    and verify the settings. You may want to set all the setting to unlimited as below.
    Some commands may not work depending on your OS, dont worry.
    ulimit -t unlimited
    ulimit -f unlimited
    ulimit -d unlimited
    ulimit -s unlimited
    ulimit -m unlimited
    ulimit -c unlimited
    ulimit -n unlimited
    ulimit -v unlimited
    If still not resolved, ask you system adminitrator to check security setting for oracle user under /etc/security/limits.
    Change the values for oracle user to -1 which means unlimited.
    logout from oracle user session and login again, check ulimit -a. Start your instance and you are good now.
    I have seen this issue many times on many system.
    Good luck.

Maybe you are looking for

  • Macbook Installation Problems

    Hello everyone thanks in advance to anyone who reads and responds to this. I've been having some ridiculous problems with my Macbook lately. Recently I tried installing Windows on my macbook through bootcamp, big mistake. It was laggy unresponsive, a

  • CE Benchmark/Performance Best Practice Tips

    We are in the early stages of starting a CE project where we expect a high volume of web service calls per day (e.g. customer master service, material master service, pricing service, order creation service etc). Are there any best-practice guideline

  • IPhoto stops importing pictures

    I don't know why iPhoto always does this to me. Whenever I try to import pictures from a folder on my desktop into iPhoto, it'll show that the pictures are being imported in there. However, whenever we get down the the last three pictures, it freezes

  • Installing Flash Player on a Mac OS X Yosemite (Version 10.10.1)

    I am relatively computer illiterate. I mean I don't even know what a "Community" is so I've chosen this one ... I have no idea if it is the correct one, but there was no "Flash" community to choose from. If it's wrong please let me know! Seems a pret

  • REM Back flush using firmed planned orders

    Dear Gurus,     We are using REM manufacturing process in SAP , we are doing backflush for stage wise confirmation and final confirmation.while doing this we are not referring any planned orders as reference. if we update new part numbers in BOM the