Le samedi 20 novembre 2010 à 12:56 +0100, Gerhard Lausser a écrit :
> Hi,
> 
> when you listen on the network
> realm-machine#  tcpdump port 7768
> do you see any traffic?
> 
Hello,

Yes there is traffic on all 77xx ports.
I have made two tests on the "realm" machine :
1) local shinken not launched.
The central machine send packets on the 77xx ports
2) local shinken launched
There are packets from/to both sides, but I can't see anything new in
the debug files. The logs on the central machine are as usual always
saying that the distribution in not complete.

Will try more ASAP and examine the logs on both sides.


Regards

JP P


> Gerhard 
> 
> > -----Ursprüngliche Nachricht-----
> > Von: jplog [mailto:jpli...@jppozzi.dyndns.org] 
> > Gesendet: Samstag, 20. November 2010 01:49
> > An: shinken-devel@lists.sourceforge.net
> > Betreff: Re: [Shinken-devel] New to the list with a problem
> > 
> > Hello,
> > 
> > I verify the versions and there was a problem with Python's version.
> > 
> > REALM machine               Debian
> > Python      2.6.5   (Was 2.5.5) --> upgrade to 2.6.5
> > Pyro        3.9.1
> > 
> > 
> > CENTRAL machine             Ubuntu (VM downloaded from the 
> > site running under XEN)
> > Python      2.6.5
> > Pyro        3.9.1
> > 
> > After migrating the Debian machine to Python 2.6.5  :
> > 
> > Messages on the "realm" machine :
> > ==============================================================
> > =============
> > tail -f scheduler.debug 
> > Using working directory : /var/lib/shinken
> > Listening on: 0.0.0.0 : 7768
> > The Arbiter Interface is at:
> > PYRO://0.0.0.0:7768/7f00010105010a42f7ab0000008d6518
> > Waiting for initial configuration
> > ..............................................................
> > ............
> > 
> > 
> > Messages on the "central" machine :
> > ==============================================================
> > =============
> > tail -f arbiter.debug
> > tail -f arbiter.debug 
> > Dispatching Realm All
> > [All] Dispatching 0/1 configurations
> > [All] Schedulers order : scheduler-1 
> > Dispatching Realm testweb
> > [testweb] Dispatching 1/1 configurations
> > [testweb] Schedulers order : scheduler-web 
> > [testweb] Dispatching one configuration
> > [testweb] Trying to send conf 1 to scheduler scheduler-web
> > WARNING : All schedulers configurations are not dispatched, 1 are
> > missing
> > Nb Broks send: 0
> > Scheduler configuration 1 is unmanaged!!
> > Warning : Missing satellite reactionner for configuration 1 :
> > Warning : Missing satellite poller for configuration 1 :
> > Warning : Missing satellite broker for configuration 1 :
> > Dispatching Realm All
> > [All] Dispatching 0/1 configurations
> > [All] Schedulers order : scheduler-1 
> > Dispatching Realm testweb
> > [testweb] Dispatching 1/1 configurations
> > [testweb] Schedulers order : scheduler-web 
> > [testweb] Dispatching one configuration
> > [testweb] Trying to send conf 1 to scheduler scheduler-web
> > WARNING : All schedulers configurations are not dispatched, 1 are
> > missing
> > Nb Broks send: 0
> > ......
> > (repeating every second)
> > ==============================================================
> > =============
> > The communication seems to be estabished ( on the "realm" machine ) :
> > lsof -Pn | grep TCP | grep ':77'
> > python    1281  shinken    3u     IPv4       5635      0t0        TCP
> > *:7768 (LISTEN)
> > python    1281  shinken    4u     IPv4       5707      0t0        TCP
> > 192.168.1.120:7768->192.168.1.21:35042 (ESTABLISHED)
> > python    1285  shinken    5u     IPv4       5663      0t0        TCP
> > *:7771 (LISTEN)
> > python    1285  shinken    6u     IPv4       5711      0t0        TCP
> > 192.168.1.120:7771->192.168.1.21:48913 (ESTABLISHED)
> > python    1293  shinken    5u     IPv4       5692      0t0        TCP
> > *:7769 (LISTEN)
> > python    1293  shinken    6u     IPv4       5709      0t0        TCP
> > 192.168.1.120:7769->192.168.1.21:51613 (ESTABLISHED)
> > python    1299  shinken    3u     IPv4       5705      0t0        TCP
> > *:7772 (LISTEN)
> > python    1299  shinken    4u     IPv4       5713      0t0        TCP
> > 192.168.1.120:7772->192.168.1.21:51667 (ESTABLISHED)
> > 
> > as on the "central" machine :
> > lsof -Pn | grep TCP | grep ':77'
> > python    1281  shinken    3u     IPv4       5635      0t0        TCP
> > *:7768 (LISTEN)
> > python    1281  shinken    4u     IPv4       5707      0t0        TCP
> > 192.168.1.120:7768->192.168.1.21:35042 (ESTABLISHED)
> > python    1285  shinken    5u     IPv4       5663      0t0        TCP
> > *:7771 (LISTEN)
> > python    1285  shinken    6u     IPv4       5711      0t0        TCP
> > 192.168.1.120:7771->192.168.1.21:48913 (ESTABLISHED)
> > python    1293  shinken    5u     IPv4       5692      0t0        TCP
> > *:7769 (LISTEN)
> > python    1293  shinken    6u     IPv4       5709      0t0        TCP
> > 192.168.1.120:7769->192.168.1.21:51613 (ESTABLISHED)
> > python    1299  shinken    3u     IPv4       5705      0t0        TCP
> > *:7772 (LISTEN)
> > python    1299  shinken    4u     IPv4       5713      0t0        TCP
> > 192.168.1.120:7772->192.168.1.21:51667 (ESTABLISHED)
> > 
> > If TCP connections are open why do they not communicate !
> > 
> > Trying from "central" a telnet connection on the port 7768 gives the
> > Pyro prompt :
> > telnet loc-t1 7768
> > Trying 192.168.1.120...
> > Connected to loc-t1.jpp.fr.
> > Escape character is '^]'.
> > PYROx??5E????B
> > 
> > and the "realm" react by some weird messages :
> > 
> > Traceback (most recent call last):
> >   File "/usr/local/shinken/shinken/../bin/shinken-scheduler", 
> > line 595,
> > in <module>
> >     p = Shinken(config_file, is_daemon, do_replace, debug, debug_file)
> >   File "/usr/local/shinken/shinken/../bin/shinken-scheduler", 
> > line 372,
> > in __init__
> >     self.wait_initial_conf()
> >   File "/usr/local/shinken/shinken/../bin/shinken-scheduler", 
> > line 413,
> > in wait_initial_conf
> >     shinken.pyro_wrapper.handleRequests(self.poller_daemon, s)
> >   File "/usr/local/shinken/shinken/pyro_wrapper.py", line 88, in
> > handleRequests
> >     daemon.handleRequests()
> >   File "/usr/lib/pymodules/python2.6/Pyro/protocol.py", line 1064, in
> > handleRequests
> >     self._handleRequest_NoThreads(timeout,others,callback)
> >   File "/usr/lib/pymodules/python2.6/Pyro/protocol.py", line 1085, in
> > _handleRequest_NoThreads
> >     if self.getAdapter().handleConnection(conn, self):
> >   File "/usr/lib/pymodules/python2.6/Pyro/protocol.py", line 746, in
> > handleConnection
> >     ver,body,pflags = self.receiveMsg(conn)
> >   File "/usr/lib/pymodules/python2.6/Pyro/protocol.py", line 560, in
> > receiveMsg
> >     self.returnException(conn, ProtocolError(msg))
> >   File "/usr/lib/pymodules/python2.6/Pyro/protocol.py", line 723, in
> > returnException
> >     pic=Pyro.util.getXMLPickle('gnosis')
> >   File "/usr/lib/pymodules/python2.6/Pyro/util.py", line 439, in
> > getXMLPickle
> >     raise NotImplementedError('xml pickling implementation (%s) is not
> > available' % impl)
> > NotImplementedError: xml pickling implementation (gnosis) is not
> > available
> > 
> > I don't know how to test now !
> > 
> > Regards
> > 
> > JP P
> > 
> > 
> > 
> > --------------------------------------------------------------
> > ----------------
> > Beautiful is writing same markup. Internet Explorer 9 supports
> > standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> > Spend less time writing and  rewriting code and more time 
> > creating great
> > experiences on the web. Be a part of the beta today
> > http://p.sf.net/sfu/msIE9-sfdev2dev
> > _______________________________________________
> > Shinken-devel mailing list
> > Shinken-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/shinken-devel
> > 
>  
> 
> __________ Hinweis von ESET NOD32 Antivirus, Signaturdatenbank-Version 5634
> (20101119) __________
> 
> E-Mail wurde geprüft mit ESET NOD32 Antivirus.
> 
> http://www.eset.com
>  
> 
> 
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today
> http://p.sf.net/sfu/msIE9-sfdev2dev
> _______________________________________________
> Shinken-devel mailing list
> Shinken-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/shinken-devel





------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Shinken-devel mailing list
Shinken-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shinken-devel

Reply via email to