Public bug reported:

Using mcollective 1.2.1+dfsg-2ubuntu1 in Ubuntu Precise:


root@wrk4 (staging) (wrk-c2c):~# ps axuww | grep mco
root      9753  0.0  0.0  11380   928 pts/0    S+   13:42   0:00 grep mco
root@wrk4 (staging) (wrk-c2c):~# service mcollective start
mcollective start/running, process 9759
root@wrk4 (staging) (wrk-c2c):~# ps axuww | grep mco
root      9762  4.4  0.7 109916 29528 ?        Sl   13:42   0:00 ruby 
/usr/sbin/mcollectived --pid=/var/run/mcollectived.pid 
--config=/etc/mcollective/server.cfg
root      9766  4.8  0.7 109920 29532 ?        Sl   13:42   0:00 ruby 
/usr/sbin/mcollectived --pid=/var/run/mcollectived.pid 
--config=/etc/mcollective/server.cfg
root      9771  5.0  0.7 109960 29532 ?        Sl   13:42   0:00 ruby 
/usr/sbin/mcollectived --pid=/var/run/mcollectived.pid 
--config=/etc/mcollective/server.cfg
root      9789  4.8  0.7 109916 29524 ?        Sl   13:42   0:00 ruby 
/usr/sbin/mcollectived --pid=/var/run/mcollectived.pid 
--config=/etc/mcollective/server.cfg
root      9812  4.8  0.7 109960 29532 ?        Sl   13:42   0:00 ruby 
/usr/sbin/mcollectived --pid=/var/run/mcollectived.pid 
--config=/etc/mcollective/server.cfg
root      9837  4.6  0.7 109960 29528 ?        Sl   13:42   0:00 ruby 
/usr/sbin/mcollectived --pid=/var/run/mcollectived.pid 
--config=/etc/mcollective/server.cfg
root      9859  6.2  0.7 109956 29528 ?        Sl   13:42   0:00 ruby 
/usr/sbin/mcollectived --pid=/var/run/mcollectived.pid 
--config=/etc/mcollective/server.cfg
root      9878  5.5  0.7 109920 29536 ?        Sl   13:42   0:00 ruby 
/usr/sbin/mcollectived --pid=/var/run/mcollectived.pid 
--config=/etc/mcollective/server.cfg
root      9890  6.5  0.7 109964 29532 ?        Sl   13:42   0:00 ruby 
/usr/sbin/mcollectived --pid=/var/run/mcollectived.pid 
--config=/etc/mcollective/server.cfg
root      9913  6.0  0.7 109924 29540 ?        Sl   13:42   0:00 ruby 
/usr/sbin/mcollectived --pid=/var/run/mcollectived.pid 
--config=/etc/mcollective/server.cfg
root      9921  5.2  0.7 109960 29532 ?        Sl   13:42   0:00 ruby 
/usr/sbin/mcollectived --pid=/var/run/mcollectived.pid 
--config=/etc/mcollective/server.cfg
root      9969  0.0  0.0  11380   928 pts/0    S+   13:42   0:00 grep mco


The init script comes from the package:

root@wrk4 (staging) (wrk-c2c):~# cat /etc/init/mcollective.conf 
description "mcollective daemon"
author "Marc Cluet <marc.cl...@ubuntu.com>"

start on runlevel [2345]
stop on runlevel [!2345]
respawn

env RUBYLIB=/usr/local/lib/site_ruby/1.8:$RUBYLIB
exec /usr/sbin/mcollectived --pid="/var/run/mcollectived.pid" 
--config="/etc/mcollective/server.cfg"


Launching the exec line manually only starts one instance of mcollective.

Upstart is version 1.5-0ubuntu1.

** Affects: mcollective (Ubuntu)
     Importance: Medium
     Assignee: Marc Cluet (lynxman)
         Status: Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/965188

Title:
  Mcollective is launched more than once

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mcollective/+bug/965188/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to