This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
informatica:hp_z240mt_offstation_comprovacio [2017/08/08 13:59] miquel [bruker_lmgr LSB compliant init-script] |
informatica:hp_z240mt_offstation_comprovacio [2017/08/09 10:27] (current) miquel [Patch per corbaNameService.default] |
||
---|---|---|---|
Line 959: | Line 959: | ||
==== Patch per bruker_lmgr ==== | ==== Patch per bruker_lmgr ==== | ||
- | Patch per actualitzar l' | + | Aquest és el patch generat amb la comanda '' |
< | < | ||
- | *** bruker_lmgr 2017-08-08 12: | + | --- / |
- | --- "/ | + | +++ bruker_lmgr 2017-08-08 12: |
- | *************** | + | @@ -21,6 +21,17 @@ |
- | *** 21,37 **** | + | # description: |
- | # description: | + | # |
- | # | + | |
- | + | +### BEGIN INIT INFO | |
- | - ### BEGIN INIT INFO | + | +# Provides: |
- | - # Provides: | + | +# Required-Start: |
- | - # Required-Start: | + | +# Required-Stop: |
- | - # Required-Stop: | + | +# Default-Start: |
- | - # Default-Start: | + | +# Default-Stop: |
- | - # Default-Stop: | + | +# Short-Description: |
- | - # Short-Description: | + | +# Description: |
- | - # Description: | + | +### END INIT INFO |
- | - ### END INIT INFO | + | + |
+ | + | ||
+ | # lmgrd_alive returns 0 if lmgrd is alive otherwise anything else | ||
+ | | ||
+ | { | ||
+ | </ | ||
+ | |||
+ | ==== Patch per corbaNameService.default ==== | ||
+ | |||
+ | Aquest és el patch generat amb la comanda '' | ||
+ | |||
+ | < | ||
+ | --- / | ||
+ | +++ corbaNameService.default 2017-08-08 12: | ||
+ | @@ -4,7 +4,18 @@ | ||
+ | # | ||
+ | # $Id: corbaNameService.default, | ||
+ | # | ||
- | - | ||
- | - | + | + |
- | # lmgrd_alive returns 0 if lmgrd is alive otherwise anything else | + | +### BEGIN INIT INFO |
- | | + | +# Provides: |
- | { | + | +# Required-Start: |
- | --- 21,26 ---- | + | +# Required-Stop: |
+ | +# Default-Start: | ||
+ | +# Default-Stop: 0 1 6 | ||
+ | +# Short-Description: | ||
+ | +# Description: | ||
+ | +### END INIT INFO | ||
+ | + | ||
+ | + | ||
+ | | ||
+ | | ||
+ | | ||
</ | </ | ||
- | ==== corbaNameService.default LSB compliant init-script | + | ===== Patch per ~paravision/ |
- | Patch per actualitzar l'init-script | + | Quan executo ParaVision surt un missatge d'error que fa referència al fitxer |
< | < | ||
- | *** corbaNameService.default 2017-08-08 12:51: | + | sermnmri@sermn115:/opt/PV5.1$ ./pv |
- | --- "/home/sermnadmin/ | + | Available disk memory for ParaVision is 40Gbytes. The partition load is 59% |
- | *************** | + | ... |
- | *** 4,21 **** | + | /opt/PV5.1/prog/ |
- | # | + | |
- | # $Id: corbaNameService.default,v 1.9.2.7 2010/01/18 17:52:02 mgoe Exp $ | + | |
- | # | + | |
- | ! | + | |
- | ! ### BEGIN INIT INFO | + | |
- | ! # Provides: | + | |
- | ! # Required-Start: | + | |
- | ! # Required-Stop: | + | |
- | ! # Default-Start: | + | |
- | ! # Default-Stop: | + | |
- | ! # Short-Description: | + | |
- | ! # Description: | + | |
- | ! ### END INIT INFO | + | |
- | ! | + | |
- | ! | + | |
- | | + | |
- | NMR_SU=nmrsu | + | |
- | INITIAL_PORT=12345 | + | |
- | --- 4,10 ---- | + | |
- | # | + | |
- | # $Id: corbaNameService.default, | + | |
- | # | + | |
- | ! | + | |
- | XWINNMRHOME=/ | + | |
- | NMR_SU=nmrsu | + | |
- | INITIAL_PORT=12345 | + | |
</ | </ | ||
+ | |||
+ | Comprovo que es tracta d'un problema de sintaxi (emprar " | ||
+ | |||
+ | < | ||
+ | --- ./ | ||
+ | +++ ./ | ||
+ | @@ -112,7 +112,7 @@ | ||
+ | |||
+ | | ||
+ | | ||
+ | -if [ `id -u` == $nmrsu ] | ||
+ | +if [ `id -u` = $nmrsu ] | ||
+ | then | ||
+ | touch $XWINNMRHOME/ | ||
+ | fi | ||
+ | </ | ||
+ | |||
+ | i el següent cop que executo ParaVision ja no apareix el missatge d' | ||