| Title: | DIGITAL UNIX (FORMERLY KNOWN AS DEC OSF/1) | 
| Notice: | Welcome to the Digital UNIX Conference | 
| Moderator: | SMURF::DENHAM | 
| Created: | Thu Mar 16 1995 | 
| Last Modified: | Fri Jun 06 1997 | 
| Last Successful Update: | Fri Jun 06 1997 | 
| Number of topics: | 10068 | 
| Total number of notes: | 35879 | 
    My customer uses "NOHUP" utility to submit some Oracle script, but
    sometimes he finds that the process disappears. Does anyone have
    this expereince ? 
    
    1) Would anyone tell me how to trace the problem ?
    2) Does it require some process quotas to use NOHUP ?
    
    
    Any advice should be appreciated. 
| T.R | Title | User | Personal Name | Date | Lines | 
|---|---|---|---|---|---|
| 9530.1 | which nohup ? | GIDDAY::STRAUSS | talking through my binoculars | Thu Apr 17 1997 17:57 | 35 | 
|     The man page for nohup mentions two possible areas to watch for ...
    
    	:
      If nohup output is redirected to a terminal or is not redirected at
    all,
      the output is appended to the file nohup.out.  If the file is
    created, the
      permission bits are set to Owner Read and Owner Write (600). If
    nohup.out
      is not writable in the current directory, the output is redirected to
      $HOME/nohup.out.  If neither file can be created nor opened for
    appending,
      utility is not invoked.
    	:
      The csh command contains a built-in subcommand named nohup.  The
    command
      and subcommand do not work the same way.  For information on the csh
      built-in subcommand, see the csh command.  To invoke the nohup
    command, use
      an absolute path (for example /usr/bin/nohup).
    	:
    
    So first you need to work out which nohup your customer is using.
    	# which nohup
    may return either /usr/ucb/nohup or builtin/nohup
    
    Then check to see if _exactly_ what your customer is doing, and whether
    or not he has a need to write to nohup.out
    
    And if you haven't already done it, check that his Oracle script
    actually works independantly from nohup.
    
    Hope tihs helps
    
    	leon
 | |||||
| 9530.2 | anyone has idea on it | HGOSPS::MASCOTTANG | Fri Apr 18 1997 03:40 | 12 | |
| My customer script file like this
+ export BTM_LOG_EFILE
+ NOHOP /usr2/btm/script/prdbtmjob prod_db
+date
+echo started at wed apr 16 17:12:49 HKT 1997
+nohup /usr2/btm/script/btmd
btmd: write 32: broken pipe.
Would anyone tell me what is wrong on it ? Any advice should be appreciated.
    
 | |||||