[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
| Title: | NetWorker | 
| Notice: | kits - 12-14, problem reporting - 41.*, basics 1-100 | 
| Moderator: | DECWET::RANDALL .com::lenox | 
|  | 
| Created: | Thu Oct 10 1996 | 
| Last Modified: | Fri Jun 06 1997 | 
| Last Successful Update: | Fri Jun 06 1997 | 
| Number of topics: | 750 | 
| Total number of notes: | 3361 | 
517.0. "incorrect grep in v4.2b startup file " by TRN02::FRASSINO () Sat Mar 22 1997 12:32
    Hi all,
    installing NSR v4.2b I've found a little, but boring bug. Any time you
    start nsr, the message 
    
    Stopping and restarting nsrexecd process
    
    appears even if the nsrexecd process doesn't exist.
    
    This is due to a incorrect grep use in the /sbin/init.d/nsrd script:
    
    if /bin/ps -e | grep nsrexecd > /dev/null
    
    Infact, this traps the grep command itself;if you want to be "perfect", 
    add the grep -v statement:
    
    if /bin/ps -e | grep nsrexecd | grep -v grep > /dev/null
    
    and the message will appear only if the nsrexecd process really exist !
    
    Ciao!!
    					*8-) Pierpa
    
    
| T.R | Title | User | Personal Name
 | Date | Lines | 
|---|
| 517.1 | Thank You, so noted, and will be fixed in next release out (V4.3) | DECWET::EVANS | NSR Engineering | Mon Mar 24 1997 10:43 | 0 |