LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-20-2013, 05:09 AM   #1
Annielover
Member
 
Registered: May 2011
Location: Belgium
Distribution: Ubuntu Server Edition, Fedora 16
Posts: 90

Rep: Reputation: 8
Unable to get yum through ISA proxy server


Hi all,

I'm running CentOS 6.3 in a Windows Domain behind an ISA Proxy Server.
My CentOS is an AD member server, I'm able to login using domain credentials, so the DNS and network setting should be configured correctly.

However, I'm unable to execute wget (returs a time-out) or yum.
I installed ntlmaps 0.9.9 and it says:
Code:
Now listening at testserver.lan.be on port 8080
I also added the following line in /etc/yum.conf:
Code:
proxy=http://testserver.lan.be:8080
If the 'http_proxy' env variable is set, yum can't update.
If the 'http_proxy' variable is NOT set, yum can't update.

I'm getting this error:
Code:
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=$releasever&arch=i386&repo=os error was
14: PYCURL ERROR 7 - "Failed to connect to 2a02:2498:1:3d:5054:ff:fed3:e91a: Network is unreachable"
Error: Cannot find a valid baseurl for repo: base
After uncommenting the 'base repo' line is /etc/yum.d/CentOS-Base.repo:
Code:
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=$releasever&arch=i386&repo=os error was
14: PYCURL ERROR 7 - "Failed to connect to 2a02:2498:1:3d:5054:ff:fed3:e91a: Network is unreachable"
Clearly the connection times out. It has to be something with the proxy... when i bridge my laptop with the server, (directly to internet), all works fine.

Any suggestions? Thanks!!
 
Old 03-20-2013, 05:30 AM   #2
Annielover
Member
 
Registered: May 2011
Location: Belgium
Distribution: Ubuntu Server Edition, Fedora 16
Posts: 90

Original Poster
Rep: Reputation: 8
Ok, I disabled iptables.
Yum says the following:

Code:
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=i386&repo=os error was
14: PYCURL ERROR 22 - "The requested URL returned error: 407"
ERROR 407 is about proxy authentication issues, right?
But i'm confused, I set up the username and password in ntlmaps...

I made a change to /etc/yum.conf:
Code:
proxy=http://testserver.lan.be:8080
 proxy_username=ldewilde
 proxy_password=aaaaaa
username and password are the same as set up in ntlmaps... Still not working...

Last edited by Annielover; 03-20-2013 at 05:32 AM.
 
Old 03-20-2013, 06:35 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 19,398

Rep: Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992
PYCURL ERROR 22 - "The requested URL returned error: 407"

See this comment about curl. https://www.centos.org/docs/5/html/y...xy-server.html

Other issues may be https on 8080 maybe. Maybe having to either reboot or restart networking.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CentOS 5 using a MS ISA Proxy Server Probs Linux - Desktop 3 06-28-2011 06:09 PM
Problem with MS ISA (Proxy) server ? frankkky Linux - General 1 11-03-2008 06:10 AM
Problem with MS ISA (Proxy) server ? frankkky General 0 11-03-2008 04:02 AM
Using ISA Server as Parent Proxy and want to setup Squid as dwonstream proxy tauseef1 Red Hat 1 04-09-2008 02:03 AM
proxy server : MS isa vs squid alvi2 Linux - Networking 0 03-24-2005 04:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration