1833196 Members
2938 Online
110051 Solutions
New Discussion

Process Dies ??

 
Amit Dixit_2
Regular Advisor

Process Dies ??

HI,
I have an Install script which installs
Informix, weblogic and my CODE binaries
written in C.

When my Code fails to start during
installation, the most strange part is
all weblogic daeomin which were started
by the scriptalso gets killed ??
though these processes are not interlinked.

why is it so ??
The script is starting the process in
background and informix keeps on running
why is it that that weblogic dies ?

command which is starting weblogic is
startWebLogic.sh &

Please help me with this.

Thanks,
Amit
3 REPLIES 3
Eugene Klaus
Frequent Advisor

Re: Process Dies ??

Amit,

The script is the parent process.
When calling other processes use nohup as
a precursor of the process and regardless
whether others die it won't.

hope this helps

Gene
I have promises to keep and miles to go before I sleep and miles to go before I sleep
Amit Dixit_2
Regular Advisor

Re: Process Dies ??

Hi,
How can I call the process with HUP.

Thanks,
Amit
Dave Olker
Neighborhood Moderator

Re: Process Dies ??

Hi Amit,

The nohup(1) man page explains how to start processes with the hangup signal blocked.

Regards,

Dave


I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo