Remove dependencies from running processes
We have openSSH running on a number of Solaris 10 servers. I want to upgrade the SSH version, however in running "svcs -p", there are a number of dependent processes. Running "svcadm disable ossh" will stop these dependencies.
How do I disable openSSH without affecting the running dependencies?
Thanks
Garry
# svcs -p ossh
STATE STIME FMRI
online Sep_02 svc:/network/ossh:default
Jun_22 290 sshd
Jun_22 306 sshd
Jun_22 308 bash
Jun_22 341 bash
Sep_02 1148 sshd
12:25:38 1314 svcs
Sep_04 1388 sqlplus
Sep_04 1516 vim
Apr_15 1615 oracle
Sep_03 2172 bash
4:10:01 2518 oracle
4:11:16 2623 oracle
9:00:27 2902 oracle
9:03:02 3153 oracle
9:03:03 3158 oracle
Apr_07 3325 oracle
Apr_07 3351 oracle
Apr_07 3353 oracle
Apr_07 3355 oracle
Sep_14 3560 oracle
Sep_14 3562 oracle
Sep_14 3565 oracle
Sep_14 3567 oracle
Sep_14 3569 oracle
Sep_14 3571 oracle
Sep_14 3574 oracle
These are not dependencies, strictly speaking, but associated processes. They run because they are linked to the contract of the underlying service.
This doesn't prevent you from upgrading the service, mind you. Since the service/process relationship is in-memory, you can upgrade the underlying files no problem. But at some point you will have to restart/refresh the service to bring the upgraded executables into play.
Similar Messages
-
How to create Instace of another process from running process.
Hi,
I want to create an instance of another process from my running process. Along with this i want to pass a business object as input parameter to this instance. Please help me to do this !!!This and other ways to create an instance in another process was described in Re: create new process instance
1. Here's how you can create an instance in a process using logic in an Automatic activity's method. This uses the "Fuego.Lib.ProcessInstance.create()" method shown below inside a process:
// "argsIn" is an associative string array (Any[String])
argsIn as Any[String]
// this assumes that the Begin activity has two argument variables
// named "nameArg" (a string) and "myBpmObjectArg" (a BPM
// object variable) and you're setting them
// to the previously initialized variables "name" and
// "myBpmObject" respectively
argsIn["nameArg"] = name
argsIn["myBpmObjectArg"] = myBpmObject
// logic here to determine the name of the process to create an instance in
idOfProcess as String
idOfProcess = <hard coded string that has the id (not the name) of the process to instantiate>
ProcessInstance.create(processId : "/" + idOfProcess, arguments : argsIn,
argumentsSetName : "BeginIn") ProcessInstance is in the Catalog inside Fuego.Lib.
The processId parameter (the "idOfProcess" variable in the above logic) is the thing I most commonly screw up with this. It is the text you see when you right mouse click the process in the Project Navigator tab -> "Properties". Look at the value in the "Id" field and not the "Name" field here (the name without any space characters). Prefix it with a "/" as is shown here and if you've deployed this using an organization unit (OU) then prefix this to the string also.
The third parameter is almost always "BeginIn". Begin activities in a process can have many incoming argument mappings, the default is "BeginIn". To see yours, double click the process's Begin activity and look at the mapping's name in the upper left corner of the dialog.
"argsIn" is the set of incoming argument variables you want passed into the process. A common mistake is to type in the names of the incoming argument variables without the double quotes like this:
// this will *NOT* work
argsIn[nameArg] = name
argsIn[myBpmObjectArg] = myBpmObject
. . .Here is the correct syntax:
// this *WILL* work
argsIn["nameArg"] = name
argsIn["myBpmObjectArg"] = myBpmObject
. . .In this example, the process has two argument variables. It does not matter if the incoming argument variables are primitive type arguments (e.g. String, Integer, Decimal...) or BPM Objects, it is always done the same way. In this example, there is a String incoming argument called "nameArg" and a BPM Object incoming argument called "myBpmObjectArg".
2. A process can create a new instance in another process using the Subflow activity which synchronously creates an instance in a child subprocess and waits for the result to return once the instance in the child subprocess reaches the End activity in the process. From the parent process, you'd match the incoming and outgoing argument variables of the called child process with instance variables in your parent process.
3. A process can create a new instance in another process using the Process Creation activity which asynchronously creates an instance in a child subprocess (fire and forget) but does not wait for the child to respond to the parent. Once the child process begins, the parent continues its flow. From the parent process, you'd match the incoming argument variables of the called child process with instance variables in your parent process.
Dan -
Removing Threads from the Process
Hi,
I have a client/server application.Only 6 clients can be connected to the server.
Server updates the clients at a specific time interval. My thread count is keep on increasing even if I close some clients.I am able to see that from the Task manager-process.
Is there any way I can reduce the thread count if a client is killed.Is it due to JVM problem?
Regards,
vimalWell, threads only close when the run method exits. So I guess your connection threads are waiting indefinitely on a socket call to the client which has disappeared. Have you set a timeout on the socket? That should cause a lost connection to throw a SocketTimeoutException (from the read/write call). Catch this exception and close the service thread gracefully.
-
How do I remove the coloured bars from running down the side of my emails.
How do I remove the coloured bars from running down the side of my emails.
Hi
The setting I have in Composing are-
Composing
Message Format - Rich Text
In addressingonly have tick in When sending to a group
Responding - tick only the first two boxes
Last only the bullet for Include selected text
Hope htis helps -
I currently run Windows 7 on my Imac through a Virtual Machine format with the Parallels software. I now wish to remove Windows from the VM restore the Hard Drive to a single partition then install windows 7 using bootcamp. How do I go about it
The virtual machine isn't a partition on your hard drive, it's just a file. You can delete the vm by going into Paralells preferences or just drag t to the trash. Bootcamp will partition your hard drive for a Win 7 install.
-
Is it possible to run process chain from the certain process/point?
Hello
Is it possible to run process chain from the certain process?
How?
ThanksHello,
yes it possible! use the following steps.
1. Goto the process which you want the chain to start from.Goto display messages>> Chain tab. In the generated instance note the variant and instance.
2. Goto table RSPROCESSLOG and give variant and instance and get logid details.
3. t codese37>> run FM RSPROCESSFINISH.
4. give the deatils u have got in RSPROCESSLOG table here and say execute.
This will solve ur problem.
Hope this helps!
Reg
Deepmala -
Start a new process from a running process BPM 10.3 STUDIO!
Is it possible to create a process in BPM Studio 10.3 from a running process.
The scenario is that we have a process running listening to a jms queue an when a message
arrives it's starts the process that was requested in the in message.
/Getrif you have a Global Automatic activity listening to a JMS queue, here's how you can create a new work item instance in a process using logic in the Global Automatic activity's method. This uses the "Fuego.Lib.ProcessInstance.create()" method shown below:
// "args" is an associative string array (Any[String])
argsIn as Any[String]
// this assumes that the Begin activity has two argument variables
// named "nameArg" and "amountArg" and you're setting them
// to the variables "name" and "amount" respectively
argsIn["someArgVarName"] = "Hello"
argsIn["someBpmObject"] = myBpmObject
// logic here to determine the name of the process to create an instance in
idOfProcess as String
idOfProcess = <hard coded string that has the id (not the name of the process to instantiate>
ProcessInstance.create(processId : "/" + idOfProcess, arguments : argsIn, argumentsSetName : "BeginIn") ProcessInstance is in the Catalog inside Fuego.Lib.
The processId parameter (the "idOfProcess" variable in the above logic) is the thing I most commonly screw up with this. It is the text you see when you right mouse click the process in the Project Navigator tab -> "Properties". Look at the value in the "Id" field and not the "Name" field here (the name without any space characters). Prefix it with a "/" as is shown here and if you've deployed this using an organization unit (OU) then prefix this to the string also.
The third parameter is almost always "BeginIn". Begin activities in a process can have many incoming argument mappings, the default is "BeginIn". To see yours, double click the process's Begin activity and look at the mapping's name in the upper left corner of the dialog.
"argsIn" is the set of incoming argument variables you want passed into the process. A common mistake is to type in the names of the incoming argument variables without the double quotes like this:
// this will *NOT* work
argsIn[someArgVarName] = "Hello"
argsIn[someBpmObject] = myBpmObject
. . .Here is the correct syntax:
// this *WILL* work
argsIn["someArgVarName"] = "Hello"
argsIn["someBpmObject"] = myBpmObject
. . .In this example, the process has two argument variables. It does not matter if the incoming argument variables are primitive type arguments (e.g. String, Integer, Decimal...) or BPM Objects, it is always done the same way. In this example, there is a String incoming argument called "someArgVarName" and a BPM Object incoming argument called "someBpmObject".
Dan -
JList run time errors when removing items from list
Hi there
I am having trouble removing items from a JList. For a While it was working fine and now it outputs runtime errors everytime samething gets removed from the lsit
Here is the code
//declare
public class Consumertab1gui extends JPanel implements ActionListener
public static JList conList = null;
private static DefaultListModel model = null;
// Create a list with some items
model = new DefaultListModel();
conList = new JList(model);
//set the size of cells in the list with the length of the string
conList.setPrototypeCellValue("Lenght 1234567890");
conList.setSelectionMode(ListSelectionModel.SINGLE_INTERVAL_SELECTION);
conList.addListSelectionListener(new ValueReporter());
//set a scroll onto the list
JScrollPane conScroll = new JScrollPane(conList);
add(conScroll,c);
//when the button gets pressed to drop the selected item the following code is called
private void dropConsumer()
int selItem=0;
componentsV.comVRemove(conList.getSelectedValue().toString());
selItem=conList.getSelectedIndex();
System.out.println("No:"+(model.getSize()-1));
System.out.println("S:"+selItem);
remConList(selItem);
dropCon.setEnabled(false);
//which in turns calls this
public void remConList(int pos)
model.remove(pos);
when the model.remove(pos) code is executed the following runtime errors are given:
java.lang.NullPointerException
at Consumertab1gui$ValueReporter.valueChanged(Consumertab1gui.java:197)
at javax.swing.JList.fireSelectionValueChanged(JList.java:1321)
at javax.swing.JList$ListSelectionHandler.valueChanged(JList.java:1335)
at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:187)
at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:167)
at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:214)
at javax.swing.DefaultListSelectionModel.removeIndexInterval(DefaultListSelectionModel.java:546)
at javax.swing.plaf.basic.BasicListUI$ListDataHandler.intervalRemoved(BasicListUI.java:1561)
at javax.swing.AbstractListModel.fireIntervalRemoved(AbstractListModel.java:160)
at javax.swing.DefaultListModel.remove(DefaultListModel.java:478)
at Consumertab1gui.remConList(Consumertab1gui.java:38)
at Consumertab1gui.dropConsumer(Consumertab1gui.java:58)
at Consumertab1gui.actionPerformed(Consumertab1gui.java:46)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
at java.awt.Component.processMouseEvent(Component.java:5100)
at java.awt.Component.processEvent(Component.java:4897)
at java.awt.Container.processEvent(Container.java:1569)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
at java.awt.Container.dispatchEventImpl(Container.java:1613)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
can anyone spot any mistakes in the code or suggest possible resons as to why these run time errors occur?
Thanks
alexisjava.lang.NullPointerException
at Consumertab1gui$ValueReporter.valueChanged(Consumertab1gui.java:197)The NullPointerException occurs at line 197, in the valueChanged method of your ValueReporter inner class. I have looked through your post several times but I don't see where you posted that method. Anyway, that is where you should look.
PC² -
Running process flow from sqlplus
hi everyone,
using sqlplus_exec_template.sql to run process flow.
but message keeps appearing that task is not found
I have an oracle workflow repository on another server.
what should I use as parameters?
for example location name?
thank you
owen veenemanHi
If you can create the Process Flow code, you can deploy and execute from SQLPLUS as follows.
1. First you have to compile the package from SQLPLUS into you target get schema. For example. SQL>@c:\package.pls.
2. Then find out the prarmeter from function main of the package. Write a simple code as follows and run it from SQL. Just substitute whatever applicable to you.
declare
V_PROCESS_CODE VARCHAR2(10);
V_FREQUENCY_CODE VARCHAR2(1);
V_RETCODE NUMBER(10);
V_WB_RT WB_RT_MAPAUDIT.WB_RT_NAME_VALUES;
begin
V_PROCESS_CODE := 'CF_SUMM;
V_FREQUENCY_CODE := 'D';
v_retcode := DM_CASHFLOW_SUMM_MAP.main(V_PROCESS_CODE, V_FREQUENCY_CODE, V_WB_RT);
dbms_output.put_line(v_retcode || ' Retcode.');
end; -
iTunes won't install everything it needs to run. I remove it from my computer and reinstall it and it keeps saying it. I am using Windows 7 and the latest update from iTunes.
What does the error message say when you install iTunes and it fails?
This post was edited by Malignance -
Deleting running processes from Guided Procedure runtime
Dear all,
Does anybody know how to delete running process i.e. incomplete process from Guided Procedure runtime dashboards. The administration workset contains archiving & deleting sections but they can only delete if a process is completed or Erronous or Terminated.
In need to delete a running process or incomplete process as some process instances are kicked off and left alone.
Thanks
-BharathHi Ramien,
I suppose you have acces to the executionContext of GP...
You can use the following method to get the process Id:
String processId = executionContext.getProcessId();
Regards
Sundeep -
I am trying to install Photoshop Elements 12. I get "Your Lic. been use by the maximum allowed computer. The other two laptop both windows 8.1 one been sold the other in for repairs. How do I remove them from my Adobe profile?
It need to be removed from the computer you sold with it activated on. If you want to use that activation on a different computer. If you wiped that computer you need to contact Adobe this is a user forum users here do not have access to Adobe Activation servers and databases.
-
MAC Pro, error:You need 4.93 GB of available space to download OS X Mavericks. Remove items from your startup disk to increase available space.
Where do I locate the startup disc?The startup disk is your hard drive, where you store all your programs and data. Probably named Mac HD in Finder. Read this:
https://discussions.apple.com/message/24370185#24370185 -
How can I remove files from the startup disk
I am getting a screen when I am trying to quit saying the "MAC OS X startup disk has no more space available for application memory" by closing the windows and removing files from the startup disk will help.
How do I do this?That error message is misleading. Your problem is excessive swapping of data between physical memory and virtual memory.
That can happen for two reasons:
You have a long-running process with a memory leak (i.e., a bug), or
You don't have enough memory installed for your usage pattern.
Tracking down a memory leak can be difficult, and it may come down to a process of elimination.
In the Activity Monitor application, select All Processes from the menu in the toolbar, if not already selected. Click the heading of the Real Mem column in the process table twice to sort the table with the highest value at the top. If you don't see that column, select
View ▹ Columns ▹ Real Memory
from the menu bar.
If one process (excluding "kernel_task") is using much more memory than all the others, that could be an indication of a leak. A better indication would be a process that continually grabs more and more real memory over time without ever releasing it. Here is an example of how it's done.
The process named "Safari Web Content" renders web pages for Safari and other applications. It uses a lot of memory and may leak if certain Safari extensions or third-party web plugins are installed. Consider it a prime suspect.
If you don't have an obvious memory leak, your options are to install more memory (if possible) or to run fewer programs simultaneously.
The next suggestion is only for users familiar with the shell. For a more precise, but potentially misleading, test, run the following command:
sudo leaks -nocontext -nostacks process | grep total
where process is the name of a process you suspect of leaking memory. Almost every process will leak some memory; the question is how much, and especially how much the leak increases with time. I can’t be more specific. See the leaks(1) man page and the Apple developer documentation for details. -
A workaround was suggested by a member of the community to turn off both hardware and Flash acceleration. It worked fine (no crashes since), but runs very slowly. In particular, takes five seconds to exit and is often still listed as a running process. Very slow in connecting to Web pages, and very slow loading them because of the graphics. Very slow in loading video. I expected slower responses, but this is REALLY slow. I'm running 64-bit Windows 7 and an Nvidia GE Force 7800 graphics card with all the drivers updated and the plugins for Firefox mostly set on "ask to activate". Should I expect this much reduction in performance when the workaround I mentioned was put into place? If so, it's half a loaf at best. The only thing questionable is that I have two Youtube downloaders that I am trying, but I made the assumption that these were only applied when you downloaded something from Youtube.
In case you are using "Clear history when Firefox closes": do not clear the Cookies
If you clear cookies then Firefox will also try to remove cookies created by plugins and that requires to start plugin-container processes that can slow down closing Firefox.
Instead let the cookies expire when Firefox is closed to make them session cookies.
*Firefox/Tools > Options > Privacy > "Use custom settings for history" > Cookies: Keep until: "I close Firefox"
Maybe you are looking for
-
"Camera is in use by another application" error with built-in iSight
This message pops up if I try to do video preview in iChat or try to open Photo Booth. There are no other applications running that I can tell and I have unplugged all USB and firewire cables. Also performed a reinstall of bundled software from the T
-
Inbound idoc MATMAS - find userexit to map extension
Hi ! I have an inbound IDOC MATMAS04 with a specific extension. I need to map the fields of the extension : some of them into an append of MARA, some others into characteristics. <b>I can't find the user exits I need.</b> I guess there are 2 of them.
-
Hey Folks: We have these fields in PAYR table called PRINT DATE and CHECK NUMBER. I am looking for a substitute fields in BSAK (vendor cleared items) for PRINT DATE and CHECK NUMBER. Please also let me know if we have substitute for PAYMENT DATE in B
-
What would you recommend me to do in Oracle Form Builder as a beginnner?
I am a beginner in Oracle Form Builder and can anyone recommend a list of tasks/assignments I could try as I barely any projects at work currently ? I have been able to query items in a database(table) by creating a control/dummy block. What list of
-
Hi, Could you please help me in understanding below issue. I have installed ODI 10.1.3.5 in my system and configured Master & Work repository successfully. I logged into Designer, when I right cilck on Package/ any object none of the options are comi