Some errors on php upgrade

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Some errors on php upgrade

Post by gsmith »

Hi

As root on the Nagios XI server please run:

Code: Select all

script /tmp/terminal.log
curl -v -k https://192.168.23.82/nagiosxi/terminal/?
exit
Then send us the /tmp/terminal.log file.

Thanks
DonForigua
Posts: 94
Joined: Thu Oct 07, 2021 8:59 pm

Re: Some errors on php upgrade

Post by DonForigua »

Hi mate

Here the exit
You do not have the required permissions to view the files attached to this post.
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Some errors on php upgrade

Post by gsmith »

Hi

Now try re-installing shellinabox please:

Code: Select all

dnf remove shellinabox
dnf install shellinabox
systemctl start shellinaboxd
systemctl enable shellinaboxd

Then see if the web ssh interface works.

If it doesn't please run these commands again:

Code: Select all

rm -f /tmp/terminal.log
script /tmp/terminal.log
curl -v -k https://192.168.23.82/nagiosxi/terminal/?
exit
And send us the /tmp/terminal.log file.

Thanks
DonForigua
Posts: 94
Joined: Thu Oct 07, 2021 8:59 pm

Re: Some errors on php upgrade

Post by DonForigua »

Hello

Here is my file :)
You do not have the required permissions to view the files attached to this post.
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Some errors on php upgrade

Post by gsmith »

Hi

Could you look in /var/log/httpd and send me these files:
access_log
error_log
ssl_error_log

that cover the time you last ran the:

Code: Select all

rm -f /tmp/terminal.log
script /tmp/terminal.log
curl -v -k https://192.168.23.82/nagiosxi/terminal/?
exit
it was approximately at 2022-05-02 19:37:58-05:00

Thanks
DonForigua
Posts: 94
Joined: Thu Oct 07, 2021 8:59 pm

Re: Some errors on php upgrade

Post by DonForigua »

Hi dear

Here the logs

please delete it when you already download

thx
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Some errors on php upgrade

Post by gsmith »

Hi

Here's the error I am seeing:

Code: Select all

ssl_error_log-20220508:[Mon May 02 19:36:40.078587 2022] [proxy:error] [pid 1283248:tid 139735634237184] (111)Connection refused: AH00957: HTTPS: attempt to connect to 127.0.0.1:7878 (localhost) failed
ssl_error_log-20220508:[Mon May 02 19:36:40.078658 2022] [proxy_http:error] [pid 1283248:tid 139735634237184] [client 181.237.234.17:58893] AH01114: HTTP: failed to make connection to backend: localhost, referer: https://invimanmonitor.triara.co/nagiosxi/admin/sshterm.php
ssl_error_log-20220508:[Mon May 02 19:36:44.190668 2022] [proxy:error] [pid 1283248:tid 139734168872704] (111)Connection refused: AH00957: HTTPS: attempt to connect to 127.0.0.1:7878 (localhost) failed
ssl_error_log-20220508:[Mon May 02 19:36:44.190727 2022] [proxy_http:error] [pid 1283248:tid 139734168872704] [client 181.237.234.17:58908] AH01114: HTTP: failed to make connection to backend: localhost, referer: https://invimanmonitor.triara.co/nagiosxi/admin/sshterm.php
ssl_error_log-20220508:[Mon May 02 19:38:08.105642 2022] [proxy:error] [pid 1288227:tid 139735284578048] (111)Connection refused: AH00957: HTTPS: attempt to connect to 127.0.0.1:7878 (localhost) failed
ssl_error_log-20220508:[Mon May 02 19:38:08.105694 2022] [proxy_http:error] [pid 1288227:tid 139735284578048] [client 10.110.0.40:51616] AH01114: HTTP: failed to make connection to backend: localhost
Please go to Admin, System Settings and take a screenshot of the General tab please.

Thanks
DonForigua
Posts: 94
Joined: Thu Oct 07, 2021 8:59 pm

Re: Some errors on php upgrade

Post by DonForigua »

Greetings

Here is the screenshot
You do not have the required permissions to view the files attached to this post.
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Some errors on php upgrade

Post by gsmith »

Hi

It looks like you are trying to access the web-based SSH terminal from https://invimanmonitorXXXXXXXXXXXXXX
which is failing for security reasons.

You should be able to access it via http://10.110.0.40/nagiosxi/

The idea is that you don't want SSH access to your server from a publicly available website.

Thanks
Locked