Hi,

        Following to my problem about setting webui and iptables not updated,
now, I switch back everything to localhost (as I founded a post saying that
setting all host to LAN ip solving the problem, it was not the origin of my
problem...), and I have the following errors in log files.
        I feel like some TCP ports are dynamically open, and
reactionner/poller/others? are trying to connect to, but, as I have set iptables
rules, they can't connect to. Here is my iptables rules (for now, I tried to set
all inter-communication in localhost, and only webui through my lan):

-A INPUT -i lo -p tcp -m multiport --dports 7768:7773 -j ACCEPT
-A INPUT -s [my lan ip]/24 -p tcp -m tcp --dport 7767 -j ACCEPT

Checking each port from 7768 through 7773 is available through the commant
'telnet localhost [port]' and my hosts file contains only the record '127.0.0.1
localhost' (no IPv6 defined).

And /var/log/shinken/reactionnerd.log:
2014-04-27 21:47:53,646 [1398628073] Warning : Printing stored debug messages
prior to our daemonization
2014-04-27 21:48:56,831 [1398628136] Critical : I got an unrecoverable error. I
have to exit
2014-04-27 21:48:56,832 [1398628136] Critical : You can log a bug ticket at
https://github.com/naparuba/shinken/issues/new to get help
2014-04-27 21:48:56,838 [1398628136] Critical : Back trace of it: Traceback
(most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/shinken/satellite.py", line 1011,
in main
    self.do_post_daemon_init()
  File "/usr/local/lib/python2.7/dist-packages/shinken/satellite.py", line 877,
in do_post_daemon_init
    self.returns_queue = self.manager.Queue()
  File "/usr/lib/python2.7/multiprocessing/managers.py", line 667, in temp
    token, exp = self._create(typeid, *args, **kwds)
  File "/usr/lib/python2.7/multiprocessing/managers.py", line 565, in _create
    conn = self._Client(self._address, authkey=self._authkey)
  File "/usr/lib/python2.7/multiprocessing/connection.py", line 169, in Client
    c = SocketClient(address)
  File "/usr/lib/python2.7/multiprocessing/connection.py", line 298, in
SocketClient
    s.connect(address)
  File "/usr/lib/python2.7/socket.py", line 224, in meth
    return getattr(self._sock,name)(*args)
error: [Errno 110] Connection timed out

And /var/log/shinken/pollerd.log:
2014-04-27 21:47:53,010 [1398628073] Warning : Printing stored debug messages
prior to our daemonization
2014-04-27 21:48:56,191 [1398628136] Critical : I got an unrecoverable error. I
have to exit
2014-04-27 21:48:56,192 [1398628136] Critical : You can log a bug ticket at
https://github.com/naparuba/shinken/issues/new to get help
2014-04-27 21:48:56,200 [1398628136] Critical : Back trace of it: Traceback
(most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/shinken/satellite.py", line 1011,
in main
    self.do_post_daemon_init()
  File "/usr/local/lib/python2.7/dist-packages/shinken/satellite.py", line 877,
in do_post_daemon_init
    self.returns_queue = self.manager.Queue()
  File "/usr/lib/python2.7/multiprocessing/managers.py", line 667, in temp
    token, exp = self._create(typeid, *args, **kwds)
  File "/usr/lib/python2.7/multiprocessing/managers.py", line 565, in _create
    conn = self._Client(self._address, authkey=self._authkey)
  File "/usr/lib/python2.7/multiprocessing/connection.py", line 169, in Client
    c = SocketClient(address)
  File "/usr/lib/python2.7/multiprocessing/connection.py", line 298, in
SocketClient
    s.connect(address)
  File "/usr/lib/python2.7/socket.py", line 224, in meth
    return getattr(self._sock,name)(*args)
error: [Errno 110] Connection timed out

And /var/log/shinken/arbiterd.log
2014-04-27 22:04:09,487 [1398629049] Warning : Printing stored debug messages
prior to our daemonization
2014-04-27 22:06:09,639 [1398629169] Error :   Failed sending configuration for
reactionner-master: Connexion error to http://localhost:7769/ : Operation timed
out after 120001 milliseconds with 0 bytes received
2014-04-27 22:08:09,649 [1398629289] Error :   Failed sending configuration for
poller-master: Connexion error to http://localhost:7771/ : Operation timed out
after 120001 milliseconds with 0 bytes received
2014-04-27 22:08:10,884 [1398629290] Warning : Missing satellite reactionner for
configuration 0:
2014-04-27 22:08:10,884 [1398629290] Warning : Missing satellite poller for
configuration 0:
2014-04-27 22:10:10,891 [1398629410] Error :   Failed sending configuration for
reactionner-master: Connexion error to http://localhost:7769/ : Operation timed
out after 120001 milliseconds with 0 bytes received


And /var/log/shinken/brokerd.log:
2014-04-27 22:04:07,640 [1398629047] Warning : Printing stored debug messages
prior to our daemonization
2014-04-27 22:09:13,343 [1398629353] Error :   [broker-master] The instance
WebUI raised an exception [Errno 110] Connection timed out, I remove it!
2014-04-27 22:09:13,351 [1398629353] Error :   [broker-master] Back trace of
this remove: Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/shinken/modulesmanager.py", line
156, in try_instance_init
    inst.create_queues(self.manager)
  File "/usr/local/lib/python2.7/dist-packages/shinken/basemodule.py", line 140,
in create_queues
    self.from_q = manager.Queue()
  File "/usr/lib/python2.7/multiprocessing/managers.py", line 667, in temp
    token, exp = self._create(typeid, *args, **kwds)
  File "/usr/lib/python2.7/multiprocessing/managers.py", line 565, in _create
    conn = self._Client(self._address, authkey=self._authkey)
  File "/usr/lib/python2.7/multiprocessing/connection.py", line 169, in Client
    c = SocketClient(address)
  File "/usr/lib/python2.7/multiprocessing/connection.py", line 298, in
SocketClient
    s.connect(address)
  File "/usr/lib/python2.7/socket.py", line 224, in meth
    return getattr(self._sock,name)(*args)
error: [Errno 110] Connection timed out
2014-04-27 22:09:13,352 [1398629353] Warning : [broker-master] The module
'WebUI' failed to init, I will try to restart it later
2014-04-27 22:10:16,511 [1398629416] Error :   [broker-master] The instance
WebUI raised an exception [Errno 110] Connection timed out, I remove it!
2014-04-27 22:10:16,513 [1398629416] Error :   [broker-master] Back trace of
this remove: Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/shinken/modulesmanager.py", line
156, in try_instance_init
    inst.create_queues(self.manager)
  File "/usr/local/lib/python2.7/dist-packages/shinken/basemodule.py", line 140,
in create_queues
    self.from_q = manager.Queue()
  File "/usr/lib/python2.7/multiprocessing/managers.py", line 667, in temp
    token, exp = self._create(typeid, *args, **kwds)
  File "/usr/lib/python2.7/multiprocessing/managers.py", line 565, in _create
    conn = self._Client(self._address, authkey=self._authkey)
  File "/usr/lib/python2.7/multiprocessing/connection.py", line 169, in Client
    c = SocketClient(address)
  File "/usr/lib/python2.7/multiprocessing/connection.py", line 298, in
SocketClient
    s.connect(address)
  File "/usr/lib/python2.7/socket.py", line 224, in meth
    return getattr(self._sock,name)(*args)
error: [Errno 110] Connection timed out

An idea?

Best regards,
Franck


------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
Shinken-devel mailing list
Shinken-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shinken-devel

Reply via email to