Upgrade error

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Kimba7070
Posts: 34
Joined: Sat Oct 12, 2013 1:20 pm

Upgrade error

Post by Kimba7070 »

we receive this error when we were installing the latest upgrade

Please advise


/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies http://localhost/nagiosql/index.php --no-check-certificate --post-data 'Submit=Login&tfUsername=nagiosxi&tfPassword=t0saj8' -O nagiosql.login--2014-02-28 09:43:40-- http://localhost/nagiosql/index.php
Connecting to 192.168.120.50:3128... connected.
Proxy request sent, awaiting response... 404 Not Found
2014-02-28 09:43:40 ERROR 404: Not Found.

NAGIOSQL LOGIN FAILED!
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Upgrade error

Post by slansing »

Are you running a proxy? Is anything else besides Nagios XI being hosted on it's server?
Kimba7070
Posts: 34
Joined: Sat Oct 12, 2013 1:20 pm

Re: Upgrade error

Post by Kimba7070 »

Our nagios ip: 192.168.130.50 nothing else is on this box.
Proxy: 192.168.120.50
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Upgrade error

Post by sreinhardt »

I believe you need to follow this: http://support.nagios.com/wiki/index.ph ... th_Proxies To get wget working properly with your proxy.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Kimba7070
Posts: 34
Joined: Sat Oct 12, 2013 1:20 pm

Re: Upgrade error

Post by Kimba7070 »

All setting are in place
see below

File yum.conf has the following line:
proxy=http://192.168.120.50:3128

File wgetrc has the following line:
http_proxy=192.168.120.50:3128

Env variable set:
http_proxy=192.168.120.50:3128

please advise what is next - since the updates are no working


Thank you
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Upgrade error

Post by slansing »

What is the error you are now receiving? If you added the correct proxies, and configured the proxies to allow your XI server through, then you should not be blocked by them.
Kimba7070
Posts: 34
Joined: Sat Oct 12, 2013 1:20 pm

Re: Upgrade error

Post by Kimba7070 »

We have done everything that you have requested is it possible we can do a webex ?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Upgrade error

Post by slansing »

What is the error you are now receiving? If you added the correct proxies, and configured the proxies to allow your XI server through, then you should not be blocked by them.
Remote assistance is only provided to customers, and if the situation is deemed necessary, you need to answer our questions here so we can keep moving forward. Please provide an update to the above questions, then we can move forward.
Kimba7070
Posts: 34
Joined: Sat Oct 12, 2013 1:20 pm

Re: Upgrade error

Post by Kimba7070 »

All setting are in place
see below

File yum.conf has the following line:
proxy=http://192.168.120.50:3128

File wgetrc has the following line:
http_proxy=192.168.120.50:3128

Env variable set:
http_proxy=192.168.120.50:3128



we receive this error when we were installing the latest upgrade

Please advise


/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies http://localhost/nagiosql/index.php --no-check-certificate --post-data 'Submit=Login&tfUsername=nagiosxi&tfPassword=t0saj8' -O nagiosql.login--2014-02-28 09:43:40-- http://localhost/nagiosql/index.php
Connecting to 192.168.120.50:3128... connected.
Proxy request sent, awaiting response... 404 Not Found
2014-02-28 09:43:40 ERROR 404: Not Found.

NAGIOSQL LOGIN FAILED!




--------------------------------------------------------------------------------
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Upgrade error

Post by tmcdonald »

Can your nagios server in fact talk to the 192.168.120.x network? Please post the output of the following:

Code: Select all

ifconfig
ping 192.168.120.50
wget www.google.com -O wget_test && rm -f wget_test
I am assuming it can but it never hurts to confirm.
Former Nagios employee
Locked