CESNET / glite-lb

gLite Logging and Bookkeeping.
3 stars 2 forks source link

glite-lb-harvester won't start after update #24

Closed valtri closed 10 years ago

valtri commented 10 years ago

Original issue: https://ggus.eu/?mode=ticket_info&ticket_id=106144

Hi,

after the latest update and rerunning yaim the glite-lb-harvester does not start automatically. Should this programme still be running ? If yes, would it be possible to fix the stop/start issue, i.e. the stop function in /etc/init.d/glite-lb-harvester looks for a pid file (/var/run/glite/glite-lb-harvester.pid) that is not set by the start function. I can get around this by adding -i /var/run/glite/glite-lb-harvester.pid in the line: daemon --user $GLITE_USER $env $exec --daemon $GLITE_LB_HARVESTER_OPTIONS

Daniela

valtri commented 10 years ago

L&B harvester is not needed for L&B server and/or proxy functionality. It can be used for gathering information from multiple L&B servers to central place (as used by Real Time Monitoring project). You can check /etc/glite-lb/glite-lb-harvester.conf configuration file to check, which L&B server would be used (default dummy value is local machine hostname).

It is started by yaim only if GLITE_LB_HARVESTER_ENABLED is set to true in site-info.def, otherwise it is disabled.

I can confirm the problem with the pidfile, it needs to be fixed.

Fixed in d38cd1a6d64b5662d3726dc64d9720fb69a55289.

valtri commented 10 years ago

Because the problem with pidfile is in current version, the first upgrade after fix won't help yet. There is still needed the workaround, launch before upgrade:

killall glite-lb-harvester

Or kill all 'glite-lb-harvester' and restart harvester after upgrade.