Results 1 to 4 of 4

Thread: Error on shinken after installation : no host, no service

  1. #1
    Junior Member
    Join Date
    Sep 2012
    Posts
    9

    Error on shinken after installation : no host, no service

    hello

    i have migrate from nagios 2 to shiken 1.2.
    But shinken is very instable, and i have error every hour.

    At start, shinken is ok but i have no host and no service (normally, 850 hosts and 7000 services !)
    [glow=red,2,300]in the nagios.log:[/glow]

    Code:
    [1348122233] Warning : [reactionner-1] Scheduler scheduler-1 is not initialized or has network problem: connection timeout receiving
    [1348122238] Warning : [reactionner-1] Scheduler scheduler-1 is not initialized or has network problem: connection timeout receiving
    [1348122238] Warning : Sent failed!
    [glow=red,2,300]in the schedulerd.log:[/glow]
    Code:
    2012-09-20 08:22:44,439 [1348122164] Warning : IOError(2, 'No such file or directory')
    2012-09-20 08:22:44,440 [1348122164] Warning : IOError(2, 'No such file or directory')
    2012-09-20 08:25:10,570 [1348122310] Warning : IOError(2, 'No such file or directory')

    [glow=red,2,300]reactionnerd.log[/glow]
    Code:
    2012-09-20 08:24:15,833 [1348122255] Warning : [reactionner-1] Scheduler scheduler-1 is not initialized or has network problem: connection timeout receiving
    2012-09-20 08:24:20,836 [1348122260] Warning : [reactionner-1] Scheduler scheduler-1 is not initialized or has network problem: connection timeout receiving
    2012-09-20 08:24:20,837 [1348122260] Warning : Sent failed!
    if i stop/start shinken a lot of times, shinken is ok for 1 or 2 hours, and after, same problem.

    Thank you

  2. #2

    Re: Error on shinken after installation : no host, no service

    I think this behaviour is unrelated to Thruk.

  3. #3
    Junior Member
    Join Date
    Sep 2012
    Posts
    9

    Re: Error on shinken after installation : no host, no service

    yes i think too

    After 15 mn of great work, shinken have the error :
    "No Backend available
    None of the configured Backends could be reached, please have a look at the logfile for detailed information."

    very instable ...........

    [glow=red,2,300]pollerd.log[/glow]
    return self.__send(self.__name, args, kwargs)
    File "/usr/lib/pymodules/python2.6/Pyro/core.py", line 459, in _invokePYRO
    return self.adapter.remoteInvocation(name, Pyro.constants.RIF_VarargsAndKeywords, vargs, kargs)
    File "/usr/lib/pymodules/python2.6/Pyro/protocol.py", line 439, in remoteInvocation
    return self._remoteInvocation(method, flags, *args)
    File "/usr/lib/pymodules/python2.6/Pyro/protocol.py", line 500, in _remoteInvocation
    answer.raiseEx()
    File "/usr/lib/pymodules/python2.6/Pyro/errors.py", line 72, in raiseEx
    raise self.excObj
    ProtocolError: unknown object ID

    [glow=red,2,300]schedulerd.log[/glow]
    2012-09-20 08:32:58,697 [1348122778] Warning : put_results:: get unknown event handler : 15691
    2012-09-20 08:32:58,698 [1348122778] Warning : put_results:: get unknown event handler : 15692
    2012-09-20 08:32:58,698 [1348122778] Warning : put_results:: get unknown event handler : 15693
    2012-09-20 08:32:58,698 [1348122778] Warning : put_results:: get unknown event handler : 15694
    2012-09-20 08:33:13,098 [1348122793] Warning : IOError(2, 'No such file or directory&#039
    2012-09-20 08:35:03,616 [1348122903] Warning : IOError(2, 'No such file or directory&#039
    2012-09-20 08:37:14,277 [1348123034] Warning : IOError(2, 'No such file or directory&#039
    2012-09-20 08:40:02,043 [1348123202] Warning : IOError(2, 'No such file or directory&#039
    2012-09-20 08:42:00,442 [1348123320] Warning : IOError(2, 'No such file or directory&#039
    2012-09-20 08:44:07,538 [1348123447] Warning : IOError(2, 'No such file or directory&#039

    [glow=red,2,300]brokerd.log[/glow]
    File "/usr/local/lib/python2.6/dist-packages/pymongo-2.3-py2.6-linux-i686.egg/pymongo/connection.py", line 666, in __find_node
    raise AutoReconnect(', '.join(errors))
    AutoReconnect: could not connect to localhost:27017: [Errno 111] Connection refused
    2012-09-20 08:22:43,456 [1348122163] Warning : The module 'Mongodb' failed to init, I will try to restart it later
    2012-09-20 08:26:47,259 [1348122407] Warning : [broker-1] Connection problem to the poller poller-1: connection timeout receiving
    2012-09-20 08:27:51,285 [1348122471] Warning : [broker-1] Connection problem to the scheduler scheduler-1: unknown object ID
    2012-09-20 08:28:42,849 [1348122522] Error : [broker-1] The external module Status-Dat-Autogenerated goes down unexpectly!
    2012-09-20 08:38:50,587 [1348123130] Warning : [broker-1] Connection problem to the poller poller-1: connection timeout receiving
    2012-09-20 08:39:14,869 [1348123154] Warning : [broker-1] Connection problem to the scheduler scheduler-1: unknown object ID
    2012-09-20 08:41:40,087 [1348123300] Warning : [broker-1] Connection problem to the scheduler scheduler-1: unknown object ID



    [glow=red,2,300]reactionnerd.log[/glow]
    2012-09-20 08:34:40,385 [1348122880] Warning : [reactionner-1] Scheduler scheduler-1 is not initialized or has network problem: connection timeout receiving
    2012-09-20 08:34:40,386 [1348122880] Warning : Sent failed!
    2012-09-20 08:34:46,394 [1348122886] Warning : [reactionner-1] Scheduler scheduler-1 is not initialized or has network problem: connection timeout receiving
    2012-09-20 08:34:50,543 [1348122890] Warning : Sent failed!
    2012-09-20 08:38:55,461 [1348123135] Warning : [reactionner-1] Scheduler scheduler-1 is not initialized or has network problem: connection timeout receiving
    2012-09-20 08:39:00,483 [1348123140] Warning : [reactionner-1] Scheduler scheduler-1 is not initialized or has network problem: connection timeout receiving
    2012-09-20 08:39:00,484 [1348123140] Warning : Sent failed!
    2012-09-20 08:39:06,493 [1348123146] Warning : [reactionner-1] Scheduler scheduler-1 is not initialized or has network problem: connection timeout receiving
    2012-09-20 08:39:11,500 [1348123151] Warning : [reactionner-1] Scheduler scheduler-1 is not initialized or has network problem: connection timeout receiving
    2012-09-20 08:39:11,501 [1348123151] Warning : Sent failed!


    [glow=red,2,300]nagios.log[/glow]
    [1348122744] Warning : Sent failed!
    [1348122750] Warning : [reactionner-1] Scheduler scheduler-1 is not initialized or has network problem: connection timeout receiving
    [1348122755] Warning : [reactionner-1] Scheduler scheduler-1 is not initialized or has network problem: connection timeout receiving
    [1348122755] Warning : Sent failed!
    [1348122761] Warning : [reactionner-1] Scheduler scheduler-1 is not initialized or has network problem: connection timeout receiving
    [1348122766] Warning : [reactionner-1] Scheduler scheduler-1 is not initialized or has network problem: connection timeout receiving
    [1348122766] Warning : Sent failed!
    [1348122772] Warning : [reactionner-1] Scheduler scheduler-1 is not initialized or has network problem: connection timeout receiving
    [1348122777] Warning : [reactionner-1] Scheduler scheduler-1 is not initialized or has network problem: connection timeout receiving
    [1348122777] Warning : Sent failed!

    thank you for your help

  4. #4
    Shinken project leader
    Join Date
    May 2011
    Location
    Bordeaux (France)
    Posts
    2,131

    Re: Error on shinken after installation : no host, no service

    I think the root problem is "IOError(2, 'No such file or directory&#039" but I don't know where it can came from. The only OS realted thing is the multiprocess thing for the scheduler, and should not be used without a scheduler module.

    Can you try to run without scheduler modules?
    No direct support by personal message. Please open a thread so everyone can see the solution

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •