z

Commercial Support Clients: Clients with support contracts can get escalated support assistance by visiting Nagios Answer Hub. These forums are for community support services. Although we at Nagios try our best to help out on the forums here, we always give priority support to our support clients.

Some errors on php upgrade

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.

Re: Some errors on php upgrade

Postby gsmith » Fri Apr 22, 2022 1:53 pm

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
gsmith
 
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Some errors on php upgrade

Postby DonForigua » Tue Apr 26, 2022 9:25 pm

Hi mate

Here the exit
You do not have the required permissions to view the files attached to this post.
DonForigua
 
Posts: 94
Joined: Thu Oct 07, 2021 8:59 pm

Re: Some errors on php upgrade

Postby gsmith » Fri Apr 29, 2022 9:22 am

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
gsmith
 
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Some errors on php upgrade

Postby DonForigua » Mon May 02, 2022 7:41 pm

Hello

Here is my file :)
You do not have the required permissions to view the files attached to this post.
DonForigua
 
Posts: 94
Joined: Thu Oct 07, 2021 8:59 pm

Re: Some errors on php upgrade

Postby gsmith » Tue May 03, 2022 4:56 pm

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
gsmith
 
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Some errors on php upgrade

Postby DonForigua » Wed May 11, 2022 12:58 pm

Hi dear

Here the logs

please delete it when you already download

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

Re: Some errors on php upgrade

Postby gsmith » Thu May 12, 2022 9:44 am

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
gsmith
 
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Some errors on php upgrade

Postby DonForigua » Fri May 13, 2022 2:39 pm

Greetings

Here is the screenshot
You do not have the required permissions to view the files attached to this post.
DonForigua
 
Posts: 94
Joined: Thu Oct 07, 2021 8:59 pm

Re: Some errors on php upgrade

Postby gsmith » Fri May 13, 2022 4:19 pm

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
gsmith
 
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Previous

Return to Nagios XI

Who is online

Users browsing this forum: No registered users and 3 guests

cron