Results 1 to 2 of 2

Thread: skonf wont run

  1. #1
    Junior Member
    Join Date
    Feb 2013
    Posts
    1

    skonf wont run

    Hi, I am not able to run skonf

    Code:
    root@h1897614:/home# service shinken start
    Starting scheduler:
     * Already running
    Starting poller:
     * Already running
    Starting reactionner:
     * Already running
    Starting broker:
     * Already running
    Starting receiver:
     * Already running
    Starting arbiter:
     * Already running
    Starting skonf:
    FAILED: AttributeError: 'Config' object has no attribute 'discovery_cfg' (full output is in /tmp/bad_start_for_skonf)
      ...fail!
    Code:
    [1359815431] Info :  Shinken 1.2.3
    [1359815431] Info :  Copyright (c) 2009-2011:
    [1359815431] Info :  Gabes Jean (naparuba@gmail.com)
    [1359815431] Info :  Gerhard Lausser, Gerhard.Lausser@consol.de
    [1359815431] Info :  Gregory Starck, g.starck@gmail.com
    [1359815431] Info :  Hartmut Goebel, h.goebel@goebel-consult.de
    [1359815431] Info :  License: AGPL
    Loading configuration
    [1359815431] Info :  [config] opening '' configuration file
    [1359815431] Error :  [config] cannot open config file '' for reading: [Errno 2] No such file or directory: ''
    [1359815431] Critical : I got an unrecoverable error. I have to exit
    [1359815431] Critical : You can log a bug ticket at https://github.com/naparuba/shinken/issues/new to get help
    [1359815431] Critical : Back trace of it: Traceback (most recent call last):
     File "/usr/local/shinken/shinken/daemons/skonfdaemon.py", line 396, in main
      self.load_config_file()
     File "/usr/local/shinken/shinken/daemons/skonfdaemon.py", line 205, in load_config_file
      self.discovery_cfg = self.conf.discovery_cfg
    AttributeError: 'Config' object has no attribute 'discovery_cfg'
    
    Traceback (most recent call last):
     File "/usr/bin/shinken-skonf", line 100, in <module>
      daemon.main()
     File "/usr/local/shinken/shinken/daemons/skonfdaemon.py", line 396, in main
      self.load_config_file()
     File "/usr/local/shinken/shinken/daemons/skonfdaemon.py", line 205, in load_config_file
      self.discovery_cfg = self.conf.discovery_cfg
    AttributeError: 'Config' object has no attribute 'discovery_cfg'

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

    Re: skonf wont run

    It's a new setup or an upgrade?
    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
  •