Hi Sven,
We have two node cluster setup for thruk. Thruk.log wont get updated after Oct 22nd. When we do a curl to the localhost, apache webserver comes up. We think the linking between has some issues, that needs to be fixed.
I made changes thruk.log by giving the 775 permissions, and these are the below errors. We have also used thruk user instead of apache as it was redirected from apache user to thruk user.
[thruk]# tail -f thruk.log
[2021/10/22 01:41:58][ERROR] Thruk::Utils::Log::_audit_log('login', 'user login, session started (password)') called at /usr/share/thruk/lib/Thruk/Controller/
login.pm line 247
[2021/10/22 01:41:58][ERROR] Thruk::Controller::login::login_successful('Thruk::Context=HASH(0x7146c20)', 'thrukadmin', 'HASH(0x6236840)', '/thruk/', '', 'password') called at /usr/share/thruk/lib/Thruk/Controller/
login.pm line 177
[2021/10/22 01:41:58][ERROR] Thruk::Controller::login::_handle_basic_login('Thruk::Context=HASH(0x7146c20)', 'thrukadmin', 'thrukadmin', '/thruk/', '/thruk/', '') called at /usr/share/thruk/lib/Thruk/Controller/
login.pm line 117
[2021/10/22 01:41:58][ERROR] Thruk::Controller::login::index('Thruk::Context=HASH(0x7146c20)', '/thruk/cgi-bin/login.cgi') called at /usr/share/thruk/lib/Thruk.pm line 310
[2021/10/22 01:41:58][ERROR] eval {...} called at /usr/share/thruk/lib/Thruk.pm line 305
[2021/10/22 01:41:58][ERROR] Thruk::_dispatcher('HASH(0x552ace0)') called at /usr/lib64/thruk/perl5/Plack/Util.pm line 145
[2021/10/22 01:41:58][ERROR] eval {...} called at /usr/lib64/thruk/perl5/Plack/Util.pm line 145
[2021/10/22 01:41:58] Plack::Util::run_app('CODE(0x2f6c190)', 'HASH(0x552ace0)') called at /usr/lib64/thruk/perl5/Plack/Handler/FCGI.pm line 147
[2021/10/22 01:41:58][ERROR] Plack::Handler::FCGI::run('Plack::Handler::FCGI=HASH(0x6ddc48)', 'CODE(0x2f6c190)') called at /usr/share/thruk/script/
thruk_fastcgi.pl line 28
The below ones are from httpd - ssl_error.log
[httpd]# tail -f ssl_error_log
[Wed Oct 27 06:56:07.550564 2021] [core:error] [pid 14110] [client
10.3.204.153:50932] End of script output before headers: fcgid_env.sh
[Wed Oct 27 06:56:14.589866 2021] [fcgid:warn] [pid 14113] (104)Connection reset by peer: [client
10.3.204.153:50934] mod_fcgid: error reading data from FastCGI server
[Wed Oct 27 06:56:14.589943 2021] [core:error] [pid 14113] [client
10.3.204.153:50934] End of script output before headers: fcgid_env.sh
[Wed Oct 27 06:56:24.295317 2021] [autoindex:error] [pid 14111] [client
10.3.204.153:50941] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
[Wed Oct 27 06:56:34.560662 2021] [fcgid:warn] [pid 14110] (104)Connection reset by peer: [client
10.3.204.153:50943] mod_fcgid: error reading data from FastCGI server
[Wed Oct 27 06:56:34.560691 2021] [core:error] [pid 14110] [client
10.3.204.153:50943] End of script output before headers: fcgid_env.sh
[Wed Oct 27 07:00:52.404338 2021] [fcgid:warn] [pid 16280] (104)Connection reset by peer: [client
10.3.204.153:50951] mod_fcgid: error reading data from FastCGI server
[Wed Oct 27 07:00:52.404381 2021] [core:error] [pid 16280] [client
10.3.204.153:50951] End of script output before headers: fcgid_env.sh
[Wed Oct 27 09:40:00.083066 2021] [fcgid:warn] [pid 16451] (104)Connection reset by peer: [client
10.90.101.168:54406] mod_fcgid: error reading data from FastCGI server
[Wed Oct 27 09:40:00.083111 2021] [core:error] [pid 16451] [client
10.90.101.168:54406] End of script output before headers: fcgid_env.sh
Please let us know what can be done to fix this issue.
Thanks & Regards,
Adith