Skip to content

Cant login #1494

Description

@krooarbo

Describe the bug
I cant login.

Thruk Version
Version of Thruk (and OMD if applicable)

thruk 3.26+1
Installed from https://labs.consol.de/repo/stable/

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'http://$host/thruk/cgi-bin/login.cgi.'
  2. Click on 'Sign in'
  3. Scroll down to '....'
  4. See error

Following error on the web UI:

"technical problem during login, please have a look at the logfiles."

Thruk debug log:

[2026/03/24 07:59:47][][DEBUG] file logging initialized with loglevel 4
[2026/03/24 07:59:47][][DEBUG] reading /etc/thruk/cgi.cfg
[2026/03/24 07:59:47][][DEBUG] reading config file: /etc/thruk/cgi.cfg
[2026/03/24 07:59:47][][DEBUG] server timezone: Europe/Vienna (from /etc/timezone)
[2026/03/24 07:59:47][][DEBUG] _dispatcher: http://10.9.0.17/thruk/cgi-bin/login.cgi?nocookie&thruk/
[2026/03/24 07:59:47][][DEBUG] params: {'nocookie' => '','thruk/' => ''}
[2026/03/24 07:59:47][][DEBUG] cgi-bin/login.cgi.cgi does not require authentication
[2026/03/24 07:59:47][][INFO] [07:59:47.743] pid: 1878351 req: 001 mem: 45.59 MB 4.17 MB dur: 0.025s (-/V:0.012s) size: 23.425 kb stat: 401 url: login.cgi?nocookie&thruk/
[2026/03/24 07:59:47][][DEBUG] +----------------------------------------------------------------------------------+-------------+
[2026/03/24 07:59:47][][DEBUG] | total time | 0.02906s |
[2026/03/24 07:59:47][][DEBUG] +----------------------------------------------------------------------------------+-------------+
[2026/03/24 07:59:47][][DEBUG] | _dispatcher: http://10.9.0.17/thruk/cgi-bin/login.cgi?nocookie&thruk/ | 0.02447s |
[2026/03/24 07:59:47][][DEBUG] | time: Tue Mar 24 07:59:47 2026 - host: - pid: 1878351 - req: | |
[2026/03/24 07:59:47][][DEBUG] | Root begin | 0.00060s |
[2026/03/24 07:59:47][][DEBUG] | Thruk::Controller::login::index | 0.00033s |
[2026/03/24 07:59:47][][DEBUG] | login::index | 0.00030s |
[2026/03/24 07:59:47][][DEBUG] | Root end | 0.00006s |
[2026/03/24 07:59:47][][DEBUG] | render_tt: login.tt | 0.01242s |
[2026/03/24 07:59:47][][DEBUG] | render: login.tt | 0.00742s |
[2026/03/24 07:59:47][][DEBUG] | render post: login.tt | 0.00008s |
[2026/03/24 07:59:47][][DEBUG] | finalize_request | 0.00002s |
[2026/03/24 07:59:47][][DEBUG] | render: _internal_stats.tt | 0.00450s |
[2026/03/24 07:59:47][][DEBUG] | render post: _internal_stats.tt | 0.00007s |
[2026/03/24 07:59:47][][DEBUG] +----------------------------------------------------------------------------------+-------------+
[2026/03/24 07:59:47][][DEBUG] | total time waited on rendering | 0.01242s |
[2026/03/24 07:59:47][][DEBUG] | total time | 0.02906s |
[2026/03/24 07:59:47][][DEBUG] +----------------------------------------------------------------------------------+-------------+
[2026/03/24 07:59:47][][DEBUG] checking memory limit: 45.59 (limit: 1000)
[2026/03/24 07:59:48][][DEBUG] _dispatcher: http://10.9.0.17/thruk/cgi-bin/login.cgi?nocookie&thruk/
[2026/03/24 07:59:48][][DEBUG] params: {'nocookie' => '','thruk/' => ''}
[2026/03/24 07:59:48][][DEBUG] cgi-bin/login.cgi.cgi does not require authentication
[2026/03/24 07:59:48][][INFO] [07:59:48.006] pid: 1878351 req: 002 mem: 45.66 MB 0.07 MB dur: 0.004s (-/V:0.001s) size: 23.427 kb stat: 401 url: login.cgi?nocookie&thruk/
[2026/03/24 07:59:48][][DEBUG] +----------------------------------------------------------------------------------+-------------+
[2026/03/24 07:59:48][][DEBUG] | total time | 0.00427s |
[2026/03/24 07:59:48][][DEBUG] +----------------------------------------------------------------------------------+-------------+
[2026/03/24 07:59:48][][DEBUG] | _dispatcher: http://10.9.0.17/thruk/cgi-bin/login.cgi?nocookie&thruk/ | 0.00365s |
[2026/03/24 07:59:48][][DEBUG] | time: Tue Mar 24 07:59:48 2026 - host: - pid: 1878351 - req: | |
[2026/03/24 07:59:48][][DEBUG] | Root begin | 0.00080s |
[2026/03/24 07:59:48][][DEBUG] | Thruk::Controller::login::index | 0.00036s |
[2026/03/24 07:59:48][][DEBUG] | login::index | 0.00032s |
[2026/03/24 07:59:48][][DEBUG] | Root end | 0.00006s |
[2026/03/24 07:59:48][][DEBUG] | render_tt: login.tt | 0.00144s |
[2026/03/24 07:59:48][][DEBUG] | render: login.tt | 0.00136s |
[2026/03/24 07:59:48][][DEBUG] | render post: login.tt | 0.00005s |
[2026/03/24 07:59:48][][DEBUG] | finalize_request | 0.00002s |
[2026/03/24 07:59:48][][DEBUG] | render: _internal_stats.tt | 0.00053s |
[2026/03/24 07:59:48][][DEBUG] | render post: _internal_stats.tt | 0.00007s |
[2026/03/24 07:59:48][][DEBUG] +----------------------------------------------------------------------------------+-------------+
[2026/03/24 07:59:48][][DEBUG] | total time waited on rendering | 0.00145s |
[2026/03/24 07:59:48][][DEBUG] | total time | 0.00427s |
[2026/03/24 07:59:48][][DEBUG] +----------------------------------------------------------------------------------+-------------+
[2026/03/24 07:59:48][][DEBUG] checking memory limit: 45.66 (limit: 1000)
[2026/03/24 07:59:53][][DEBUG] _dispatcher: http://10.9.0.17/thruk/cgi-bin/login.cgi
[2026/03/24 07:59:53][][DEBUG] params: {'login' => 'thrukadmin','password' => '...','referer' => 'thruk/'}
[2026/03/24 07:59:53][][DEBUG] cgi-bin/login.cgi.cgi does not require authentication
[2026/03/24 07:59:53][][DEBUG] using SSL_ca_file: /usr/lib/thruk/perl5/Mozilla/CA/cacert.pem (from Mozilla::CA::SSL_ca_file)
[2026/03/24 07:59:53][][INFO] [07:59:53.454] pid: 1878351 req: 003 mem: 47.64 MB 1.98 MB dur: 0.020s (-/-) size: 0.064 kb stat: 302 url: login.cgi
[2026/03/24 07:59:53][][DEBUG] +----------------------------------------------------------------------------------+-------------+
[2026/03/24 07:59:53][][DEBUG] | total time | 0.01956s |
[2026/03/24 07:59:53][][DEBUG] +----------------------------------------------------------------------------------+-------------+
[2026/03/24 07:59:53][][DEBUG] | _dispatcher: http://10.9.0.17/thruk/cgi-bin/login.cgi | 0.01953s |
[2026/03/24 07:59:53][][DEBUG] | time: Tue Mar 24 07:59:53 2026 - host: - pid: 1878351 - req: | |
[2026/03/24 07:59:53][][DEBUG] | Root begin | 0.00059s |
[2026/03/24 07:59:53][][DEBUG] | Thruk::Controller::login::index | 0.01802s |
[2026/03/24 07:59:53][][DEBUG] | login::index | ~0.01801s |
[2026/03/24 07:59:53][][DEBUG] | get_user_data | 0.00002s |
[2026/03/24 07:59:53][][DEBUG] | login::external_authentication | 0.01763s |
[2026/03/24 07:59:53][][DEBUG] | ext::auth: post1 http://localhost/thruk/cgi-bin/restricted.cgi | 0.00680s |
[2026/03/24 07:59:53][][DEBUG] | Root end | 0.00008s |
[2026/03/24 07:59:53][][DEBUG] | finalize_request | 0.00003s |
[2026/03/24 07:59:53][][DEBUG] +----------------------------------------------------------------------------------+-------------+
[2026/03/24 07:59:53][][DEBUG] | total time waited on io | 0.00005s |
[2026/03/24 07:59:53][][DEBUG] | total time | 0.01956s |
[2026/03/24 07:59:53][][DEBUG] +----------------------------------------------------------------------------------+-------------+
[2026/03/24 07:59:53][][DEBUG] checking memory limit: 47.64 (limit: 1000)
[2026/03/24 07:59:53][][DEBUG] _dispatcher: http://10.9.0.17/thruk/cgi-bin/login.cgi?problem&thruk/
[2026/03/24 07:59:53][][DEBUG] params: {'problem' => '','thruk/' => ''}
[2026/03/24 07:59:53][][DEBUG] cgi-bin/login.cgi.cgi does not require authentication
[2026/03/24 07:59:53][][DEBUG] set_message: fail_message - technical problem during login, please have a look at the logfiles.
[2026/03/24 07:59:53][][INFO] [07:59:53.557] pid: 1878351 req: 004 mem: 47.77 MB 0.12 MB dur: 0.004s (-/V:0.002s) size: 23.574 kb stat: 401 url: login.cgi?problem&thruk/
[2026/03/24 07:59:53][][DEBUG] +----------------------------------------------------------------------------------+-------------+
[2026/03/24 07:59:53][][DEBUG] | total time | 0.00381s |
[2026/03/24 07:59:53][][DEBUG] +----------------------------------------------------------------------------------+-------------+
[2026/03/24 07:59:53][][DEBUG] | _dispatcher: http://10.9.0.17/thruk/cgi-bin/login.cgi?problem&thruk/ | 0.00327s |
[2026/03/24 07:59:53][][DEBUG] | time: Tue Mar 24 07:59:53 2026 - host: - pid: 1878351 - req: | |
[2026/03/24 07:59:53][][DEBUG] | Root begin | 0.00055s |
[2026/03/24 07:59:53][][DEBUG] | Thruk::Controller::login::index | 0.00038s |
[2026/03/24 07:59:53][][DEBUG] | login::index | 0.00034s |
[2026/03/24 07:59:53][][DEBUG] | Root end | 0.00006s |
[2026/03/24 07:59:53][][DEBUG] | render_tt: login.tt | 0.00154s |
[2026/03/24 07:59:53][][DEBUG] | render: login.tt | 0.00147s |
[2026/03/24 07:59:53][][DEBUG] | render post: login.tt | 0.00005s |
[2026/03/24 07:59:53][][DEBUG] | finalize_request | 0.00002s |
[2026/03/24 07:59:53][][DEBUG] | render: _internal_stats.tt | 0.00045s |
[2026/03/24 07:59:53][][DEBUG] | render post: _internal_stats.tt | 0.00007s |
[2026/03/24 07:59:53][][DEBUG] +----------------------------------------------------------------------------------+-------------+
[2026/03/24 07:59:53][][DEBUG] | total time waited on rendering | 0.00155s |
[2026/03/24 07:59:53][][DEBUG] | total time | 0.00381s |
[2026/03/24 07:59:53][][DEBUG] +----------------------------------------------------------------------------------+-------------+
[2026/03/24 07:59:53][][DEBUG] checking memory limit: 47.77 (limit: 1000)

Expected behavior
Login success

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):
Any browser . E.g. Google Chrome 146.0.7680.154, Firefox 148.0.2 (64 bites), Microsoft Edge 146.0.3856.72

Additional context

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions