SHUTDOWN: waiting for active calls to complete.

Hello

environment is HP - UX 11.23, Version Oracle 9.2.0.5

We had an ORA-600 error yesterday. We reported this error to support and suggested to install patch 9.2. 0.8

However, I have a question. As you can see from the output to the alert log file it took a long time to stop the instance using the immediate option:

Sun Nov 9 17:33:58 2008
Closure of proceedings: in addition to logons disabled
Closure of proceedings (immediate)
License of the high waters = 454
Sun Nov 9 17:39:07 2008
Ongoing call for the program process 3991 user 'oracle' "oracle@xyz (TNS V1 - V3)"
SHUTDOWN: waiting for active calls to complete.
Sun Nov 9 17:50:36 2008
ALTER DATABASE CLOSE NORMAL

Is there anything, can be done in such a situation to accelerate the closure of the proceeding?

Oracle database has an ease of use and a center of streams queues / advanced.
These installations are possible by putting in place some auxiliary processes.
These settings govern the number of processes.
Their definition to 0 turns completely off the installation.
You change the setting in memory, like you, that you have rebounded from the database, it will return to the value in the spfile and facilities will work again.
Deactivation is especially useful when you that facilities are frequently used, that is to say you have a job running every 30 seconds.
In the past, several databases, it was the only way to allow an immediate stop.

Hope this helps,

--
Sybrand Bakker
Senior Oracle DBA

Tags: Database

