Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2004
    Posts
    1

    Exclamation Unanswered: nohup doesn't work, why

    I tried to use nohup to background running a process. However, after I exiting the shell, the process dies. Any idea?

    Here is the one that always failed:
    $ nohup bnddc_510.sh&
    15240
    $ Sending output to nohup.out

    $ ptree|grep 15240
    15240 /usr80/apl/bse/cware/baan/std/bnddc510 -f /usr80/apl/bse/cware/baan
    15241 /bin/sh /usr80/apl/bse/bin/bshell6.2.solar 15240 321 7 8 -set SPE
    15242 /usr80/apl/bse/bin/bshell6.2 15240 321 7 8 -set SPECIAL_SERVER=
    15243 oracle8 (cware510[cwaretst]:15242/PIPE<cwaretst@garnet:15240>

  2. #2
    Join Date
    Jan 2004
    Posts
    18
    what kind of processes do u run in your shell script?

    for example I have a shell script to run some j2ee applications, but the old java version had a bug so I cannot logout shell if I logout my processes will die like yours, so I have to run from system console without logout
    Murat SULUHAN
    Live Free or Die

  3. #3
    Join Date
    Feb 2004
    Location
    Paraguay
    Posts
    1

    Re: nohup doesn't work, why

    what shell are you using ? nohup only works for sh (and bash). It doesn't works with ksh.

  4. #4
    Join Date
    Jun 2002
    Location
    UK
    Posts
    525

    Re: nohup doesn't work, why

    nohup only works for sh (and bash). It doesn't works with ksh.
    ?

  5. #5
    Join Date
    Dec 2003
    Posts
    56
    what shell are you using ? nohup only works for sh (and bash). It doesn't works with ksh.
    Strange I only use ksh and nohup has always worked for me.....

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •