Results 1 to 4 of 4

Thread: Starting thruk..................failed

  1. #1
    Junior Member
    Join Date
    Jan 2014
    Location
    Earth
    Posts
    16

    Starting thruk..................failed

    Hello,
    I'm trying again to use thruk with Shinken.
    For now, I think evrything is good with shinken.
    But when trying to access Thruk UI, there's nothing...as if thruk was not started.
    What's wrong ?
    Here is the error I have when I start Thruk :

    shinken@SRVDEBIAN:/usr/lib/apache2/modules$ sudo /etc/init.d/thruk start
    [sudo] password for shinken:
    Starting thruk..................failed
    Setting --timeout (timeout) to 15
    Setting --output-document (outputdocument) to -
    DEBUG output created by Wget 1.13.4 on linux-gnu.

    URI encoding = «UTF-8»
    --2014-07-18 08:30:44-- http://localhost/thruk/cgi-bin/remote.cgi?startup
    Résolution de localhost (localhost)... ::1, 127.0.0.1
    Caching localhost => ::1 127.0.0.1
    Connexion vers localhost (localhost)|::1|:80...connecté.
    Created socket 3.
    Releasing 0x0000000001696bf0 (new refcount 1).

    ---request begin---
    POST /thruk/cgi-bin/remote.cgi?startup HTTP/1.1
    User-Agent: Wget/1.13.4 (linux-gnu)
    Accept: */*
    Host: localhost
    Connection: Keep-Alive
    Content-Type: application/x-www-form-urlencoded
    Content-Length: 2

    ---request end---
    [POST data: '']
    requête HTTP transmise, en attente de la réponse...ERREUR de lecture (Connexion terminée par expiration du délai d'attente) de l'en-tête.
    Closed fd 3
    Abandon.

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

    Re: Starting thruk..................failed

    What about Thruk logs?
    No direct support by personal message. Please open a thread so everyone can see the solution

  3. #3
    Junior Member
    Join Date
    Jan 2014
    Location
    Earth
    Posts
    16

    Re: Starting thruk..................failed

    Hi,

    Thruk logs are not very verbose...
    Then, I started Thruk this way : thruk start -v
    I understand that he doesn't find the page he's seraching for but why ?

    Here is the log I have :

    Code:
    root@srvshinken:/# thruk start -v
    [Mon Jul 28 11:36:18 2014][DEBUG] reading secret file: /var/lib/thruk/secret.key
    [Mon Jul 28 11:36:18 2014][DEBUG] _run(): $VAR1 = {
    [Mon Jul 28 11:36:18 2014][DEBUG]      'yes' => undef,
    [Mon Jul 28 11:36:18 2014][DEBUG]      'verbose' => 2,
    [Mon Jul 28 11:36:18 2014][DEBUG]      'listbackends' => undef,
    [Mon Jul 28 11:36:18 2014][DEBUG]      'remoteurl_specified' => 0,
    [Mon Jul 28 11:36:18 2014][DEBUG]      'local' => undef,
    [Mon Jul 28 11:36:18 2014][DEBUG]      'all_inclusive' => undef,
    [Mon Jul 28 11:36:18 2014][DEBUG]      'auth' => undef,
    [Mon Jul 28 11:36:18 2014][DEBUG]      'backends' => [],
    [Mon Jul 28 11:36:18 2014][DEBUG]      'remoteurl' => 'http://localhost/thruk/cgi-bin/remote.cgi',
    [Mon Jul 28 11:36:18 2014][DEBUG]      'url' => [
    [Mon Jul 28 11:36:18 2014][DEBUG]           'start'
    [Mon Jul 28 11:36:18 2014][DEBUG]          ],
    [Mon Jul 28 11:36:18 2014][DEBUG]      'help' => undef,
    [Mon Jul 28 11:36:18 2014][DEBUG]      'quiet' => undef,
    [Mon Jul 28 11:36:18 2014][DEBUG]      'version' => undef,
    [Mon Jul 28 11:36:18 2014][DEBUG]      'force' => undef,
    [Mon Jul 28 11:36:18 2014][DEBUG]      'action' => undef,
    [Mon Jul 28 11:36:18 2014][DEBUG]      'credential' => '8dc5c6392122bcf7bdeca37b8371be5b',
    [Mon Jul 28 11:36:18 2014][DEBUG]      'start' => undef
    [Mon Jul 28 11:36:18 2014][DEBUG]     };
    [Mon Jul 28 11:36:18 2014][DEBUG] _request(http://localhost/thruk/cgi-bin/remote.cgi)
    [Mon Jul 28 11:36:19 2014][DEBUG] -> success
    [Mon Jul 28 11:36:19 2014][DEBUG]  -> $VAR1 = bless( {
    [Mon Jul 28 11:36:19 2014][DEBUG]         '_msg' => 'OK',
    [Mon Jul 28 11:36:19 2014][DEBUG]         '_content' => '{"rc":1,"output":"request failed: 404 - Page not found\\n"}',
    [Mon Jul 28 11:36:19 2014][DEBUG]         '_protocol' => 'HTTP/1.1',
    [Mon Jul 28 11:36:19 2014][DEBUG]         '_headers' => bless( {
    [Mon Jul 28 11:36:19 2014][DEBUG]                     'connection' => 'close',
    [Mon Jul 28 11:36:19 2014][DEBUG]                     'client-response-num' => 1,
    [Mon Jul 28 11:36:19 2014][DEBUG]                     'date' => 'Mon, 28 Jul 2014 09:36:18 GMT',
    [Mon Jul 28 11:36:19 2014][DEBUG]                     'vary' => 'Accept-Encoding',
    [Mon Jul 28 11:36:19 2014][DEBUG]                     'client-peer' => '127.0.0.1:80',
    [Mon Jul 28 11:36:19 2014][DEBUG]                     'content-length' => '58',
    [Mon Jul 28 11:36:19 2014][DEBUG]                     '::std_case' => {
    [Mon Jul 28 11:36:19 2014][DEBUG]                              'client-date' => 'Client-Date',
    [Mon Jul 28 11:36:19 2014][DEBUG]                              'client-response-num' => 'Client-Response-Num',
    [Mon Jul 28 11:36:19 2014][DEBUG]                              'client-peer' => 'Client-Peer'
    [Mon Jul 28 11:36:19 2014][DEBUG]                             },
    [Mon Jul 28 11:36:19 2014][DEBUG]                     'client-date' => 'Mon, 28 Jul 2014 09:36:19 GMT',
    [Mon Jul 28 11:36:19 2014][DEBUG]                     'content-type' => 'text/html; charset=utf-8',
    [Mon Jul 28 11:36:19 2014][DEBUG]                     'server' => 'Apache/2.2.22 (Debian)'
    [Mon Jul 28 11:36:19 2014][DEBUG]                    }, 'HTTP::Headers' ),
    [Mon Jul 28 11:36:19 2014][DEBUG]         '_rc' => 200,
    [Mon Jul 28 11:36:19 2014][DEBUG]         '_request' => bless( {
    [Mon Jul 28 11:36:19 2014][DEBUG]                     '_content' => 'data=%7B%22options%22%3A%7B%22yes%22%3Anull%2C%22verbose%22%3A2%2C%22listbackends%22%3Anull%2C%22remoteurl_specified%22%3A0%2C%22local%22%3Anull%2C%22all_inclusive%22%3Anull%2C%22auth%22%3Anull%2C%22backends%22%3A%5B%5D%2C%22remoteurl%22%3A%22http%3A%2F%2Flocalhost%2Fthruk%2Fcgi-bin%2Fremote.cgi%22%2C%22url%22%3A%5B%22start%22%5D%2C%22help%22%3Anull%2C%22quiet%22%3Anull%2C%22version%22%3Anull%2C%22force%22%3Anull%2C%22action%22%3Anull%2C%22credential%22%3A%228dc5c6392122bcf7bdeca37b8371be5b%22%2C%22start%22%3Anull%7D%2C%22credential%22%3A%228dc5c6392122bcf7bdeca37b8371be5b%22%7D',
    [Mon Jul 28 11:36:19 2014][DEBUG]                     '_uri' => bless( do{\(my $o = 'http://localhost/thruk/cgi-bin/remote.cgi')}, 'URI::http' ),
    [Mon Jul 28 11:36:19 2014][DEBUG]                     '_headers' => bless( {
    [Mon Jul 28 11:36:19 2014][DEBUG]                                'user-agent' => 'thruk_cli',
    [Mon Jul 28 11:36:19 2014][DEBUG]                                'content-type' => 'application/x-www-form-urlencoded',
    [Mon Jul 28 11:36:19 2014][DEBUG]                                'content-length' => 585
    [Mon Jul 28 11:36:19 2014][DEBUG]                               }, 'HTTP::Headers' ),
    [Mon Jul 28 11:36:19 2014][DEBUG]                     '_method' => 'POST',
    [Mon Jul 28 11:36:19 2014][DEBUG]                     '_uri_canonical' => $VAR1->{'_request'}{'_uri'}
    [Mon Jul 28 11:36:19 2014][DEBUG]                    }, 'HTTP::Request' )
    [Mon Jul 28 11:36:19 2014][DEBUG]        }, 'HTTP::Response' );
    [Mon Jul 28 11:36:19 2014][DEBUG]  -> $VAR1 = {
    [Mon Jul 28 11:36:19 2014][DEBUG]      'rc' => 1,
    [Mon Jul 28 11:36:19 2014][DEBUG]      'output' => 'request failed: 404 - Page not found
    [Mon Jul 28 11:36:19 2014][DEBUG] '
    [Mon Jul 28 11:36:19 2014][DEBUG]     };
    request failed: 404 - Page not found
    Debian 7

  4. #4
    Junior Member
    Join Date
    Apr 2018
    Posts
    1
    Monitoring of the project has been done for the approval of the factors for the students. Now it has been insured with case study writing service options for the future times. The assignment has been implemented for the flow of the factors for the deserving individuals.

Posting Permissions

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