Opmnctl: graceful stop of processes failed, trying forceful shutdown...

Hi Guru's
I have installed BI for my billing system on HP-UX 11i , with application server 10.1.2.0.2.
Last thursday we suffered from sudden power failure and all our servers went off.
After rebooting everything, opmnctl wasnt starting, so after further digging it turned out that the problem was with the dcm.conf file and quickly found it was cleared and had a 0 byte size. So, I copied the .bak file to the original name.
After that, all the services start gracefully apart from the HTTP Server which doesnt.
The logs are pasted below:-
/bi/appl/oracle/ORABI/102/opmn/bin$./opmnctl stopall
opmnctl: stopping opmn and all managed processes...
================================================================================
opmn id=biapps:6201
10 of 11 processes stopped.
ias-instance id=ORABI.biapps
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ias-component/process-type/process-set:
HTTP_Server/HTTP_Server/HTTP_Server
Error
--> Process (pid=2302)
time out while waiting for a managed process to stop
Log:
/bi/appl/oracle/ORABI/102/opmn/logs/HTTP_Server~1
opmnctl: graceful stop of processes failed, trying forceful shutdown...
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Kindly assist me as there are bosses of mine breathing down my neck.
Thank Rajab.

There isn't a direct way to avoid OPMN having to try graceful stop first and directly go for force stop. But what you can do though is reduce the amount of time it waits for graceful stop request to finish (the timeout). For that you can change (reduce) the value of "timeout" attribute of <stop> element for the component in your $ORACLE_HOME\opmn\config\opmn.xml file. Refer this for details:
http://download.oracle.com/docs/cd/B14099_19/core.1012/b13996/common.htm#CACIFHJI
You can set the timeout to a very low value.
But keep in mind you should only do it when you understand the side effects of force/kill stop approach. Following explains the difference b/w graceful and forceful shutdown of Apache (same is applicable to OHS as OPMN under the cover uses apachectl to stop OHS):
http://httpd.apache.org/docs/2.2/stopping.html
Hope this helps.
Thanks
Shail

