yaobinshi / test1

test for scratch
MIT License
0 stars 0 forks source link

fo_scheduler does not recognize --kill option #141

Open yaobinshi opened 9 years ago

yaobinshi commented 9 years ago

Author Name: Mark Donohoe Original Redmine Issue: 39, http://www.fossology.org/issues/39 Original Date: 2011/12/06 Original Assignee: Alex Norton


Using the fossology script that is installed in /etc/init.d/ the scheduler can be started but not stopped. This is using svn rev: 5177M.

markd@snape: pss fossy 2211 1 0 02:52 ? 00:00:00 /usr/local/share/fossology/scheduler/agent/fo_scheduler --daemon --reset --verbose=7 markd 2583 31033 0 03:39 pts/0 00:00:00 grep sched markd@snape: sudo /etc/init.d/fossology stop Stopping FOSSology job scheduler: scheduler. markd@snape: pss fossy 2211 1 0 02:52 ? 00:00:00 /usr/local/share/fossology/scheduler/agent/fo_scheduler --daemon --reset --verbose=7 markd 2588 31033 0 03:39 pts/0 00:00:00 grep sched markd@snape: sudo /usr/local/share/fossology/scheduler/agent/fo_scheduler --kill markd@snape: pss fossy 2211 1 0 02:52 ? 00:00:00 /usr/local/share/fossology/scheduler/agent/fo_scheduler --daemon --reset --verbose=7 markd 2593 31033 0 03:39 pts/0 00:00:00 grep sched

to work around this, one must use kill from the command line: sudo kill -9 2211.

yaobinshi commented 9 years ago

Original Redmine Comment Author Name: Mary Laser Original Date: 2011/12/06 19:04:14 +0000


create a new category for "scheduler" and assign to Alex.

yaobinshi commented 9 years ago

Original Redmine Comment Author Name: Bob Gobeille Original Date: 2011/12/18 18:25:11 +0000


This is a duplicate of http://www.fossology.org/issues/81