User Tools

Site Tools


informatica:hp_z240mt_offstation_comprovacio

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
informatica:hp_z240mt_offstation_comprovacio [2017/08/08 13:59]
miquel [corbaNameService.default 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'init-script //bruker_lmgr//:+Aquest és el patch generat amb la comanda ''diff -Naur <original_file> <modified_file>'' per actualitzar l'init-script //bruker_lmgr//:
  
 <file> <file>
-*** bruker_lmgr 2017-08-08 12:58:46.341286448 +0200 +--- /home/sermnadmin/Documents/20170807-Original-Bruker-init-scripts/bruker_lmgr 2012-03-30 13:10:09.000000000 +0200 
---- "/home/sermnadmin/Documents/20170807 - Original Bruker init scripts/bruker_lmgr" 2012-03-30 13:10:09.000000000 +0200 ++++ bruker_lmgr 2017-08-08 12:58:46.341286448 +0200 
-*************** +@@ -21,6 +21,17 @@ 
-*** 21,37 **** + # description: BRUKER FLEXlm license server. 
-  # description: BRUKER FLEXlm license server. + # 
-  +  
-   ++### BEGIN INIT INFO 
-### BEGIN INIT INFO ++# Provides:           bruker_lmgr 
-# Provides:           bruker_lmgr ++# Required-Start: 
-# Required-Start: ++# Required-Stop: 
-# Required-Stop: ++# Default-Start:      2 3 4 5 
-# Default-Start:      2 3 4 5 ++# Default-Stop:       0 1 6 
-# Default-Stop:       0 1 6 ++# Short-Description:  Start/Stop the Flexible License Manager ( Flexlm ) 
-# Short-Description:  Start/Stop the Flexible License Manager ( Flexlm ) ++# Description:        Start/Stop the Flexible License Manager ( Flexlm ) 
-# Description:        Start/Stop the Flexible License Manager ( Flexlm ) ++### END INIT INFO 
-### END INIT INFO ++ 
- ++ 
- + # lmgrd_alive returns 0 if lmgrd is alive otherwise anything else 
-  # lmgrd_alive returns 0 if lmgrd is alive otherwise anything else + lmgrd_alive() 
-  lmgrd_alive() + {
-  { +
---- 21,26 ----+
 </file> </file>
  
 ==== Patch per corbaNameService.default ==== ==== Patch per corbaNameService.default ====
  
-Patch per actualitzar l'init-script //corbaNameService.default//:+Aquest és el patch generat amb la comanda ''diff -Naur <original_file> <modified_file>'' per actualitzar l'init-script //corbaNameService.default//:
  
 <file> <file>
-*** corbaNameService.default 2017-08-08 12:51:40.609300041 +0200 +--- /home/sermnadmin/Documents/20170807-Original-Bruker-init-scripts/corbaNameService.default 2017-08-04 12:41:11.000000000 +0200 
---- "/home/sermnadmin/Documents/20170807 - Original Bruker init scripts/corbaNameService.default" 2017-08-04 12:41:11.000000000 +0200 ++++ corbaNameService.default 2017-08-08 12:51:40.609300041 +0200 
-*************** +@@ -4,7 +4,18 @@ 
-*** 4,21 **** + # 
-  + # $Id: corbaNameService.default,v 1.9.2.7 2010/01/18 17:52:02 mgoe Exp $ 
-  # $Id: corbaNameService.default,v 1.9.2.7 2010/01/18 17:52:02 mgoe Exp $ + # 
-  + 
- +
-### BEGIN INIT INFO ++### BEGIN INIT INFO 
-# Provides:           corbaNameService ++# Provides:           corbaNameService 
-# Required-Start: ++# Required-Start: 
-# Required-Stop: ++# Required-Stop: 
-# Default-Start:      2 3 4 5 ++# Default-Start:      2 3 4 5 
-# Default-Stop:       0 1 6 ++# Default-Stop:       0 1 6 
-# Short-Description:  Start/stop CORBA name service ++# Short-Description:  Start/stop CORBA name service 
-# Description:        Start/stop CORBA name service ++# Description:        Start/stop CORBA name service 
-### END INIT INFO ++### END INIT INFO 
- ++ 
- ++ 
-  XWINNMRHOME=/opt/PV5.1 + XWINNMRHOME=/opt/PV5.1 
-  NMR_SU=nmrsu + NMR_SU=nmrsu 
-  INITIAL_PORT=12345 + INITIAL_PORT=12345
---- 4,10 ---- +
-  # +
-  # $Id: corbaNameService.default,v 1.9.2.7 2010/01/18 17:52:02 mgoe Exp $ +
-  # +
-!   +
-  XWINNMRHOME=/opt/PV5.1 +
-  NMR_SU=nmrsu +
-  INITIAL_PORT=12345+
 </file> </file>
 +
 +===== Patch per ~paravision/prog/pvmacros/PvStartup =====
 +
 +Quan executo ParaVision surt un missatge d'error que fa referència al fitxer ///opt/PV5.1/prog/pvmacros/PvStartup//,
 +
 +<file>
 +sermnmri@sermn115:/opt/PV5.1$ ./pv
 +Available disk memory for ParaVision is 40Gbytes. The partition load is 59%
 +...
 +/opt/PV5.1/prog/pvmacros/PvStartup: 115: [: 1002: unexpected operator
 +</file>
 +
 +Comprovo que es tracta d'un problema de sintaxi (emprar "==" en comptes de "=") i el corregeixo,
 +
 +<file>
 +--- ./PvStartup.BKUP-20170809 2017-08-09 10:19:53.179024468 +0200
 ++++ ./PvStartup 2017-08-09 10:20:21.710655615 +0200
 +@@ -112,7 +112,7 @@
 + 
 + id=`cat $XWINNMRHOME/conf/nmrsuperuser`
 + nmrsu=`id -u $id`
 +-if [ `id -u` == $nmrsu ]
 ++if [ `id -u` = $nmrsu ]
 + then
 +     touch $XWINNMRHOME/.hasStarted
 + fi
 +</file>
 +
 +i el següent cop que executo ParaVision ja no apareix el missatge d'error.
  
informatica/hp_z240mt_offstation_comprovacio.1502193554.txt.gz · Last modified: 2017/08/08 13:59 by miquel