Similar Messages

  • I get the spinning beach ball when I open preview, it wont go away, can i somehow stop the process its trying to do?

    I get the spinning beach ball when I open preview, it wont go away, can i somehow stop the process its trying to do?

    You can quit Preview by selecting it in Activity Monitor and then clicking on the red octagon 'Quit Process'.  That does not solve the issue of the beach ball' as such.  Perhaps. a reinstall of the OS might sole the problem.  That is simply a guess on my part.
    Ciao.

  • I updated to V4 but firefox will no longer open when I click on the icon. I can see that the process has started, but there is no browser display. Stopping the process and trying again does not work. Please advise

    Prior to updating to V4, firefox worked perfectly with all my existing applications. After I updated it will not launch a browser page, even though the process is shown to be operable in the Task Manager. The same problem occurs on start-up of my computer, so there are no previous processes running.
    I cannot launch the broswer at all so cannot try clearing the cache etc or other suggested troubleshooting solutions.

    In the Task Manager, make sure to check both the Applications tab and the Processes tab. On the Processes tab, Firefox may have two different components running: firefox.exe and plugin-container.exe. Well, in 3.5.11, it would be only the first one.

  • Not able to stop OPMN processes using OPMNCTL on AS 10.1.2.0.2

    Hello,
    When trying to stop opmnctl processes using opmnctl following error is coming
    $ opmnctl stopall
    opmnctl: stopping opmn and all managed processes...
    ================================================================================
    opmn id=appsdev2.mpmkvvcl.com:6201
    OPMN is terminating
    opmnctl: graceful stop of processes failed, trying forceful shutdown...
    Unacceptable request: OPMN is terminating
    HTTP/1.1 406 Unacceptable request
    Content-Length: 168
    Content-Type: text/html
    <?xml version='1.0' encoding='ISO-8859-1'?>
    <response>
    <opmn id="appsdev2.mpmkvvcl.com:6201" http-status="406" http-response="OPMN is terminating">
    </opmn>
    </response>
    $
    I also tried opmnctl shutdown but still issue is same.
    Please help thanks in advance

    Looks like something may have been hung. Kill any process still running after a shutdown of opmn and then delete any left over pids files in the states directory. After that you can do a opmn startall.

  • An error has occurred which stopped the processing of the PDF. Trying to convert a .tif file

    I'm new to this conversion system.  I tried several times to convert a .tif file to a .pdf file.  I got the same message every time: "An error has occurred which stopped the processing of the PDF".  What am I doing wrong?

    Hi stefan235235,
    I'm sorry that you're having trouble combining PDF files using Adobe PDF Pack. Does the error occur with all files that you try to combine, or just a select few?
    Make sure that the files you're trying to combine aren't secured, password protected, 3D, or part of a PDF portfolio, as these types of PDFs can't be combined.
    If you're combining supported file types and still getting that error, please try the following:
    Log out and clear the cache. Then log back in to https://cloud.acrobat.com/combinepdf using a supported web browser (see  System requirements | Acrobat.com).
    Try combining smaller groups of files, to see if you can narrow the error down to a specific file or files.
    Please let us know how it goes.
    Best,
    Sara

  • I forgot my passcode, so I was unable to access my phone. I then tried to restore it, but it has frozen during the process. It won't connect to my mac again and I can't stop the process because my lock button is broken. What do I do?

    I forgot my passcode, so I was unable to access my phone. I then tried to restore it, but it has frozen during the process. It won't connect to my mac again and I can't stop the process because my lock button is broken. What do I do?

    My first advice is "Back up the device, then have it replaced."  Second item of advice, "Don't forget your passcode."
    One of the purposes of the lock button is to recover from certain software failures.  Without the lock button, such a recovery is nearly impossible.  My advice would have served you best when the malfuction first developed, not after you forgot your passcode.

  • HT2155 I'm trying to verify but it's taken 15 mins - how do I stop this process?

    I'm trying to verify but it's taken 15 mins - how do I stop this process?

    Can you play the song in iTunes?
    If you can't the song file is probably corrupt and needs to be replaced.

  • Hello I have a problem with a Wifi Survey app, this app is from Access Agility, however this app was working fine, but without advise stop of working, I tried to open again, but app be close after few seconds.

    Hello I have a problem with a Wifi Survey app, this app is from Access Agility, however this app was working fine, but without advise stop of working, I tried to open again, but app be close after few seconds. Every time that I tried to open it, in diagnostic and use create some files, in special one named LatestCrash-WifiSurvey.plist, this one generate an incident identifier E73B0164-CDFA-4E9E-839E-A0C021BD17A2, but this incident identifier change every time that I tried to open, the last incident identifier is: DE600EB3-AB57-4C33-8DE8-71F6788A7441.
    After of it, I checked that the app had a new version available for downloading, I took a backup of my ipad and then upgrade this app, but is the same problem, all I want is to save the projects I had in this app, I´m afraid that if I delete this app and re-install it, probably I loss my projects.
    Thanks for your help indicating how I can save my projects and see them for example in an iphone for assurance that data is not lost.
    Something that called my attention is part of the log that shows a big CPU processing, but the strange thing is I killed all applications.
    Incident Identifier: E73B0164-CDFA-4E9E-839E-A0C021BD17A2
    CrashReporter Key:   ed0ca1405ce83d4f80cb3cce063d7248d7b76e91
    Hardware Model:      iPad2,5
    Process:         WifiSurvey [139]
    Path:            /var/mobile/Applications/1BEEE35A-85FC-4BE4-B62A-39A930CB3CE2/WifiSurvey.app/Wi fiSurvey
    Identifier:      WifiSurvey
    Version:         ??? (???)
    Code Type:       ARM (Native)
    Parent Process:  launchd [1]
    Date/Time:       2013-08-08 19:01:13.476 -0500
    OS Version:      iOS 6.1.3 (10B329)
    Report Version:  104
    Exception Type:  00000020
    Exception Codes: 0x000000008badf00d
    Highlighted Thread:  0
    Application Specific Information:
    com.accessagility.wifisurvey failed to launch in time
    Elapsed total CPU time (seconds): 20.990 (user 20.990, system 0.000), 52% CPU
    Elapsed application CPU time (seconds): 19.954, 50% CPU

    See:
    iOS: Troubleshooting applications purchased from the App Store
    Contact the developer/go to their support site if only one app.
    Restore from backup. See:
    iOS: How to back up              
    Restore to factory settings/new iPod

  • How to stop message processing based on validation?

    Hello experts,
    I have a requirement to stop message processing in the graphical mapping based on validation results. Here is the scenario - messages are translated using graphical mapping and sent to the target system. An RFC lookup will be done to ECC to determine if the data in the message is good. If the lookup returns a negative result, message processing should be stopped right there.
    I guess we can throw an exception from the mapping to force a failure and stop further processing, but that will cause the message to show up as failed on SXMB_MONI and cause alert emails to be sent out in PROD. Another option will be to supress creation of the root node itself, but I think the message will then fail in the subsequent "call adapter" step if the target schema has a min occurence of 1 for the root node (as in the case of IDocs).
    Is it possible to do it without using BPM?
    Thanks,
    Michelle

    Hi Michelle,
       If your requirement, to stop message processing without sending an alert?
    If yes, then you can have a alert rule, not to trigger alerts on a failure (And to raise an exception based on the result from RFC loookup).
    If your requirement is not to make the message fail, then you have to go for the ccBPM route.
    Best Regards,
    Ravikanth Talagana

  • LS AppDomain Host Process, Failed to start Fabric Pool Manager.

    Hi, 
    Today renewed the
    Certificate in and the server will not start.
    Can someone help me.
    I've tried for several hours to fix it.
    System
    Provider
    [ Name]
    LS AppDomain Host Process
    EventID
    50006
    [ Qualifiers]
    50181
    Level
    2
    Task
    1029
    Keywords
    0x80000000000000
    TimeCreated
    [ SystemTime]
    2015-02-21T22:57:29.000000000Z
    EventRecordID
    6508871
    Channel
    Lync Server
    Computer
    srvlync.itexpert.pl
    Security
    EventData
    System.ApplicationException: Failed to start Fabric Pool Manager. at Microsoft.Rtc.AppDomainHost.Launcher.Initialize(String[] args) at Microsoft.Rtc.AppDomainHost.Launcher.Main(String[] args)
    System
    Provider
    [ Name]
    LS Server
    EventID
    12330
    [ Qualifiers]
    50152
    Level
    2
    Task
    1000
    Keywords
    0x80000000000000
    TimeCreated
    [ SystemTime]
    2015-02-21T23:00:06.000000000Z
    EventRecordID
    6508872
    Channel
    Lync Server
    Computer
    srvlync.itexpert.pl
    Security
    EventData
    C:\Program Files\Microsoft Lync Server 2013\Server\Core\RtcHost.exe
    C3E8302D
    The worker process failed to initialize itself in the maximum allowable time.

    Hi,
    It can be the issue with Windows Fabric service.
    Please try to Repair the Window Fabric Component with the following steps:
    1. Stop Lync Services
    2. Remove Windows Fabric application
    3. Don’t Restart
    4. Install Windows Fabric (C:\Sources\WindowsFabric)
    5. Restart Windows
    6. Confirm Windows
    Fabric Service starts
    Then test the issue again.
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • Stop Itinerary Processing after custom itinerary service

    I have a one-way itinerary that receive a message from file receive location, one of its step is to send a message to sql server. after that the itinerary receive the response from the SQL. I have a custom itinerary service that process the message. The
    custom itinerary service process the message successfully. I want here the itinerary to stop the processing.
    I have tried using ShouldAdvanceStep to false. but I got BizTalk error says "The Messaging engine failed to process a message submitted by adapter:WCF-Custom Source URL:mssql://server//database?. Details:The published message could not be routed
    because no subscribers were found. This error occurs if the subscribing orchestration or send port has not been enlisted, or if some of the message properties necessary for subscription evaluation have not been promoted. Please use the Biztalk Administration
    console to troubleshoot this failure. "
    I don't want the itinerary to route the message to any where else after the custom itinerary service.
    Any Suggestions 
    hassan ibrahim

    Are you using request response Orchestration extender ?
    You are getting ":The published message could not be routed because no subscribers were found." error because your response message is not finding any subscriber in Biz Talk messaging engine . I would suggest to make changes  in your Orchestration
    processing so that it wont publish message instead it will complete the process.
    I would also suggest to enable the BizTalk ESB Toolkit trace switch, add the following <switches> element to the system.diagnostics section of the Machine.config file.
    <system.diagnostics>
    <switches>
    <add name="BizTalkESBToolkit2.2" value="4"/>
    </switches>
    </system.diagnostics>
    Use a tool like DebugView to watch the trace output.
    Thanks
    Abhishek

  • How to stop Oracle Process Manager(Instances) ?

    Hi,
    I have installed OBIEE 11g. For some purpose I tried to stop the Oracle Process Manager(Instances) in services.msc. But it not get stopped its keep showing as stopping.
    Is there any command to force shutdown this serives or is there any other way to stop this?
    Thanks,
    Satheesh

    Hi User6787,
    I have did what you said? while doing that only I got that issue.
    What Saichand told worked well.
    Thanks,
    Satheesh

  • Initializing the Installing Process fails at 50%

    I currently use adobe reader 9.5.2 and receive messages that version XI is available now. I tried to update my version fpr at least 20 times and the initializing program for the installing process always fails at 50 %, even when I deactivate my Norton Security software. Can anybody tell me what to do?

    It worked ! Thanks a lot for Your help!
    Greetings from Germany  
    "Pat Willener" <[email protected]> schrieb:
    Re: Initializing the Installing Process fails at 50%
    created by Pat Willener in Adobe Reader - View the full discussion
    Download the installer from http://get.adobe.com/reader/enterprise/
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5360144#5360144
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: Re: Initializing the Installing Process fails at 50%
    To unsubscribe from this thread, please visit the message page at Re: Initializing the Installing Process fails at 50%. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Adobe Reader by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.
    Andreas Barton
    [signature removed by host]

  • How to stop threads, process, streams when closing a (internal) JFrame?

    Dear all,
    I read a Javaworld article about Runtime.exec(), which will output the process outputs and error outputs to either a file or System.out. Now I want to practice it by outputing the process output/error to a Swing JTextArea. It works fine if the process ends successfully.
    My problem is that I want to stop all the output threads and clear all the streams when user click close JFrame button before the process finished. The code is shown below. Note that this frame is poped up by a click from another main frame. ( it is not exiting the main Swing application). This happened when I want to kill a process when it is running.
    I tried to implements a WindowListener and add
    public void windowClosing(WindowEvent e) to the JFrame.
    Inside this method I used process.destroy() and errorGobbler = null, outputGobbler = null, or outputGobbler.interrupt(), errorGobbler.interrupt(). But all these seems does not work. Sometimes thread was not stopped, sometimes process was not destroyed (because the stream was still print out something), sometimes the error stream was not successfully closed - by printing out interruptted by user error message.
    How can I make sure all the underlying streams and threads, including the PrintStream in StreamGobbler class are closed?
    Again this Frame could be a Dialog or InternalFrame, i.e, when I close the frame, the main frame does not exit!
    import java.util.*;
    import java.io.*;
    class StreamGobbler extends Thread
        InputStream is;
        String type;
        OutputStream os;
        StreamGobbler(InputStream is, String type, JTextArea out)
            this(is, type, null, out);
        StreamGobbler(InputStream is, String type, OutputStream redirect, JTextArea out)
            this.is = is;
            this.type = type;
            this.os = redirect;
        public void run()
            try
                PrintWriter pw = null;
                if (os != null)
                    pw = new PrintWriter(os);
                InputStreamReader isr = new InputStreamReader(is);
                BufferedReader br = new BufferedReader(isr);
                String line=null;
                while ( (line = br.readLine()) != null)
                    if (pw != null)
                        pw.println(line);
                    out.append(type + ">" + line);   
                if (pw != null)
                    pw.flush();
            } catch (IOException ioe)
                ioe.printStackTrace(); 
    public class Test extends JFrame
        private JTextArea output;
        private StreamGobbler outputGobbler;
        private StreamGobbler errorGobbler;
        public Test (String file)
            super();
            output = new JTextArea();
            try
                FileOutputStream fos = new FileOutputStream(file);
                Runtime rt = Runtime.getRuntime();
                Process proc = rt.exec("java jecho 'Hello World'");
                errorGobbler = new
                    StreamGobbler(proc.getErrorStream(), "ERROR", out);           
                outputGobbler = new
                    StreamGobbler(proc.getInputStream(), "OUTPUT", fos, out);
                errorGobbler.start();
                outputGobbler.start();
                int exitVal = proc.waitFor();
                output.append("ExitValue: " + exitVal);
                fos.flush();
                fos.close();       
            } catch (Throwable t)
                t.printStackTrace();
         setSize(400,400);
         show();
    }Thanks !

    Thread.interrupt() doesn't stop a thread. You'll have to read the API for more specifics. You could use something like interrupt to force interruption of the thread for the reason of checking the terminating case though. I believe you would want to use this in the case where operations can take a long time.
    Setting your reference to the thread to be null won't stop the thread since it's running. You just lose your reference to it.
    I believe once the thread stops running your streams will be closed, but possibly not cleanly. Someone who has more knowledge of threads might be able to answer this better, but I would generally say clean up after yourself especially if you are writting out data.

  • How do i stop two processes that are running in activity monitor

    how do i stop two processes that are running in Activity Monitor took one out of trash and it says preparing to move desktop still running with another one been running for hrs now want to stop these many thanks jen.

    Select each one and Force Quit it.
    But be careful there are many processes that are run by the OS that if quit will cause problems possibly even crash the system.
    regards

Maybe you are looking for

  • Can you have more than one movie per page?

    Hi, I am creating a web site and have some movie content on some of the pages. Can you have more than one quicktime file on each page? Reason I ask is that on one page I have put 3 movie files but only one shows up when I run the site online. I am no

  • How to print all information in the contacts

    does anyone know how to print a concise list of everything in your contacts ?

  • Bdoc validation error- BP replication CRM to R/3

    Hi, We are trying to replicate BP from CRM to R/3 after creating the BP with all required fields excluding sales area with classification Customer the BP flows to R/3 but on checking in Smw01 a bdoc is found in error state with the following errors:

  • When I right click on mouse, url opens in same tab

    when I right click link on mouse, url opens in same tab instead of getting dropdown window to choose, open in another tab. how can I right click n open dropdown to select 'open in another tab'? use to work perfectly.

  • Urgent: Can Overtime hours be directly charged to a WBS, Project etc.

    Dear Team: Can Overtime hours be directly charged to a WBS, Project etc. Let me have a Business Solution as well as the SAP solution to do the same requirement. For example: If an employee has worked for a Project - Instrumentation for 8 hours + 4 ho