Page 2 of 2

Re: Upgrading from XI 20112.3 to XI 200113.2?

Posted: Thu Jul 19, 2012 4:49 pm
by jbennett
I have tried all of these things in order to get the box to comunicate, many, many times.

In searching, I found the following: http://cntlm.sourceforge.net/

Our proxy requires authentication with domain\username & pass.

I have done all that is suggested and I get the following:

Code: Select all

[root@nagiosxivm tmp]# wget http://assets.nagios.com/downloads/nagiosxi/xi-latest.tar.gz
--2012-07-20 21:42:01--  http://assets.nagios.com/downloads/nagiosxi/xi-latest.tar.gz
Resolving proxy.company.org... xxx.xxx.xxx.xxx
Connecting to proxy.company.org|xxx.xxx.xxx.xxx|:8080... connected.
Proxy request sent, awaiting response... 407 Proxy Authentication Required
2012-07-20 21:42:01 ERROR 407: Proxy Authentication Required.
For the username under yum.conf I have 'domain\user'. Under wgetrc, I have domain\user:pass

I have also installed the proxy plug-in. I'm not sure I understand why I would be able to install an update on other systems just fine without proxy support (yet still behind a proxy), but in this instance, it's not going to work?

Downloading the update manually and transfering it shouldn't cause any problems?

Re: Upgrading from XI 20112.3 to XI 200113.2?

Posted: Fri Jul 20, 2012 1:42 pm
by scottwilkerson
Boy, i'm not positive but you may need to escape the \ in wgetrc
so, try changing to
domain\\user:pass

Re: Upgrading from XI 20112.3 to XI 200113.2?

Posted: Mon Jul 23, 2012 8:56 am
by jbennett
No such luck.

Restarted the network just to be sure even.

Re: Upgrading from XI 20112.3 to XI 200113.2?

Posted: Mon Jul 23, 2012 9:42 am
by scottwilkerson
I have been looking around the internet and it appears that you should be able to use it as you had it to begin with on one line like the following in your /etc/wgetrc

Code: Select all

http_proxy=http://domain\user:pass@someproxyserver:port/ # All in one string
Is this how you have it?

If you have special chars in your username or pass you may need to single quote it like

Code: Select all

http_proxy='http://domain\user:pass@someproxyserver:port/' # All in one string

Re: Upgrading from XI 20112.3 to XI 200113.2?

Posted: Mon Jul 23, 2012 11:08 am
by jbennett

Code: Select all

http_proxy = http://domain\user:[email protected]:8080/
My password doesn't contain any special characters.

Re: Upgrading from XI 20112.3 to XI 200113.2?

Posted: Mon Jul 23, 2012 12:07 pm
by lmiltchev
Try using single quotes even though your password doesn't have any special characters:

Code: Select all

http_proxy = 'http://domain\user:[email protected]:8080/'
Do you have a "user-specific" wgetrc in your home directory?

Re: Upgrading from XI 20112.3 to XI 200113.2?

Posted: Mon Jul 23, 2012 12:23 pm
by jbennett
When I add the single quotes:

Code: Select all

Error parsing proxy URL 'http://domain\user:[email protected]:8080/': Scheme missing.
I don't believe I have a user-specific wgetrc in home. When I try to open it, I get the following:

Code: Select all

-bash: /root/.wgetrc: No such file or directory

Re: Upgrading from XI 20112.3 to XI 200113.2?

Posted: Tue Jul 24, 2012 9:32 am
by scottwilkerson
I'm honestly at a loss as to why this isn't working for you.

How did you get the install package on the machine for the install?

Re: Upgrading from XI 20112.3 to XI 200113.2?

Posted: Tue Jul 24, 2012 9:58 am
by jbennett
scottwilkerson wrote:I'm honestly at a loss as to why this isn't working for you.

How did you get the install package on the machine for the install?
scp from my box to this machine.

Re: Upgrading from XI 20112.3 to XI 200113.2?

Posted: Tue Jul 24, 2012 10:07 am
by scottwilkerson
jbennett wrote:scp from my box to this machine.
I guess I would recommend doing the same this time.

We don't officially support proxy installs. We always try to help, but sometimes with so many proxy setups and server types we cannot come up with a solution.