Page 3 of 3
Re: Some errors on php upgrade
Posted: Fri Apr 22, 2022 1:53 pm
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
Re: Some errors on php upgrade
Posted: Tue Apr 26, 2022 9:25 pm
by DonForigua
Hi mate
Here the exit
Re: Some errors on php upgrade
Posted: Fri Apr 29, 2022 9:22 am
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
Re: Some errors on php upgrade
Posted: Mon May 02, 2022 7:41 pm
by DonForigua
Hello
Here is my file
Re: Some errors on php upgrade
Posted: Tue May 03, 2022 4:56 pm
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
Re: Some errors on php upgrade
Posted: Wed May 11, 2022 12:58 pm
by DonForigua
Hi dear
Here the logs
please delete it when you already download
thx
Re: Some errors on php upgrade
Posted: Thu May 12, 2022 9:44 am
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
Re: Some errors on php upgrade
Posted: Fri May 13, 2022 2:39 pm
by DonForigua
Greetings
Here is the screenshot
Re: Some errors on php upgrade
Posted: Fri May 13, 2022 4:19 pm
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