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
informatica:hp_z240mt_offstation_comprovacio [2017/08/08 14:05]
miquel [Patch per bruker_lmgr]
informatica:hp_z240mt_offstation_comprovacio [2017/08/09 10:27] (current)
miquel [Patch per corbaNameService.default]
Line 1012: Line 1012:
  INITIAL_PORT=12345  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.1502193928.txt.gz · Last modified: 2017/08/08 14:05 by miquel