hello
first off all but i think none of the devel guy played with shinken and freebsd (for me it is about a lack of knowledge => shame on me).
I will give it a try asap ....

David

MONITORING-FR

AvatarDavid GUENAULT
Membre de l'équipe Monitoring-fr
secrétaire de l'association


MONITORING-FR




De: "Henti Smith" <henti@geekware.co.za>
À: "shinken-devel" <shinken-devel@lists.sourceforge.net>
Envoyé: Mardi 26 Juillet 2011 15:47:12
Objet: [Shinken-devel] Problem starting Arbiter on freebsd

Hi all,

Seems I'm having tons of fun with freebsd and shiken. I was in an
accident after my last mail and was in hospital for a couple of months
and trying to get things going again

The init script fails completely with out put :


Starting scheduler:
log_failure_msg: not found

log_end_msg: not found
Starting poller:
log_failure_msg: not found

log_end_msg: not found
Starting reactionner:
log_failure_msg: not found

log_end_msg: not found
Starting broker:
log_failure_msg: not found

log_end_msg: not found
Starting receiver:
log_failure_msg: not found

log_end_msg: not found
Starting arbiter:
log_failure_msg: not found

log_end_msg: not found

I then use the launch_all_debug  script with results in all the
process starting but nothing happens. Tailing the debug files gives
this :

Waiting for initial configuration
............................................................................................

Nothing else

The debug files created are :

broker.debug
poller.debug
reactionner.debug
receiver.debug
scheduler.debug

What I saw missing is the arbiter, which I tried starting with
./launch_arbiter_debug.sh

Below is the output :


Opening configuration file /tmp/shinken-0.6.5/bin/../etc/shinken-specific.cfg
Warning : I autogenerated some Arbiter modules, please look at your
configuration
Warning : the module NamedPipe-Autogenerated is autogenerated
I am the master Arbiter : Arbiter-Master
My own modules : NamedPipe-Autogenerated
Warning in importing module : No module named memcache
Detected module : NSCA module for Arbiter
CRITICAL ERROR : I got an non recovarable error. I must exit
You can log a bug ticket at
https://sourceforge.net/apps/trac/shinken/newticket for geting help
Back trace of it: Traceback (most recent call last):
  File "/usr/local/lib/python2.6/site-packages/shinken/daemons/arbiterdaemon.py",
line 411, in main
    self.load_config_file()
  File "/usr/local/lib/python2.6/site-packages/shinken/daemons/arbiterdaemon.py",
line 254, in load_config_file
    self.do_load_modules()
  File "/usr/local/lib/python2.6/site-packages/shinken/daemon.py",
line 206, in do_load_modules
    self.modules_manager.load_and_init()
  File "/usr/local/lib/python2.6/site-packages/shinken/modulesmanager.py",
line 56, in load_and_init
    self.load()
  File "/usr/local/lib/python2.6/site-packages/shinken/modulesmanager.py",
line 88, in load
    if self.modules_type in m.properties['daemons']:
KeyError: 'daemons'

Traceback (most recent call last):
  File "/tmp/shinken-0.6.5/bin/../bin/shinken-arbiter", line 100, in <module>
    daemon.main()
  File "/usr/local/lib/python2.6/site-packages/shinken/daemons/arbiterdaemon.py",
line 411, in main
    self.load_config_file()
  File "/usr/local/lib/python2.6/site-packages/shinken/daemons/arbiterdaemon.py",
line 254, in load_config_file
    self.do_load_modules()
  File "/usr/local/lib/python2.6/site-packages/shinken/daemon.py",
line 206, in do_load_modules
    self.modules_manager.load_and_init()
  File "/usr/local/lib/python2.6/site-packages/shinken/modulesmanager.py",
line 56, in load_and_init
    self.load()
  File "/usr/local/lib/python2.6/site-packages/shinken/modulesmanager.py",
line 88, in load
    if self.modules_type in m.properties['daemons']:
KeyError: 'daemons'

I did a clean.sh of the old version of shinken I had installed and did
a new install using : sudo python setup.py install
--install-scripts=/usr/bin

this did not seem to copy the launch script and not sure if it should have.

Any help would be appreciated.

Henti

------------------------------------------------------------------------------
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
_______________________________________________
Shinken-devel mailing list
Shinken-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shinken-devel