Changes between Version 212 and Version 213 of Processing
- Timestamp:
- May 11, 2016, 10:12:34 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Processing
v212 v213 31 31 32 32 = About Czar Pages: What to do if the czar pages don't update = 33 IPP Czar pages are updated every five minutes or so by the czarpoll.pl script. This script runs on {{{ippc 11}}} as ipp user within a screen session. If, for some reason, czarpoll crashes (it likely means that gpc1 mysql server has been restarted),34 35 1) ssh as ipp on {{{ippc 11}}} '''use c11so that we don't overload c18!''' [[BR]]36 2) identify the screen session which is running and reattach it [[BR]]33 IPP Czar pages are updated every five minutes or so by the czarpoll.pl script. This script runs on {{{ippc33}}} as ipp user within a screen session. If, for some reason, czarpoll crashes (it likely means that gpc1 mysql server has been restarted), 34 35 1) ssh as ipp on {{{ippc33}}} '''use c33 so that we don't overload c18!''' [[BR]] 36 2) identify the screen session which is running and reattach it [[BR]] 37 37 3) restart czarpoll and then[[BR]] 38 38 4) '''detach from the screen session'''[[BR]] … … 40 40 The sequence of commands should therefore be something like: 41 41 42 1) ssh as ipp on {{{ippc 11}}}43 {{{ 44 yourhost:~$ ssh ipp@ippc 1142 1) ssh as ipp on {{{ippc33}}} 43 {{{ 44 yourhost:~$ ssh ipp@ippc33 45 45 }}} 46 46 47 47 2) Identify the screen session which is running and reattach it 48 48 {{{ 49 ipp@ippc 11:/home/panstarrs/ipp>screen -list49 ipp@ippc33:/home/panstarrs/ipp>screen -list 50 50 There is a screen on: 51 51 18965.CzarPoll (Attached) 52 52 1 Socket in /var/run/screen/S-ipp. 53 53 54 ipp@ippc 11:/home/panstarrs/ipp>screen -r 18965.CzarPoll54 ipp@ippc33:/home/panstarrs/ipp>screen -r 18965.CzarPoll 55 55 56 56 (you see then the last lines of the display, e.g.: … … 67 67 3) Restart czarpoll from {{{~ipp/src/ippMonitor/czartool}}} 68 68 {{{ 69 ipp@ippc 11:/home/panstarrs/ipp/src/ippMonitor/czartool>./czarpoll.pl69 ipp@ippc33:/home/panstarrs/ipp/src/ippMonitor/czartool>./czarpoll.pl 70 70 }}} 71 71 You will see something like: … … 86 86 {{{ 87 87 [detached] 88 ipp@ippc 11:/home/panstarrs/ipp>88 ipp@ippc33:/home/panstarrs/ipp> 89 89 }}} 90 90 … … 93 93 5. do the same for roboczar in a screen session (from {{{~ipp/src/ippMonitor/czartool}}}, using hardcoded /data/ippc18.0 can be problem when ippc19.0 is now home ) 94 94 {{{ 95 ipp@ippc 11:/home/panstarrs/ipp/src/ippMonitor/czartool>./roboczar.pl95 ipp@ippc33:/home/panstarrs/ipp/src/ippMonitor/czartool>./roboczar.pl 96 96 }}} 97 97
