[Bug 965188] [NEW] Mcollective is launched more than once

Raphaël Pinson raphink at gmail.com
Mon Mar 26 11:58:25 UTC 2012


Public bug reported:

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


root at 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 at wrk4 (staging) (wrk-c2c):~# service mcollective start
mcollective start/running, process 9759
root at 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 at wrk4 (staging) (wrk-c2c):~# cat /etc/init/mcollective.conf 
description "mcollective daemon"
author "Marc Cluet <marc.cluet at 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
Server Team, which is subscribed to mcollective in 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



More information about the Ubuntu-server-bugs mailing list