Public bug reported:

Shinken doesn't start out of the box on Trusty Tahr when installing due
to a changed(?) path for BIN in /etc/default/shinken which seems to be
/usr/lib/python2.7/dist-packages/shinken/bin/ now. Please see details
below.

$ sudo service shinken start
Starting scheduler:
 * FAILED: did not found scheduler file 
(/usr/share/pyshared/shinken/bin//shinken-scheduler) ; are you sure 
shinken-scheduler is installed?
   ...fail!
Starting poller:
 * FAILED: did not found poller file 
(/usr/share/pyshared/shinken/bin//shinken-poller) ; are you sure shinken-poller 
is installed?
   ...fail!
Starting reactionner:
 * FAILED: did not found reactionner file 
(/usr/share/pyshared/shinken/bin//shinken-reactionner) ; are you sure 
shinken-reactionner is installed?
   ...fail!
Starting broker:
 * FAILED: did not found broker file 
(/usr/share/pyshared/shinken/bin//shinken-broker) ; are you sure shinken-broker 
is installed?
   ...fail!
Starting receiver:
 * FAILED: did not found receiver file 
(/usr/share/pyshared/shinken/bin//shinken-receiver) ; are you sure 
shinken-receiver is installed?
   ...fail!
Starting arbiter:
 * FAILED: did not found arbiter file 
(/usr/share/pyshared/shinken/bin//shinken-arbiter) ; are you sure 
shinken-arbiter is installed?
   ...fail!

$ cat /etc/default/shinken
...
## These vars will override the hardcoded ones in init script ##
ETC=/etc/shinken/
VAR=/var/lib/shinken/
BIN=/usr/share/pyshared/shinken/bin/
RUN=/var/run/shinken/
LOG=/var/log/shinken/
...

Changing that to:
$ cat /etc/default/shinken
...
## These vars will override the hardcoded ones in init script ##
ETC=/etc/shinken/
VAR=/var/lib/shinken/
#BIN=/usr/share/pyshared/shinken/bin/
BIN=/usr/lib/python2.7/dist-packages/shinken/bin/
RUN=/var/run/shinken/
LOG=/var/log/shinken/
...

et voilá:

$ sudo service shinken restart
Restarting scheduler
   ...done.
Restarting poller
   ...done.
Restarting reactionner
   ...done.
Restarting broker
   ...done.
Restarting receiver
   ...done.
Restarting arbiter
Doing config check
   ...done.
   ...done.


More information:
$ lsb_release -rd
Description:    Ubuntu Trusty Tahr (development branch)
Release:        14.04


$ dpkg -l | grep shinken
ii  shinken                                 1.4-2                         amd64 
       Flexible monitoring tool - Meta-package
ii  shinken-common                          1.4-2                         amd64 
       Flexible monitoring tool - Common files
ii  shinken-module-broker-webui             1.4-2                         amd64 
       Shinken WebUI broker module
ii  shinken-module-broker-webui-cfgpassword 1.4-2                         amd64 
       Shinken cfg_password authentifcation module for WebUI broker
ii  shinken-module-broker-webui-sqlitedb    1.4-2                         amd64 
       Shinken Sqlite storage module for WebUI broker
ii  shinken-module-retention-picklefile     1.4-2                         amd64 
       Retention module for Arbiter, Scheduler or Broker

** Affects: shinken (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  Wrong BIN in /etc/default/shinken

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to