Results 1 to 4 of 4

Thread: webui v2 will not start

  1. #1
    Junior Member
    Join Date
    Aug 2014
    Posts
    11

    webui v2 will not start

    I have installed using the read the docs but I cannot get webui v1 or 2 to start
    a netstat does not even show the open port.
    I have set the log level on shinken to debug but the broker log shows nothing.
    How can I get webui to work?

    installed using:
    https://github.com/shinken-monitorin...i/Installation

    brokerd.log
    [1452134924] INFO: [Shinken] Using the local log file '/var/log/shinken/brokerd.log'
    [1452134924] INFO: [Shinken] Printing stored debug messages prior to our daemonization
    [1452134924] INFO: [Shinken] Successfully changed to workdir: /var/run/shinken
    [1452134924] INFO: [Shinken] Opening pid file: /var/run/shinken/brokerd.pid
    [1452134924] INFO: [Shinken] Redirecting stdout and stderr as necessary..
    [1452134924] INFO: [Shinken] We are now fully daemonized pid=9732
    [1452134924] INFO: [Shinken] Starting HTTP daemon
    [1452134924] INFO: [Shinken] Modules directory: /var/lib/shinken/modules
    [1452134924] INFO: [Shinken] Modules directory: /var/lib/shinken/modules
    [1452134924] INFO: [Shinken] Waiting for initial configuration

    I have added webui2 to the modules line in broker-master.cfg

    I'm losing hair and sleep and have no clue what else to do.

  2. #2
    Member
    Join Date
    May 2013
    Location
    France - Valence
    Posts
    91
    You have a Shinken configuration problem because your broker is still waiting for its configuration from the arbiter ... please check your configuration files and the other log files for any ERROR message.

    Checks:
    -
    Code:
    shinken-arbiter -v -c /etc/shinken/shinken.cfg
    must not report any error
    - ERROR logs in all the log files

  3. #3
    I have the exact same problem, and I'm following the quick start to the LETTER

    Verify works OK:

    Code:
    [1454474613] INFO: [Shinken] Processing object config file '/etc/shinken/modules/webui.cfg'
    ...
    [1454474613] INFO: [Shinken] Things look okay - No serious problems were detected during the pre-flight check
    Arbiter loads it (from arbiterd.log:
    Code:
    [1454474818] INFO: [Shinken] Processing object config file '/etc/shinken/modules/webui.cfg'

    However, I do find an error here in brokerd.log

    Code:
    [1454474818] INFO: [broker-master] We received modules [<module type=webui name=WebUI />]
    [1454474818] INFO: [broker-master] Correctly loaded dummy_broker as an old-new-style shinken module :|
    [1454474818] INFO: [broker-master] Correctly loaded dummy_poller as an old-new-style shinken module :|
    [1454474818] INFO: [broker-master] Correctly loaded dummy_scheduler as an old-new-style shinken module :|
    [1454474818] INFO: [broker-master] Correctly loaded dummy_broker_external as an old-new-style shinken module :|
    [1454474818] INFO: [broker-master] Correctly loaded dummy_arbiter as an old-new-style shinken module :|
    [1454474818] WARNING: [broker-master] The module type webui for WebUI was not found in modules!
    [1454474818] INFO: [broker-master] I correctly loaded the modules: []
    [1454474819] INFO: [broker-master] Connection problem to the scheduler scheduler-master: Connection error to http://loca
    [1454474819] INFO: [broker-master] Connection OK to the poller poller-master
    [1454474819] INFO: [broker-master] Connection OK to the reactionner reactionner-master
    [1454474819] INFO: [broker-master] Connection OK to the receiver receiver-master
    [1454474824] INFO: [broker-master] Connection OK to the scheduler scheduler-master
    Scheduler does seem to work though:
    Code:
    [1454474817] INFO: [Shinken] Stale pidfile exists at invalid literal for int() with base 10: '' (/var/run/shinken/schedu
    [1454474817] INFO: [Shinken] Opening HTTP socket at http://0.0.0.0:7768
    [1454474817] INFO: [Shinken] Initializing a CherryPy backend with 8 threads
    [1454474817] INFO: [Shinken] Using the local log file '/var/log/shinken/schedulerd.log'
    [1454474817] INFO: [Shinken] Printing stored debug messages prior to our daemonization
    [1454474817] INFO: [Shinken] Successfully changed to workdir: /var/run/shinken
    [1454474817] INFO: [Shinken] Opening pid file: /var/run/shinken/schedulerd.pid
    [1454474817] INFO: [Shinken] Redirecting stdout and stderr as necessary..
    [1454474817] INFO: [Shinken] We are now fully daemonized :) pid=11961
    [1454474817] INFO: [Shinken] Modules directory: /var/lib/shinken/modules
    [1454474817] INFO: [Shinken] Starting HTTP daemon
    [1454474817] INFO: [Shinken] Modules directory: /var/lib/shinken/modules
    [1454474817] INFO: [Shinken] [scheduler] General interface is at: http://0.0.0.0:7768
    [1454474817] INFO: [Shinken] Waiting for initial configuration
    [1454474819] INFO: [Shinken] New configuration received
    [1454474819] INFO: [Shinken] Correctly loaded dummy_broker as an old-new-style shinken module :|
    [1454474819] INFO: [Shinken] Correctly loaded dummy_poller as an old-new-style shinken module :|
    [1454474819] INFO: [Shinken] Correctly loaded dummy_scheduler as an old-new-style shinken module :|
    [1454474819] INFO: [Shinken] Correctly loaded dummy_broker_external as an old-new-style shinken module :|
    [1454474819] INFO: [Shinken] Correctly loaded dummy_arbiter as an old-new-style shinken module :|
    [1454474819] INFO: [Shinken] I correctly loaded the modules: []
    [1454474819] INFO: [Shinken] Loading configuration.
    [1454474819] INFO: [Shinken] New configuration loaded
    [1454474819] INFO: [Shinken] [scheduler-master] First scheduling launched
    [1454474819] INFO: [Shinken] [scheduler-master] First scheduling done
    [1454474824] INFO: [Shinken] A new broker just connected : broker-master
    [1454474824] INFO: [Shinken] [scheduler-master] Created 36 initial Broks for broker broker-master
    Environment:


    Vanilla Oracle Linux, installed 2.0.2 from the web site, then went to GitHub and found 2.4.2; installed that 'on top of' 2.0.2. Had to fix a few config files, all running OK now except for WebUI.

    Help!

    == John ==

  4. #4
    I installed WebUI2 and that fixed it

    == John ==

Posting Permissions

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