How to restart the DIRAC3 Configuration Service
From lxplus with the DIRAC environment log onto the machine:
# ssh root@volhcb09.cern.ch
Check the current log in here:
# less /opt/DIRAC3/runit/Configuration/Server/log/current
Look for timestamps that are up-to-date. Normal operations should result in entries like this:
2008-09-21 14:57:34 UTC Configuration/Server INFO: Executing action (134.157.247.162:35808)[lhcb_prod:azhelezo] RPC/getCompressedDataIfNewer(<masked>)
2008-09-21 14:57:34 UTC Configuration/Server INFO: Returning response (134.157.247.162:35808)[lhcb_prod:azhelezo] {'OK': True, 'Value': {'newestVersion': '2008-09-21 14:55:18.363114', 'data': 'x\xda\xec\xbdks\xdb\x
2008-09-21 14:57:36 UTC Configuration/Server INFO: Executing action (144.206.66.17:43824)[lhcb_prod:azhelezo] RPC/getCompressedDataIfNewer(<masked>)
2008-09-21 14:57:36 UTC Configuration/Server INFO: Returning response (144.206.66.17:43824)[lhcb_prod:azhelezo] {'OK': True, 'Value': {'newestVersion': '2008-09-21 14:55:18.363114', 'data': 'x\xda\xec\xbdks\xdb\x
If this is not present, then bring the server down and then back up again:
# echo d > /opt/DIRAC3/runit/Configuration/Server/supervise/control
# echo u > /opt/DIRAC3/runit/Configuration/Server/supervise/control
This also works:
/opt/dirac/bin/runsvctrl t /opt/dirac/startup/Configuration_Server
--
GreigCowan - 21 Sep 2008