Page 2 of 3

Re: Upgrade error

Posted: Wed Mar 05, 2014 8:58 am
by Kimba7070
[aobridko@localhost ~]$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:50:56:86:3E:C9
inet addr:192.168.130.50 Bcast:192.168.130.255 Mask:255.255.255.0
inet6 addr: fe80::250:56ff:fe86:3ec9/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:45305014 errors:0 dropped:0 overruns:0 frame:0
TX packets:1173030 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3151840983 (2.9 GiB) TX bytes:306743074 (292.5 MiB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:42518311 errors:0 dropped:0 overruns:0 frame:0
TX packets:42518311 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:12789051952 (11.9 GiB) TX bytes:12789051952 (11.9 GiB)

[aobridko@localhost ~]$ ping 192.168.120.50
PING 192.168.120.50 (192.168.120.50) 56(84) bytes of data.
64 bytes from 192.168.120.50: icmp_seq=1 ttl=64 time=0.695 ms
64 bytes from 192.168.120.50: icmp_seq=2 ttl=64 time=0.632 ms
^C
--- 192.168.120.50 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1645ms
rtt min/avg/max/mdev = 0.632/0.663/0.695/0.040 ms
[aobridko@localhost ~]$ wget http://www.google.com -O wget-test && rm -f wget_test
--2014-03-05 08:56:49-- http://www.google.com/
Connecting to 192.168.120.50:3128... connected.
Proxy request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: “wget-test”

[ <=> ] 10,998 --.-K/s in 0.001s

2014-03-05 08:56:49 (11.9 MB/s) - “wget-test” saved [10998]

Re: Upgrade error

Posted: Wed Mar 05, 2014 2:45 pm
by sreinhardt
The item you are missing, is the exclusion for localhost within your wget config.

Code: Select all

no_proxy=localhost,127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16 # Hosts to exclude from proxying

Re: Upgrade error

Posted: Thu Mar 06, 2014 7:04 pm
by Kimba7070
We addedThe item you are missing, is the exclusion for localhost within your wget config.


but we still are get upgrade failed

any other suggestions

Re: Upgrade error

Posted: Fri Mar 07, 2014 12:15 pm
by sreinhardt
Could you post the output of the latest upgrade attempt, and the results from the following commands please.

Code: Select all

wget http://192.168.130.50/nagiosxi/index.php
wget http://localhost/nagiosxi/index.php
wget http://127.0.0.1/nagiosxi/index.php

Re: Upgrade error

Posted: Mon Mar 10, 2014 8:47 am
by Kimba7070
1.
[root@localhost ~]# wget http://192.168.130.50/nagiosxi/index.php
--2014-03-10 09:45:11-- http://192.168.130.50/nagiosxi/index.php
Connecting to 192.168.120.50:3128... connected.
Proxy request sent, awaiting response... 302 Moved Temporarily
Location: http://192.168.130.50/nagiosxi/login.ph ... f&noauth=1 [following]
--2014-03-10 09:45:11-- http://192.168.130.50/nagiosxi/login.ph ... f&noauth=1
Connecting to 192.168.120.50:3128... connected.
Proxy request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: “login.php?redirect=%2Fnagiosxi%2Findex.php?&noauth=1”

[ <=> ] 15,972 --.-K/s in 0.007s

2014-03-10 09:45:12 (2.18 MB/s) - “login.php?redirect=%2Fnagiosxi%2Findex.php?&noauth=1” saved [15972]

2.
[root@localhost ~]# wget http://localhost/nagiosxi/index.php
--2014-03-10 09:45:38-- http://localhost/nagiosxi/index.php
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://localhost/nagiosxi/login.php?red ... f&noauth=1 [following]
--2014-03-10 09:45:39-- http://localhost/nagiosxi/login.php?red ... f&noauth=1
Connecting to localhost|::1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: “login.php?redirect=%2Fnagiosxi%2Findex.php?&noauth=1.1”

[ <=> ] 15,682 --.-K/s in 0.01s

2014-03-10 09:45:39 (1.08 MB/s) - “login.php?redirect=%2Fnagiosxi%2Findex.php?&noauth=1.1” saved [15682]



3.
[root@localhost ~]# wget http://127.0.0.1/nagiosxi/index.php
--2014-03-10 09:46:09-- http://127.0.0.1/nagiosxi/index.php
Connecting to 192.168.120.50:3128... connected.
Proxy request sent, awaiting response... 404 Not Found
2014-03-10 09:46:10 ERROR 404: Not Found.

Re: Upgrade error

Posted: Mon Mar 10, 2014 10:39 am
by sreinhardt
OK so localhost is responding correctly, however 127.0.0.1 is not, which shouldn't be a big deal. What errors are you presently getting?

Re: Upgrade error

Posted: Wed Mar 12, 2014 10:57 am
by Kimba7070
When we go to the GUI interface side and go to admin and check for update

we get a message back update failed

Re: Upgrade error

Posted: Wed Mar 12, 2014 3:57 pm
by tmcdonald
sreinhardt wrote:Could you post the output of the latest upgrade attempt
Can you post this screenshot please?

Re: Upgrade error

Posted: Thu Mar 13, 2014 12:55 pm
by Kimba7070
Please review attached screen shot for error

Thank you

Re: Upgrade error

Posted: Thu Mar 13, 2014 1:15 pm
by lmiltchev
Let's clarify. What is the main issue at the moment - you couldn't upgrade successfully or you did upgrade, but "Check For Updates" is showing you a wrong info?

Did you enable proxy for update checks?

Code: Select all

Admin->Proxy Configuration