Similar Questions

  • VMware-vim-cmd: waiting for orders to be completed?

    Hi all, I adapt a backup script I made for VMware Server 1.x to VMware Server 2.x and I'm having trouble doing ordinary things like 'suspend' or "create a snapshot" "a VM from starting.

    There are several ways to do the same thing in a certain way does not require any authentication, others indeed require authentication, for example, to create a snapshot, you can:

    VMware-vim-cmd vmsvc/snapshot.create 'id of the virtual machine.

    or

    vmrun-h https://127.0.0.1:8333 / sdk u user-p password of snapshot "[datastore] /vm_path/vmx_name.vmx '

    The problem with vmware-vim-cmd approach is that it does not wait for the command to complete, and is not a welcome feature in a script.

    Instead, the vmrun command wait until the end, but to use it in a script, you must also include the identification of the user and password information in the script, and it is not welcome.

    So the question (as shown in the topic) is: is it possible to make orders of vim-vmware-cmd to wait until the end?

    If someone knows how to do that I would be very grateful

    Thank you for reading,

    10nico

    The vimsh and the vimsh wrapper vmware-vim-cmd is not officially supported by VMware, that being said, I agree that it should allow you to check the situation, etc. It can be a pro/con and depending on how the call command, the wrappers actually communicate to the VI API server, and if you look at the VI API there are all both blocking and non call.

    Vmware-vim-cmd, the command is executed and returns to the shell for most. You might be able to monitor the tasks that is created and ensure that it is completed, but I have not played too much with it.

    [root@himalaya scripts]# vmware-vim-cmd vimsvc
    Commands available under vimsvc/:
    auth/             login             task_cancel       task_list
    connect           logout            task_description
    license           property_dump     task_info
    

    Again, these are undocumented, unsupported and the behavior will vary =)

    I advise to use the VI API (Powershell or VI Perl Toolkit) to accomplish your tasks, and you can even take a look at some of the utilities that are available with the VI Perl Toolkit Utilities: http://www.vmware.com/support/developer/viperltoolkit/viperl15/doc/perl_toolkit_utilities_idx.html

    =========================================================================

    William Lam

    VMware vExpert 2009

    Scripts for VMware ESX/ESXi and resources at: http://engineering.ucsb.edu/~duonglt/vmware/

    repository scripts vGhetto

    http://Twitter.com/lamw

    If you find this information useful, please give points to "correct" or "useful".

  • iMessage is stuck at waiting for Activation.

    Hello

    I have iPhone 6 Plus with iMessage stuck waiting for activation. May that what's wrong with it? These are the work with other vendors if I insert the sim card. Is it something to do with the question SMS relay or something else?

    Need help to solve my problem.

    Thanks in advance.

    If you get an error when you try to activate FaceTime - Apple Support or iMessage

  • iMessage and FaceTime says "Waiting for activation...". »

    My 5s iPhone keeps saying "Waiting for activation...". »

    How to solve this problem?

    See the following: If you get an error when you try to activate FaceTime - Apple Support or iMessage

  • Wait for activity on front panel

    Hello

    I have a while loop with a counter (shift register), in which Im can choose how many times its going to count. This loop is used to allow a data in a economy another loop via a local variable to activate it on the VI "write to messurement.

    Now, I wish that my loop counter to count the selected number and then stop, until I press some activate button on the front panel.

    My idea is to use the "wait for activity of façade" in the loop of the meter, to "stop" the loop when the number cunted is reached and then continue, if a key is pressed.

    But I can't really understand how to operate :-(


  • I bought the subscription Amazon to adobe cc says, but is waiting for activation by the seller

    I bought the subscription Adobe cc says, but is waiting for activation by the seller

    Hello

    Your account is created in Panama as a country, please create a new account, and select U.S. as the country.

    Following the steps described here change the country associated with your Adobe ID which should solve the problem.

    ^ Ani

  • Script to wait for Clone task is completed

    Good day, as part of the post, I run a command that enables the NIC and sets the right Port-Group of cloning process. I put a sleep command in each environment is diferrent, so I find myself always change this duration of sleep because the cloning process does not end in the time of sleep and the rest of the script fails. So in order to get rid of the sleep control that I want to capture the CloneVM_Task and pass this parameter to wait-task that will force the completion of the ClonVM_Task. I could just make sure no other tasks are running but this task, but as we all know that alays can't be the case. So that's what I did.

    I begin a deployment of FVO to have an another long running task. Then I run the script.

    If ((Get - PSSnapin - name Vmware.VimAutomation.Core - ErrorAction SilentlyContinue) - eq $null) {Add-PSSnapin "Vmware.VimAutomation.Core"}

    # Virtual Center details
    $server_address = "MYvCenter name" or IP

    SE connect-VIServer-Server $server_Address - user username-pass password - WarningAction SilentlyContinue


    #Create Master VM Templates
    #
    # Here we import the CSV file with the account information and he piped in a Foreach-object
    # Creating a Variable that imports the csv file that contains all data of the virtual machine

    CD "e:\Scripts.
    $InputFile = import-Csv "E:\scripts\mycloneinput.csv".
    $InputFile | {ForEach-Object

    $ip = $_. VM_IPAddress
    $GName = $_. VM_Guestname
    $TName = $_. Template_name
    $HName = get-VMHost "myhostname" # 1 first Select
    $Desc = $_. Description
    $Dstore = $_. Datastore_Name
    $Spec = $_. Customization
    $Folder = $_. Folder
    $Sfolder = $_. Subfolder
    $NIC = $_. NIC
    $NIC_Lable = $_. NIC_Label
    $Gateway = $_. NIC_Gateway
    $SubnetMask = "255.255.255.0".
    $DNS1 = $_. DNS1
    $DNS2 = $_. DNS2

    Write-host "creation: ' $GName
    Write-host "template name is: ' $TName

    # This takes variables and creates the virtual machine
    Get-OSCustomizationSpec $Spec | Get-OSCustomizationNicMapping | »
    Game-OSCustomizationNicMapping - IpMode UseStaticIP - $ip - $SubnetMask subnet mask - DNS IpAddress $DNS1, $DNS2 - DefaultGateway $Gateway
    New-VM-name $GName - location $Folder - model $TName - host $HName - $Dstore - $Desc Description data store - OSCustomizationSpec $Spec - RunAsync-confirm: $false

    #######################################
    #Waiting for cloning process to finish.
    #######################################

    $$$ Under notes show a little history of how I got to this point.

    $$ Note1: the first attempt, I just captured running tasks and their past to the task pending. "Well, since the deploy OVF and ClonVM_Task where it runs would wait up to two when completed by the end."

    $$ Note2: so I added the If Else loop below that failed, because $RTask never equaled only CloneVM_Task, but was a table of two.

    $$ Note3: I tried to us below to separate the two tasks to help

    # $RTask = get-task-status running (who captured the two tasks running)

    # $Array = $Rtask.Split("") (Errored with the method call failed because [System.Object []] contains a method named 'Split'.)
    # So I tried to divide the table like this. ForEach ($Task in $Rtask.Name - Split("")) {Write-Host "my tasks are:" $Task}


    Get-task-status Running | Export-CSV "E:\scripts\Current_Tasks.csv".
    $InputFile2 = import-CSV "E:\scripts\mmca\mmca_Current_Tasks.csv".
    $InputFile2 | {ForEach-Object
    $RTask = $_. Name
    Write-Host "current task is: ' $RTask
    IF ($RTask - eq "CloneVM_Task") {}
    Write-Host "current task of Clonning is: ' $RTask
    Write-Host "in the meantime the cloning process finish.
    Waiting-task-task $MyTask
    }
    Else {}
    Write-Host "no cloning process is executed.
    }
    }

    # This allows the NIC and set the correct Port Group
    Get-VM-name $GName | Get-NetworkAdapter-name $NIC | Together-NetworkAdapter - NetworkName $NIC_Lable-confirm: $false - StartConnected $true

    }

    When I run the present, I get the following:

    # #This shows the task start Clonning #.

    erverId: /[email protected]:443 /
    Status: running
    IsCancelable: true
    PercentComplete: 5
    StartTime: 03/05/2013 00:52:13
    FinishTime:
    ObjectId: VirtualMachine-vm-382
    Result:
    Description: Clone virtual machine
    ExtensionData: VMware.Vim.Task
    ID: Work-task-2070
    Name: CloneVM_Task
    UID: /[email protected]:443 / task = work-work-2070 /

    #########################################################

    # #Runs through the tasks running.

    Current task: deploy the model to the FVO
    No cloning process is executed

    # Ignore deploy it task #.

    # #Matches the If statement and continues to process #.
    Current task is: CloneVM_Task
    Task current Clonning is: CloneVM_Task
    Wait for the cloning process to complete

    # #Error #.

    Waiting-Task: cannot bind parameter 'task '. Impossible to convert the value of 'CloneVM_Task' to type 'System.String' type 'VMware.VimAutomation.Sdk.Types.V1.Task '.
    E:\scripts\Working_Create_Master_Templates.ps1:71 tank: 24
    + Wait-task-task < < < < $RTask
    + CategoryInfo: InvalidArgument: (:)) [waiting-Task], ParameterBindingException)
    + FullyQualifiedErrorId: CannotConvertArgumentNoMessage, VMware.VimAutomation.ViCore.Cmdlets.Commands.WaitTask

    $$$ Under notes show a little history of how I got to this point.

    Note1: The first attempt, I have just captured tasks currently running and pending their past to the task. "Well, since the deploy OVF and ClonVM_Task where it runs would wait up to two when completed by the end."

    NOTE2: So I added the If Else loop below which failed because $RTask never equaled only CloneVM_Task, but was a picture of two tasks.

    Note3: I tried to use the following to divide the two tasks:

    $RTask = get-task-status running (who captured the two tasks running)

    foreach ($Task in $Rtask - Split(""))
    {
    {Write-Host "my tasks are:" $Task}
    IF ($Task - eq "CloneVM_Task") {}
    Write-Host "current task of Clonning is: ' $Task
    Write-Host "in the meantime the cloning process finish.
    Waiting-task-task $Task
    }
    Else {}
    Write-Host "no cloning process is executed.
    }


    }

    # #Output the little script above #.

    Current task: deploy OVF model CloneVM_Task
    My tasks are: deploy
    My tasks are: OVF
    My tasks are: model
    My tasks are: CloneVM_Task
    Task current Clonning is: CloneVM_Task
    Wait for the cloning process to complete
    Waiting-Task: cannot bind parameter 'task '. Impossible to convert the value of 'CloneVM_Task' to type 'System.String' type 'VMware.VimAutomation.Sdk.Types.V1.Task '.
    Online: 11 char: 24
    + Wait-task-task < < < < $Task
    + CategoryInfo: InvalidArgument: (:)) [waiting-Task], ParameterBindingException)
    + FullyQualifiedErrorId: CannotConvertArgumentNoMessage, VMware.VimAutomation.ViCore.Cmdlets.Commands.WaitTask

    I'm new to Powercli and I've scoured Google for a possible answer. I thought I might have a solution that has been published on the VMware PowerCLI Forum, but I couldn't get this to work. Any help would be greatly appreciated.

    #########################################

    I wasn't worried about how to tasks where splits, unless I was trying to follow the import fo the OVF, so that the script went into the loop If and as one of the names for CloneVM_Task then he Treaty. But I got the same error I did in the last version of the above script. That's why I have the version curent thinking that if I exported and then imported the tasks it might make a difference.

    I'm new to Powercli and would like a little help. I am either very close or by a mile off. :-)

    Thank you

    Mitch

    Why don't you store the the task object that is returned when you use the RunAsync switch?

    You can create a loop around the State and wait until the clone job is done.

    $task = New-VM -Name MyVM ... -RunAsync 
    
    while($task.ExtensionData.Info.State -eq "running"){
      sleep 1  $task.ExtensionData.UpdateViewData('Info.State')
    }
    

    The big difference with the Wait-job cmdlet, it is that this will allow you to perform additional work in the While loop.

    Waiting-task the cmdlet waits just until the task is finisned and you can not do anything else.

  • waited for the parent session complete

    Hello

    I have a situation, where I have to put scenarios of execution in a package of ODI

    Let me explain


    package1 - scen1-> scen2-> scen3

    Package2 - scen4-> scen5-> scen6

    Package3 - scen7-> scen8-> scen9

    now I have to build a main package, where I call especially packages

    as

    PACKAGE FOR THE MAIN:
    package1_scen-> package2_scen-> package3_scen


    now I have to wait for lot 1 and all scenarios within package1 is completed before package2 started and same for package3


    I tried with odiwaitforchild session and running packag21_scen, package2_scen, package3_scen in synchronous mode

    but when I started the main package of all the scenarios running concurrently.


    can anyone suggest how to achieve this.

    Published by: 916710 on March 1, 2012 01:30

    Then exactly what problem faced while executions of pkg, are you generate script for internship (pkg) or not.

    scenario for each package to generate and put all the scenarios in a new package.

    See you soon,.
    Surya.

  • "Wait for activity of façade" - Timeout?

    The function to wait for Front Panel activity has no output to tell if it has expired or detected activity of façade. Is there a way to output a Boolean value true if the service expires as opposed to the detection of the activity of the public Service?

    If not, is there another functions I could combine to create a work around?

    James

    Hi James,

    This should work for you.

    Mike

  • waiting for a task to complete

    During the planning of a work like this:

    () dbms_scheduler.create_job
    job_name = > a_prog_name | "_JOB."
    job_type = > 'executable. "
    job_action = > a_local_dir | '\' || File1 | ' > null',.
    enabled = > true,
    auto_drop = > true
    );


    Is it possible to wait for the work to be done before treatment can continue?

    Thank you
    Thomas

    Hello

    You can do this by leaving enabled-false online during the creation of employment and then by doing a run_job on the job. The run_job (with use_current_session-online true) will execute the task and wait for it to finish. If you do this, you will also need to manually deposit work using drop_job.

    Hope this helps,
    Ravi.

  • signed and paid for the 'Quick Again' service not received service not wait for activation, no response, placed on don't hold forever

    I signed up for the program called 'Fast Again'

    and paid for by (internet) credit card.

    When trying to confirm the membership for the service, repeatedly cautioned, could not make contact.

    The only info I can provide that appears on the internet is

    This so-called pastword . Please help or funds to my card account. Thank you!

    Leilea

    See the answer in the following thread

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_other-performance/is-fastagain-PC-booster-a-product-of/10a95a83-adf6-47E1-A331-9f2360236ef4

  • IMessage waiting for activation

    I am from Pakistan.

    My iMessage used to work fine on my local number. Until one day it stopped working.

    Now, it shows an error "an error occurred during activation. Try again"after a message comes that cool sms will be deducted after clicking the activation button.

    I tried almost everything, but nothing works.

    Includes sign out and sign back Apple ID and do the infamous plane trouble too

    Kindly help please

    OK, first you must pass the parameter and choose which messages to send and I touch receiver option symbol delete the id of that disconnect your apple which means ID in the

    same screen upward on the Center,

    and reconnection even apple ID and number

  • Photography purchased subscription plan and I'm still waiting for activation 3 days later - is - this normal? I disconnected CC, restarted my machine and reconnected again.

    I disconnected CC, restarted my machine and reconnected again.

    Hi Mark,

    If I see the records, the order already and you can use it.

    Please see the steps mentioned in the links above.

    Hope that will solve your problem.

    Kind regards

    Hervé Khare

  • Waiting for a transition to be completed?

    I use Tweener.AddTween () to apply some transitions to my sprites who say quarter of a second. Once the transition is complete, I need to do something else. The problem is the line immediately after the transition is executed immediately (it does not wait for the transition to complete) and all that mess up. Is it possible in a synchronous way expect the transition ends without taking CPU in a loop, etc.?

    Hey p3pp3r,

    There is a setting for the tweener Oregon 'onComplete' call that performs a function is completed. It goes right into the addTween method.

    Here are more details on the onComplete parameter (along with several other more useful):

    http://hosted.Zeh.com.br/Tweener/docs/en-us/parameters/index.html

    example:

    Tweener.addTween(myobj, {x: 45, onComplete: myFunction});
    

    hope that helps. Good luck!

  • Wait for the entry?

    Hi all

    I need to create a custom entry dialog box and the problem I encountered is that I can't figure out how to make my request to wait for the user to complete the entries in the framework. When you use a JDialog or JOptionPane application will stop running and wait for the dialog box to close. My question is how to do something similar without using a JOptionPane or JDialog. I just can't figure out how to get the same effect by using a JFrame or other component. I know I could just use a JDialog or JOptionPane to get input from the user, but I'm just curious to know how I can stop running and wait for the entry as the JOptionPane allows you to do, but without using a JOptionPane or JDialog.

    Thank you for your help :)
    Nathan D.

    -----
    : Edit:
    I forgot to mention that the reason main I avoids JDialogs is I need the entry dialog box to be internal not external application I use mode exclusive fullscreen. And a JOptionPane does not allow me to add the other components too it such as JLabels and other GUI. I just need a way to get input from a component or internal window and wait for the entry as a JOptionPane or JDialog.
    -----

    A NBS are:

    import java.awt.event.*;
    import java.awt.*;
    import javax.swing.*;
    
    
    
    public class Main extends JFrame implements ActionListener {
    
        /**
         * @param args the command line arguments
         */
        public static void main(String[] args) {
            new Main();
        }
    
    
        JButton go = new JButton("Show custom input dialog");
    
        public Main() {
            setSize(300,150);
            setLocationRelativeTo(null);
            setLayout(new FlowLayout());
            go.addActionListener(this);
            add(go);
            setVisible(true);
        }
    
        public void actionPerformed(ActionEvent e) {
            InputDialog d = new InputDialog();
    
            /*
             * Here is the problem it is necessary that I create a
             * custom input dialog to allow further modifications however
             * i'm not sure how to wait for the user to enter text and press
             * continue in that input dialog. Unlike JOptionPane the code executes
             * before the user presses continue. My question is how do I wait for the user
             * to press continue in the InputDialog before I call d.getString(); without making the main
             * application unresponsive.
             */
    
            String returnValue = d.getString();
            System.out.println("return value "+returnValue); //will be null or empty because application doesn't wait for input.
        }
    
    
        class InputDialog extends JFrame implements ActionListener {
            JTextField f = new JTextField();
            JButton go = new JButton("Continue");
    
            public InputDialog() {
                setTitle("Custom Input Dialog");
                setSize(300,150);
                setLocationRelativeTo(null);
                setLayout(new FlowLayout());
                f.setPreferredSize(new Dimension(100,25));
                go.addActionListener(this);
                add(f);
                add(go);
                setVisible(true);
            }
    
            public void actionPerformed(ActionEvent e) {
    
            }
    
            public String getString() {
                return f.getText();
            }
        }
    }
    Published by: neptune692 on January 3, 2011 13:25

    neptune692 wrote:
    .. a JOptionPane does not allow me to add the other components too it such as JLabels and other GUI. ..

    Of course, it does!

    import java.awt.event.*;
    import java.awt.*;
    import javax.swing.*;
    
    public class DumbNameMain extends JFrame implements ActionListener {
    
        /**
         * @param args the command line arguments
         */
        public static void main(String[] args) {
            new DumbNameMain();
        }
    
        JButton go = new JButton("Show custom input dialog");
    
        public DumbNameMain() {
            setSize(300,150);
            setLocationRelativeTo(null);
            setLayout(new FlowLayout());
            go.addActionListener(this);
            add(go);
            setVisible(true);
        }
    
        public void actionPerformed(ActionEvent e) {
            JTextField f = new JTextField(10);
            JButton go = new JButton("Continue");
            JPanel p = new JPanel(new FlowLayout());
            p.add(f);
            p.add(go);
            JOptionPane.showMessageDialog( this, p );
    
            String returnValue = f.getText();
            System.out.println("return value "+returnValue);
        }
    }
    

Maybe you are looking for

  • connect to TM after reformatting HD

    Recently, I had to have my hard drive reformatted.  When OS X was reinstalled, another name was given to the hd computer and user names used prior to the relocation.  Now TM does not recognize the structure of the files from previous backups.  Is the

  • How to get to settings

    I want to go into the settings

  • Equium A110: Toshiba Disc Creator hangs

    I have an A110 with XP loaded such that provided and I use * Toshiba Disc Creator * (because they told me Toshiba has extinguished windisc because she would be in conflict). The problem is when I burn a CD of data for backups of photo etc., the opera

  • All-in-one HP OfficeJet 8610: All in one HP 8610 does not print right to police

    Hello you just bought a new HP all-in-one officejet 8610 to replace my 8600. I use a police - Babylon5 hollow - to print a message (like "COPY") to the text, in red (but result in black or any other color is the same). While my 8600 (and all my other

  • FLTMGR_FILE_SYSTEM ERROR/WINDOWS XP

    I have a windows xp service pack 3. : ERROR FLTMGR_FILE_SYSTEM 0X000000F5. How can I fix? Please notify. Thank you Olanmila