On Tue, Mar 8, 2011 at 9:38 AM, Henti Smith <he...@geekware.co.za> wrote:
> On Tue, Mar 8, 2011 at 10:33 AM, Hartmut Goebel
> <h.goe...@goebel-consult.de> wrote:
> > Am 08.03.2011 08:42, schrieb Henti Smith:
> > try this:
> >
> > cd /usr/local/shinken
> > bin/launch_all.sh
>
> /usr/local/shinken/bin
> Launching Scheduler (that is only in charge of the scheduling)
> Using Pyro 4.1
> modulemanager file ./shinken/modulesmanager.pyc
> modulemanager absolute file /usr/local/shinken/shinken/modulesmanager.pyc
> Using modules path : /usr/local/shinken/shinken/modules
> Traceback (most recent call last):
> File "/usr/local/shinken/bin/../bin/shinken-scheduler", line 116, in
> <module>
> daemon = Shinken(debug=opts.debug_file is not None, **opts.__dict__)
> File "./shinken/daemons/schedulerdaemon.py", line 135, in __init__
> BaseSatellite.__init__(self, 'scheduler', config_file, is_daemon,
> do_replace, debug, debug_file)
> File "./shinken/satellite.py", line 147, in __init__
> self.interface = IForArbiter(self)
> File "./shinken/daemon.py", line 64, in __init__
> self.pyro_obj.delegateTo(self)
> AttributeError: 'object' object has no attribute 'delegateTo'
> Launching Poller (that launches the checks)
> Using Pyro 4.1
> modulemanager file ./shinken/modulesmanager.pyc
> modulemanager absolute file /usr/local/shinken/shinken/modulesmanager.pyc
> Using modules path : /usr/local/shinken/shinken/modules
> Traceback (most recent call last):
> File "/usr/local/shinken/bin/../bin/shinken-poller", line 72, in <module>
> daemon = Poller(debug=opts.debug_file is not None, **opts.__dict__)
> File "./shinken/daemons/pollerdaemon.py", line 41, in __init__
> super(Poller, self).__init__('poller', config_file, is_daemon,
> do_replace, debug, debug_file)
> File "./shinken/satellite.py", line 167, in __init__
> super(Satellite, self).__init__(name, config_file, is_daemon,
> do_replace, debug, debug_file)
> File "./shinken/satellite.py", line 147, in __init__
> self.interface = IForArbiter(self)
> File "./shinken/daemon.py", line 64, in __init__
> self.pyro_obj.delegateTo(self)
> AttributeError: 'object' object has no attribute 'delegateTo'
> Launching Reactionner (that sends the notifications)
>
> Using Pyro 4.1
> modulemanager file ./shinken/modulesmanager.pyc
> modulemanager absolute file /usr/local/shinken/shinken/modulesmanager.pyc
> Using modules path : /usr/local/shinken/shinken/modules
> Traceback (most recent call last):
> File "/usr/local/shinken/bin/../bin/shinken-reactionner", line 73, in
> <module>
> daemon = Reactionner(debug=opts.debug_file is not None, **opts.__dict__)
> File "./shinken/daemons/reactionnerdaemon.py", line 51, in __init__
> super(Reactionner, self).__init__('reactionner', config_file,
> is_daemon, do_replace, debug, debug_file)
> File "./shinken/satellite.py", line 167, in __init__
> super(Satellite, self).__init__(name, config_file, is_daemon,
> do_replace, debug, debug_file)
> File "./shinken/satellite.py", line 147, in __init__
> self.interface = IForArbiter(self)
> File "./shinken/daemon.py", line 64, in __init__
> self.pyro_obj.delegateTo(self)
> AttributeError: 'object' object has no attribute 'delegateTo'
> Launching Broker (that exports all data)
> Using Pyro 4.1
> modulemanager file ./shinken/modulesmanager.pyc
> modulemanager absolute file /usr/local/shinken/shinken/modulesmanager.pyc
> Using modules path : /usr/local/shinken/shinken/modules
> Traceback (most recent call last):
> File "/usr/local/shinken/bin/../bin/shinken-broker", line 70, in <module>
> daemon = Broker(debug=opts.debug_file is not None, **opts.__dict__)
> File "./shinken/daemons/brokerdaemon.py", line 56, in __init__
> super(Broker, self).__init__('broker', config_file, is_daemon,
> do_replace, debug, debug_file)
> File "./shinken/satellite.py", line 147, in __init__
> self.interface = IForArbiter(self)
> File "./shinken/daemon.py", line 64, in __init__
> self.pyro_obj.delegateTo(self)
> AttributeError: 'object' object has no attribute 'delegateTo'
> Launching Arbiter (that reads the configuration and dispatches it)
> Using Pyro 4.1
> modulemanager file ./shinken/modulesmanager.pyc
> modulemanager absolute file /usr/local/shinken/shinken/modulesmanager.pyc
> Using modules path : /usr/local/shinken/shinken/modules
> Traceback (most recent call last):
> File "/usr/local/shinken/bin/../bin/shinken-arbiter", line 94, in
> <module>
> daemon = Arbiter(debug=opts.debug_file is not None, **opts.__dict__)
> File "./shinken/daemons/arbiterdaemon.py", line 96, in __init__
> self.interface = IForArbiter(self)
> File "./shinken/daemon.py", line 64, in __init__
> self.pyro_obj.delegateTo(self)
> AttributeError: 'object' object has no attribute 'delegateTo'
>
> Regards
> Henti
>
> Hi,
It sounds as a bug with Pyro4. Can you try to comment in shinken/daemon.py
the line
self.pyro_obj.delegateTo(self)
and restart?
Jean
------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
Shinken-devel mailing list
Shinken-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shinken-devel