Which file is checked to determine the state of the database?

Hi,
can any body plz tell that Which file is checked to determine the state of the database.
Is it control file?
Thanx
Ashutosh Khare

Hi,
you can check the status of instance in nomount(pfile) and you can check status of database in mount stauts(controlfile)look carefully below
SQL> startup nomount
ORACLE instance started.
Total System Global Area 1258291200 bytes
Fixed Size                  2077264 bytes
Variable Size             872418736 bytes
Database Buffers          369098752 bytes
Redo Buffers               14696448 bytes
SQL> select status from v$instance;
STATUS
STARTED
SQL> select open_mode from v$database;
select open_mode from v$database
ERROR at line 1:
ORA-01507: database not mounted
SQL> alter database mount;
Database altered.
SQL> select status from v$instance;
STATUS
MOUNTED
SQL> select open_mode from v$database;
OPEN_MODE
MOUNTED
SQL>
so it is
you can check the status of instance in nomount(pfile) and you can check status of database in mount stauts(controlfile)

Similar Messages

  • Error: "The user for which we are checking a privilege should be in the same org as the context provided"

    Hi All,
    Recently, we've encountered some weird error for some users when trying to assign records to them through both the CRM UI and CRM SDK Call.
    The error message saying: "The user for which we are checking a privilege should be in the same org as the context provided".
    Here is the trace log for assigning a lead for one of those users (same error for other records):
    [2010-08-09 13:58:06.0] Process: w3wp |Organization:d905ae4d-8d9f-df11-a1b0-00237df0351e |Thread:   22 |Category: Exception |User: fb56b107-949f-df11-a1b0-00237df0351e |Level: Error | CrmArgumentException..ctor
    at CrmArgumentException..ctor(String message)
    at SecurityLibrary.TryCheckPrivilege(Guid user, Guid privilege, ExecutionContext context)
    at SecurityLibrary.CheckPrivilege(Guid user, Guid privilege, ExecutionContext context)
    at SecurityLibrary.CheckPrivilege(Guid user, EntityMetadata metadata, PrivilegeType type, ExecutionContext context)
    at CascadeEngine.AssignDB(BusinessEntityMoniker moniker, SecurityPrincipal assignee, ExecutionContext context)
    at RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
    at RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
    at RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    at LogicalMethodInfo.Invoke(Object target, Object[] values)
    at InternalOperationPlugin.Execute(IPluginExecutionContext context)
    at PluginStep.Execute(PipelineExecutionContext context)
    at Pipeline.Execute(PipelineExecutionContext context)
    at MessageProcessor.Execute(PipelineExecutionContext context)
    at InternalMessageDispatcher.Execute(PipelineExecutionContext context)
    at ExternalMessageDispatcher.Execute(String messageName, Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, PropertyBag fields, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
    at RequestBase.Process(Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
    at RequestBase.Process(CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
    at CrmServiceInternal.Execute(RequestBase request, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
    at InProcessCrmService.Execute(Object request)
    at PlatformCommand.ExecuteInternal()
    at AssignRouteOnCreateUpdateListener.AssignEntity(Entity entity, LookupValue owner)
    at CommunicationListener.HandlePostEvent(PlatformCommand command, Response response)
    at PlatformCommand.ExecuteInternal()
    at UpdateCommand.Execute()
    at EntityProxy.Update(Boolean performDuplicateCheck)
    at AppForm.HandleFormEventAssign(Boolean gridRefreshCallbackAdded)
    at AppForm.RaiseDataEvent(FormEventId eventId)
    at EndUserForm.Initialize(Entity entity)
    at CustomizableForm.Execute(Entity entity, String formType)
    at LeadDetailPage.ConfigureForm()
    at AppUIPage.OnPreRender(EventArgs e)
    at Control.PreRenderRecursiveInternal()
    at Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    at Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    at Page.ProcessRequest()
    at Page.ProcessRequest(HttpContext context)
    at sfa_leads_edit_aspx.ProcessRequest(HttpContext context)
    at CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    at ApplicationStepManager.ResumeSteps(Exception error)
    at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
    at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
    at HttpRuntime.ProcessRequestNoDemand(HttpWorkerRequest wr)
    at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)
    >Crm Exception: Message: The user for which we are checking a privilege should be in the same org as the context provided, ErrorCode: -2147220989, InnerException: System.ArgumentException: The user for which we are checking a privilege should be in the same
    org as the context provided
    I checked the user id and the organization id, and there are both correct (in the database). The user id "fb56b107-949f-df11-a1b0-00237df0351e " is actually the internal CRM System User.
    What could the issue be?
    Can anyone help, please. Thanks

    Are you sure, the User which you are assigning is in the same organisaion. It seems that the Orgname which you are specifying is not correct. and the web service is pointing to other user which is not the current ms crm organisaion.
    Could you please paste your code here for more details.?
    Thanks, Ranjitsingh R | http://mscrm-developer.blogspot.com/ | MS CRM Consultant

  • Im facing problem while trying to update my iphone 4 from version 4.3.1 to iOS 5. While processing the downloaded 774mb file, it comes with the statement that the network connection timed out. why???

    im facing problem while trying to update my iphone 4 from version 4.3.1 to iOS 5. While processing the downloaded 774mb file, it comes with the statement that the network connection timed out. why???

    i have been dealing with this same issue, tried to  turn off firewall and even turn of antivirud but still it gave me the same error.

  • Can I just add a state to bug work item and not set the state to the workflow

     Hi,
    Based on my team, we need to add a state/states to the bug work item, just add the bug state, and let it displayed in the state dropdown list. We don't want to add the state to the workflow. Can I do that? 
    Thanks,
    shmily

    Hi shmily,
    If you add a state for the bug in your work item definition file, you have to define the transition for the state. If not, when you change the state, the backlog page or task board will not display the work item correctly.
    Please check the links below for more information about workflow design guidelines and customization for work item type:
    http://msdn.microsoft.com/en-us/library/ms194981.aspx
    http://msdn.microsoft.com/en-us/library/hh409273.aspx
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Save the state of the bean within the bean

    If i have a bean say BigBean which contains another bean say SmallBean.
    Both of SmallBean and BigBean implment seriablizable. If i save the BigBean, will the state of the SamllBean be saved automatically ?

    Yes.. if your SmallBean field is non-transient.

  • Enterprise Manager is not able to connect to the database instance. The state of the components are listed below.

    Dear all,
    I have trouble to connect em console to database instance. My database is 11.2.0.3 and before this I did the patching from version 11.2.0.1, and now i cannot get fully functionality of em console.
    error is:
    Enterprise Manager is not able to connect to the database instance. The state of the components are listed below.
    It shows that agent is connected, database and listener is up.
    I did recreation, dropping and recreating with emca, but no success.
    Did anyone have similar problems with em console?
    Regards,

    You need to first of all, Connect to the Database as SYSDBA (because your were not connected), then start the database (because it is not started).
    If you already used the username and password in the command prompt and you are sure that the database is already stared, then you need to set the ORACLE_SID before you open SQLPlus. This is because if SQLPlus does not know the SID you are connecting to, it simply thinks it is not up or has no service hence the message "Connected to an idle instance".

  • HT1212 MY PHONE IS LOCKED MY STEPSON SET UP A ICLOUD ACCOUNT AN NOW HE DOES NOT KNOW THE USERNAME OR PASSWORD AN I HAVE TRIED HOOKING IT UP TO ITUNES AN CAN NOT RESET ANYTHING. WHEN U TURN THE PHONE ON IT SAYS HELLO AN THEN ASK FOR THE STATE AN THE WIRELE

    HEY MY PHONE IS LOCKED AND MY STEPSON STEP UP A ICLOUD ACCOUNT AN KNOW HE DOES NOT KNOW THE ICLOUD USERNAME OR PASSWORD. WHEN I TURN THE PHONE ON IT WILL SAY HELLO AN ASK FOR THE STATE AN THE ASK FOR THE INTERNET PASSWORD. THEN IT ASK FOR THE ICLOUD AN THE PASSWORD AN WE DONT KNOW IT TO GET THE PHONE UNLOCKED. I HAVE TRIED HOOKING IT UP TO ITUNES BUT IT DOES NOTHING JUST GOES BACK TO THE SAME SCREEN. SO CAN U PLEASE HELP ME UNLOCK MY PHONE. IVE BEEN THE THE VERIZON STORE AN THE THE APPLE STORE AN THE SAID THEY CANT UNLOCK IT THAT I HAD TO GO ON AN WEBSITE IFORGOT.APPLE.COM AND EXPRESSLANE.APPLE.COM AN WHEN U PULL IT UP YOU DONT KNOW WHAT TO GO ON BECAUSE THERE IS SOME MANY TO CHOOSE FROM SO IT DOESNT HELP ME AT ALL. ITS LIKE THAT ON BOTH WEBSITES THEY FAIL TO TELL U THAT THERE IS ALOT TO CHOOSE FROM. IF THEY WOULD GIVE YOU THE ONE TO GO TO START WITH U WOULDNT BEEN ON THE COMPUTER FOR HOURS AN HOURS AT A TIME.

    drop the CAPS thats rude.
    iforgot.apple.com there is a link for find my apple id click here
    https://iforgot.apple.com/appleid?language=US-EN&returnURL=https://appleid.apple .com/cgi-bin/WebObjects/MyAppleId.woa&app_id=93&app_type=ext
    Peace, Clyde

  • Some, but not all, podcasts existing on the iPod no longer appear in iTunes. Different podcasts have been affected at different times, after changes in the state of the iPod. Only podcasts are affected.

    I have not seen this precise issue addressed anywhere. I don’t know if it’s an iTunes or an iPod problem:
    - Some, but not all, podcasts existing on the iPod no longer appear in iTunes;
      this, after normal behavior for more than a year since purchase of the iPod.
    - Different podcasts have been affected at different times, after changes in the state of the iPod.
    - Only podcasts are affected.
    - This concerns an iPod nano 6th gen. and iTunes 11.0.2 (26) on System 10.6.8
    - The only change to iTunes, the Mac, or the iPod is that just before this condition began
      I’d begun syncing an iPhone via iTunes.
    I sync manually (“manually manage music and videos”). The first time this happened, I wanted to delete seventeen podcast episodes (all belonging to one podcast) existing on the iPod — but they didn’t show up in iTunes. I tried re-downloading them and re-syncing, to see if the new versions would somehow “re-link” to iTunes. They didn’t. Only one — new — episode appeared in iTunes.
    I ultimately reset the iPod and manually resynced all the podcasts I currently had on iTunes. That worked, though I had to painstakingly add in all the other content deleted by the reset.
    So: after that reset and manual sync, all podcasts and episodes on the iPod were visible to iTunes and I was able to delete the podcast and its — now 18 — episodes I’d wanted to get rid of to begin with. But the next time I connected the iPod, only 8 podcast episodes out of 21 episodes total existing on the iPod were visible to iTunes. These are different podcasts; I’d deleted the original “invisible” ones.
    By “visible,” I mean in the “Podcasts” list view under “[name]’s iPod” in the iTunes sidebar. If I select “[name]’s” iPod in the iTunes sidebar and the “Podcasts” tab, all podcasts and episodes are visible, though greyed out because I’m set to sync manually. It’s unclear to me if these are the podcasts on the iPod or those currently in iTunes, as they are currently the same. If I switch to syncing automatically, all content on the iPod will be lost again, so I’m not up to trying it at the moment.
    As I said,  this involves only podcasts. All other content on the iPod does appear in iTunes.

    I have the same problem- i see my movies in the ipod section in itunes and they even show as mpeg4 in the 'kind' section but they dont have that small TV icon next to them. if i play these in itunes, they play fine- but try playing them on the ipod and all you hear is the sound and no picture. All videos that i manually transfer work fine in the beginning- its when i hook up the ipod to the comp again and start itunes- they start showing up without the 'tv' icon!! i have to again transfer them from the itunes library to activate them as videos.
    Need Help!!!

  • Delete statement that uses a sub-select with the statement in the cursor

    Hi all,
    How to write write a delete statement that uses a sub-select with the statement in the cursor?
    CURSOR excluded_dates IS         
           SELECT TO_TIMESTAMP(report_parameter_value, in_date_format_mask)
          INTO my_current_date_time
          FROM report_parameters
         WHERE report_parameters.report_parameter_id    = in_report_parameter_id
           AND report_parameters.report_parameter_group = 'DATE_TIME'
           AND report_parameters.report_parameter_name  = 'EXCLUDED_DATE';
    OPEN excluded_dates;
      LOOP
        FETCH excluded_dates INTO my_excluded_date;
        EXIT WHEN excluded_dates%NOTFOUND;
        DELETE FROM edr_rpt_tmp_inclusion_table
        WHERE TO_CHAR(date_time, 'mm/dd/yyyy') = TO_CHAR(my_excluded_date, 'mm/dd/yyyy');
      END LOOP;
      CLOSE excluded_dates;Thanks

    Hi,
    In such case I think is better to create a view an perform the delete using it. Example (using HR schema):
    Connected to Oracle Database 10g Express Edition Release 10.2.0.1.0
    Connected as hr
    SQL> create or replace view v_employees as select * from employees where first_name like 'J%';
    View created
    SQL> select * from v_employees;
    EMPLOYEE_ID FIRST_NAME           LAST_NAME                 EMAIL                     PHONE_NUMBER         HIRE_DATE   JOB_ID         SALARY COMMISSION_PCT MANAGER_ID DEPARTMENT_ID
            110 John                 Chen                      JCHEN                     515.124.4269         28/09/1997  FI_ACCOUNT    8200,00                       108           100
            112 Jose Manuel          Urman                     JMURMAN                   515.124.4469         07/03/1998  FI_ACCOUNT    7800,00                       108           100
            125 Julia                Nayer                     JNAYER                    650.124.1214         16/07/1997  ST_CLERK      3200,00                       120            50
            127 James                Landry                    JLANDRY                   650.124.1334         14/01/1999  ST_CLERK      2400,00                       120            50
            131 James                Marlow                    JAMRLOW                   650.124.7234         16/02/1997  ST_CLERK      2500,00                       121            50
            133 Jason                Mallin                    JMALLIN                   650.127.1934         14/06/1996  ST_CLERK      3300,00                       122            50
            139 John                 Seo                       JSEO                      650.121.2019         12/02/1998  ST_CLERK      2700,00                       123            50
            140 Joshua               Patel                     JPATEL                    650.121.1834         06/04/1998  ST_CLERK      2500,00                       123            50
            145 John                 Russell                   JRUSSEL                   011.44.1344.429268   01/10/1996  SA_MAN       14000,00           0,40        100            80
            156 Janette              King                      JKING                     011.44.1345.429268   30/01/1996  SA_REP       10000,00           0,35        146            80
            176 Jonathon             Taylor                    JTAYLOR                   011.44.1644.429265   24/03/1998  SA_REP        8600,00           0,20        149            80
            177 Jack                 Livingston                JLIVINGS                  011.44.1644.429264   23/04/1998  SA_REP        8400,00           0,20        149            80
            181 Jean                 Fleaur                    JFLEAUR                   650.507.9877         23/02/1998  SH_CLERK      3100,00                       120            50
            186 Julia                Dellinger                 JDELLING                  650.509.3876         24/06/1998  SH_CLERK      3400,00                       121            50
            189 Jennifer             Dilly                     JDILLY                    650.505.2876         13/08/1997  SH_CLERK      3600,00                       122            50
            200 Jennifer             Whalen                    JWHALEN                   515.123.4444         17/09/1987  AD_ASST       4400,00                       101            10
    16 rows selected
    SQL> delete from v_employees where hire_date >= to_date('01/06/1998', 'dd/mm/yyyy');
    2 rows deleted
    SQL> regards,

  • How do I change the states of the "Submit"  button in adobe muse?

    How do I change the states of the "Submit"  button in adobe muse? Currently I can only change the color, text and stroke of the button, but I cannot customize it as I have the other buttons in the tool.

    I want to replace the button with an image, however it does not permit me to paste an image into the button, nor does it allow me to delete the box that is currently there. The best I can do is paste the image into the text box that is provided.

  • Does performing a DAQmx Clear Task on a PCI-4474 card change the state of the IEPE current?

    Does performing a DAQmx Clear Task on a PCI-4474
    card change the state
    of the IEPE current?  If the IEPE current was on, does it remain
    on even though the task as been cleared?  If the IEPE current
    remains on, then I assume I don't have to wait for the IEPE current to
    settle if I make a new Task and start a new measurement--is this
    correct?
    Thank you in advance for your help.
    Ken

    DAQmx Clear Task should not turn off IEPE current. You will have to explicity set IEPE current to On (for that channel) whenever you use any of the AI channels on your 4474 in order to keep the IEPE On because the IEPE for all channels in the AI subsystem will be set to the default state (Off) unless explicitly configured. That said, if you clear a task that had IEPE On, and then initialize a new task and set IEPE On, the IEPE will be uninterrupted and there should be no need to wait for the IEPE to settle. Other components of your measurement system might need time to settle if their state was changed between tasks (DUT, sensor, AC coupling, etc.)
    Doug
    NI Sound and Vibration

  • How can I change the state in the shipment info in the account setting?

    How can I change the state in the shipment info in the account setting?
    I was trying to buy an Apple TV from the store but, I live in Italy and at the moment (for long time) I'm in Deutschland.
    From the shipment information i didn't find the possibility to change the state. From default is ITALY but I need to receive in Deutschland.
    Did somebody know how to???
    Thanks in advance!!!

    Hi 7oaksGaz,
    1) Due to tax reasons, it's not possible to change the country associated with an existing Adobe ID.
    Follow the steps mentioned in the below link as a workaround to create an Adobe ID with the email address you currently use for the existing Adobe ID.
    http://helpx.adobe.com/x-productkb/policy-pricing/change-country-associated-with-adobe-id. html
    2) You can change the language of the application from AAM preferences
    Please find the link below for the article with the steps
    http://helpx.adobe.com/creative-cloud/kb/creative-cloud-trial-mode.html
    Thanks!
    Eshant

  • How can i test the state of the connections in a pool

    Hi,
    I am trying to find a way to validate the connection state in a pool. I am using iAS 6.0 SP 4 on a solaris 8 with Oracle 8.1.6 as database and the third party (oracle) driver.
    Is there any way to detect iddle connections, or abandoned (not closed) connections?
    I have tried using the pool logs, but they don't help me, because they only show the state of the pool, not the connections state.
    Thanks
    Juan

    with HTML of course!
    if you want it in the center... do <center> appletcode </center>
    if you want it in the bottom right corner use tables to move it there.

  • I want to change the state of the account

    I want to change the state of the account to Saudi Arabia
    But there is a problem is the presence of 34 cents in my account, I can not delete
    I want you to delete the remaining money in my account
    So I change my country to Saudi Arabia
    Thank you
    saleh alamri

    We are fellow users here on these forums, you're not talking to iTunes Support. You can try contacting iTunes support via this page and ask them if they can remove the balance so that you can change countries : http://www.apple.com/support/itunes/contact/- click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • How to Catch the state of the Entity Object

    I have Location Entity object. With JClient I am testing it.
    I want to insert the data,
    due to validations (wrong data) insert fails.
    Then I am correcting data, still to another view object it is passing old data.
    After correcting the data when I try to click commit it is not executing the code from getEntityState = STATUS_NEW
    Can someone also please let me know how to catch the state of the entity
    Thanks

    Hi Juli,
    I am totally new to using Jdeveloper and I need ur humble help letting me know how to access an Entity object for invoking the insert, update and delete statements. It would be great if u can provide me with some error-free sample code.
    Waiting for some help from U.

Maybe you are looking for

  • Creation of Mfg Service contract from IB Instance number

    Hi Team, We have a requirement from client that we need to create a Mfg Service contract for a given IB Instance number. Can you please let me know, if we have any API for this? I tried to create contract using Oks_Contracts_Pub.Create_Contract_Heade

  • Qosmio X500 Folder migration utility and low disk space drice C

    This may be a longish post as I try to explain my problem... please forgive. I've had my X500 for just over three months now. It took a little while before the folder migration utility woke up I didn't know it was there after I'd done a limited copy

  • HELP ME PLEASE!!!! My mac clock will not open up to edit the time?!?

    Ok i recently had my computer fail on me so i got the graphic hardrive on the computer replaced. BUT now.. i have faced a really bad problem the clock on the upper right hand side will not change it says it is march 2nd 2001.... Im really frustrated

  • Iphoto screen turns black--- sometimes

    Iphoto problem I'm using Iphoto '11 version 9.2 (626) MAC OS X Version 10.6.8 Some of the images don't show up at all but come up with a gray dashed border around white background.  When I double click this, instead of an image appearing, the screen

  • License code Dreamweaver

    Bonjour, Question licence du code des applications réalisées avec Dreamweaver. Certaines fonctions de DW génèrent du code propre à Dreamweaver, par exemple les comportements serveurs. Dans le cas d'une application utilisant des fragments de code Adob