Skip to main content

How to Nohup Osagent?

  • February 16, 2013
  • 0 replies
  • 0 views

Problem:

  • Product : VBC45
  • JDK:NA
  • Platform : HP-UX 11.11

When an osagent process is brought up in the background with a "nohup" and the user exits that shell - the osagent process exits too as though a "nohup" command was never issued.


Resolution:

This occurs when the login shell is korn or bourne shell. In VBC 4.5 patch 29 a signal handler was added to osagent for SIGHUP which over-rides the default behavior. Since the bourne/korn shell implementation of "nohup" simply changes the default behavior this handler also over-rides it. A command line option was added to osagent to re-establish to previous behavior. The option is "ignoreSignal hup" and it should be used as follows:

nohup osagent ignoreSignal hup &


#nohup
#VisiBroker
#Security