CentOS 5 :: Yum Update Not Working With Proxy?

Sep 8, 2010

I've Installed CentOS 5.5 on an HP Compaq DK2300 with Intel Pentium dual Core.Connected to a network with HTTP Proxy at cmsbs1 port 8080.

via the System/Preferences/NetworkProxy, I set up the relevant info including Username and Password

env | grep proxy
http_proxy=http://Username:Password@cmsbs1:8080/
no_proxy=localhost,127.0.0.0/8

Now able to connect to the internet with Mozilla Firefox. Package Updater still not receiving updates....Opened Terminal window and logged in as root: Added following to the yum.conf file:

proxy=http://cmsbs1:8080/
proxy_username=Username
proxy_password=Password

Saved the file and re-start the system (full re-boot). Opened Terminal window and logged in as root:

yum list
Loaded plugins: fastestmirror
Loading mirror speeds from catched host file

[code]....

View 3 Replies


ADVERTISEMENT

Ubuntu Networking :: Update Manager Behind Proxy Not Working In 10.10?

Dec 10, 2010

I was having trouble getting update-manager to work behind a proxy (without authentication). I tried everything I could find in my search, including setting http_proxy environment variable, setting the System->Preferences->Network Proxy and setting the Synaptic package manager proxy settings. Nothing seemed to work.

It turns out that the problem was that the System->Preferences->Network Proxy allows "automatic" proxy (pac file), and I had used that. update-manager doesn't do anything with this setting I guess. I changed from the automatic setting to a host/port manual setting and it began working.

I suspect this qualifies as a bug. update-manager should do something more reasonable than quietly fail if the settings are for automatic - it would be really nice if it worked, and if not then an error message.

View 5 Replies View Related

CentOS 5 Server :: Yum Update Error Behind MS Proxy

May 5, 2010

I am attempting to use yum behind a MS Proxy. I am receiving the following error:

#yum list
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
http://mirror.centos.org/centos/5/os/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>

Trying other mirror. Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again I beleive the yum.conf is configured correctly:

[Code]....

View 3 Replies View Related

CentOS 5 :: KMail And PGP No Longer Working After 5.3 Update?

May 3, 2009

Have a problem to decrypt emails after I updated to 5.3. Didn't change anything to the pgp or Kpgp settings and Kmail says that it failed decryption with openpgp. As I don't know what to look for or what to check I am lost.. it encrypts outgoing messages just fine.

View 1 Replies View Related

CentOS 5 :: Kernel Yum Update Installed But Not Working

Aug 17, 2009

I try to update my kernel to 2.6.18.128.4.1.el5 using
# yum update

After # yum update # rpm -qa kernel*|sort gives the following:
kernel-2.6.18-128.1.14.el5
kernel-2.6.18-128.1.16.el5.centos.plus
kernel-2.6.18-128.4.1.el5.centos.plus
kernel-2.6.18-92.1.18.el5
kernel-2.6.18-92.el5
kernel-devel-2.6.18-128.1.14.el5 .....

This my grub.conf:
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/hda
default=1
timeout=5.....

yum update installed:
CentOS (2.6.18-128.4.1.el5.centos.plusxen) and
CentOS (2.6.18-128.4.1.el5.centos.plus)

both are not working. I have to run the system using: 2.6.18-128.1.14.el5. Upon trying again #yum update it says that no packages are marked for update. Can I manually install the desired kernel? Do you know a reason why yum update is not automatically installing the proper kernel?

View 1 Replies View Related

CentOS 5 Server :: Ssh Connection - Was Working - After Update - Stopped

Oct 1, 2010

I have openssh running it was working last week then an update was done and now ssh does not work. removed the updates and the problem still exists.

Its CentOS 5.5 with all the latest updates for 64 bit!

Issue if as follows:

Connect locally to the loop back ip or remote ip the connection is disconnect right after the correct password is entered.

Here are copies of the log, sshd config.

sshd config:

View 7 Replies View Related

CentOS 5 Networking :: Config Proxy Client Side For CentOS 5

Oct 4, 2010

I've tried to read many of the topics in this forum first and tried to find a solution to my problem, but can't find one.I'm testing CentOS 5.5, it's the first time I'm using a CentOS Linux release.I'm trying to configure the proxy "client side " on it and cannot find how to do it.On other Linux release I've used the ENV variable like "http_proxy" or "HTTP_PROXY" etc etc.This time, I don't know why but it doesn't work.I've put the name and @ip of the proxy in /etc/hosts and tried different version upper/lowercase of "http_proxy" "HTTP_proxy" "ftp_pr.." but it doesn't work.If I configure manually Firefox and puting the name or @ip of the proxy we have on our network, it works.But if I try to use ENV variable it doesn't work...

View 1 Replies View Related

OpenSUSE Network :: Update Won't Work Behind Proxy?

May 1, 2010

I have installed openusese 11.2 since about 2 months ago. Everything running well. But since the network admin deploy proxy server, I couldn't get update than.[URL]this problem, was that related to proxy settings?Or did I miss something else?

View 4 Replies View Related

Ubuntu Networking :: Proxy ARP Not Working?

Dec 8, 2010

I'm having an issue on multiple Lucid boxes where I can't get proxy ARP to work. This is to be used in conjunction with openswan IPSec. I've enabled forwarding and disabled sending/accepting ICMP redirects for each interface as per openswan's requirements. I've added the proxy arp lines for all, default, eth0, and lo to sysctl.conf:

Code:
net.ipv4.conf.eth0.proxy_arp = 1

I then connect the IPSec client, and I have connectivity to the server. When I try to ping (or otherwise access) something else on its subnet, I reach the intended target, but then it ARPs for the sending machine, and the Ubuntu server doesn't respond to the ARP.

I have an ARP entry that looks like this, added via arp -s 192.168.254.100 -D eth0 -i eth0 pub:

Address: 192.168.254.100 (the correct virtual IP for the client)
HWtype: *
HWaddress: <from_interface>
Flags Mask: MP
Iface: eth0

Best I can tell, everything is in order... I can listen in with wireshark on the server and see that it's receiving the ARPs, but I can't get it to respond to them.

View 1 Replies View Related

Networking :: Proxy.pac File Is Not Working

May 29, 2010

I want to use PAC file as I work with multiple networks. But this is not working for me. Following is the code of my pac file. Can someone tell me what's wrong with it?

Code:
function FindProxyForURL(url, host) {
if (isInNet(myIpAddress(), "10.6.0.0", "255.255.0.0")) {
return "PROXY myproxy:port";
}
return "DIRECT" ;
}
Browser I use Firefox and platform Ubuntu.

View 14 Replies View Related

Ubuntu Installation :: Proxy Configuration - Running Apt-get Update Due To A Firewall At Work

Jun 24, 2010

I think I have encountered a problem in the way that lucid handles proxy servers. I was having problems running apt-get update due to a firewall at my work. I also noted that I was getting 403 Forbidden for wget. So I went to System -> Preferences -> Network Proxy from my account (which has administrator privileges) and input the http address for the proxy server, and then clicked the button to "Apply Systemwide...".

Following that change, wget worked from my account, but whenever I tried to sudo apt-get update, I got the 403 forbidden response again, even though I could wget the same files that apt-get reported as forbidden. I figured that this was a problem with the root account, and so I typed

Code:

However, upon exiting from the root account, and trying to run sudo apt-get update again, I got the 403 forbidden code again!

So, it seems that the proxy settings are not being applied systemwide.

View 1 Replies View Related

General :: Can't Install Yahoo Messenger And Can't Update Antivirus With Squid Proxy

Jul 27, 2011

i have configured squid proxy but i cannot install or update yahoo messenger and cannot even update antivirus with squid proxy running. here's the error log when trying to install ym: TCP_DENIED/403 642 GET http://c-ymsgr1100_2009_usexe.a-ymes...0_2009_us.exe? - NONE/- text/html and also, i cannot attache files in yahoo messenger for behind the proxy.

View 2 Replies View Related

Red Hat :: CentOS 5 / RHEL 5 - YUM Updates Through Proxy?

Nov 28, 2008

I have been trying all day but so far I am unable to configure yum to use a proxy server to retrieve updates.Due a recent compliance mandate direct internet access had to be removed for a pool of our Cent/RHEL servers. I have added the http_proxy environment variable in /etc/profile using:

export http_proxy=http://ourproxy:8080
export ftp_proxy=http://ourproxy:8080
export gopher_proxy=http://ourproxy:8080

I am using the FQDN of the proxy server, and i can ping that FQDN from the CLI without a problem. When I do this and I reboot the server I can get to the internet through the proxy using links/lynx. Yum however stalls out after loading plugins. I have read in a few places that I need a trailing / after the port number above, adding this and rebooting has no effect.

So I tried specifying the yum.conf file... [URL]. When I do this yum still tries to contact the redhat/cent network directly. No behavior change. If I use tcpdump I can see the server I am running yum on try to directly connect without the proxy, which times out for good reason.

The proxy server I am running is squid, but I can see the server I am running yum on blatantly ignore any proxy settings I have tried so far. I am really in a hole on this one as I have to get several updates to fix vulnerabilities found during our last scan.

View 2 Replies View Related

CentOS 5 :: Set Up A Reverse Proxy With Mod_proxy

Nov 19, 2010

I'm working on setting up a hosted OSS app on a VPS and have a question about doing some proxying. I have Centos 5.5/Apache 2.2 running on 2 VPS's, in different locations, accessible from the net. One of these hosts the app itself, the other will be used as a web portal where the end user will login to auth and then be able to access the app. Now, since I don't wan't access to the app server from the world at large, I want to firewall it and only allow access from the portal machine. So what I think I need to do is set up a reverse proxy with mod_proxy, and then if the end user auths forward them to a specific url on the app server.

So when they connect to [url] and log in I need them to be redirected to app.machine.com/theirdir

So the questions I have are:

1) Can this be done? If so, is mod_proxy the way to do it? Configuring Apache isnt a problem, but I havent worked with mod_proxy.

2) If this does work, will it also work with SSL?

3) I've seen a few small tutorials on the net, but not doing exactly what I want to. They all use the reverse proxy with a public IP connecting to a server with a private IP behind a firewall, while I have public IP's on both ends. From a network standpoint I know this shouldn't matter, but I'm not familiar with mod_proxy's particulars itself.

View 1 Replies View Related

CentOS 5 Server :: 5.6 - Reverse Proxy With SSL

Aug 24, 2011

I've been struggling with this for a couple of days now. I'm trying to setup a reverse proxy with SSL. The config works when it's not using SSL, but as soon as I setup the virtualhost for 443, I get a ERR_CONNECTION_REFUSED in my browser.

The setup is that it's a CentOS 5.6 running Apache 2.2.3. I was configuring it via this guide: [URL]

This server is acting as a reverse proxy for a Windows server running Apache. Currently, I'm just trying to get the manager page from the Windows server to go through the reverse proxy. Here's the virtual host section of my httpd.conf file on the reverse proxy:

<VirtualHost *:443>
ServerName aspwebview.vtinfo.com
SSLEngine On
SSLCertificateFile /etc/httpd/ssl/star_vtinfo.com.crt

[Code]....

Thoughts? Is there anything I have to do on the Windows server (maybe in the connector section of server.xml)?

View 13 Replies View Related

Server :: Outlook Express Not Working With Squid Proxy?

Feb 24, 2010

I am using FEDORA 11 and Squid 3. Squid configured and working perfectly but some Win XP users unable to access their mails through outlook express. can anybody guide me what should i do to enable pop/smtp ports via through nating / MASQUERADE etc..

View 1 Replies View Related

Server :: Proxy In CentOS - Find The Location?

Aug 22, 2010

While configuring the yum through proxy i was configures with some address(10.x.x.x). after the proxy address has been changed(172.x.x.x).according to new proxy address i made changes in all locations in my system. but when i am trying to download through command line still it is trying to connect old proxy address(10.x.x.x). finally i come to know that, still some location old proxy address(10.x.x.x).is there. how to troubleshoot this issue.(how to find the location) i was try to debug find the output below

[Code]....

View 2 Replies View Related

CentOS 5 Networking :: Iptables For Transparent Proxy?

Mar 11, 2010

I have big problem with correct settings of iptables as a router. My network topology (UTM Hardware router) 192.168.1.1--->eth0 192.168.1.2(centos with apache ftp and transparent squid 8080)--->eth1 192.168.0.1(LAN with dhcp)

eth0=WAN 192.168.1.2
eth1=LAN 192.168.0.1

I have problem with hanging connections through squid which are very slow or connection failed. Sometimes i received DNS timeout error from squid stable 2.6 21

[Code]...

View 1 Replies View Related

CentOS 5 Networking :: Install Web Proxy On VPS With Squid?

Jan 2, 2011

I need to install web proxy on my VPS, means, i'll get ip:port (without login and password) to add on firefox and to connect throught that Proxy ....

I have successfully installed Squid (with the command line : yum install squid)

Now, i need to know how to change squid.conf to be able to use that ip:port on firefox .

View 1 Replies View Related

CentOS 5 Server :: FTP PROXY Cache - Never Managed To Run

Apr 9, 2011

My past few weeks trying to cache the use frox, but never managed to run frox correctly. I need a guide for installation frox (ftp proxy or otherwise) that I can understand, because I'm still just learning. I use a superbly managed using squid for web proxy using port 3128

View 1 Replies View Related

Ubuntu Networking :: Wireless Not Working After Installing Latest Update From Update Manager?

Sep 30, 2010

As the title says i updated my system which then needed a reboot. I also installed Mixxx djing software to try it out. So i thought id just restart the system. Usually when i boot into my desktop wireless automatically can connect to my router but not this time, wired only for now... i know theres tons of wireless issue threads but some more experienced users will be able to get straight to the point and run through some diagnostics with me.

View 1 Replies View Related

Fedora Networking :: Squid Transparent Proxy - Not Working - Error ?

May 1, 2009

I am using Fedora Core 9.0 and Squid Cache: Version 3.0.STABLE2 .

Now i am trying to use the squid as a proxy server but its not working its giving error like this ...

While trying to retrieve the URL: /

The following error was encountered:

Invalid URL Some aspect of the requested URL is incorrect.

Possible problems:

Here is my squid.conf

While trying to retrieve the URL: /

I have also try to forward the traffic coming on 3128 to 80 but its not working:

View 6 Replies View Related

Server :: Webmin Through Apache Proxy - Authentication Cookies Not Working

Jul 9, 2011

I am trying to set up Apache and Webmin so that I can access Webmin by going to [URL]. I am using the direction at [URL] under the "Webmin In A Sub-Directory Via A Proxy" section. I had this setup working before, but I think an update of either Webmin or Apache broke it. Now, I can go the the webpage and I see the login screen. However, when I try to log in, I get an error.

Quote:

Error - No cookies

Your browser does not support cookies, which are required for this web server to work in session authentication mode I have tried adding the ProxyPassReverseCookieDomain and ProxyPassReverseCookiePath directives to my virtual host config file, but it still doesn't work.

Quote:

# webmin
ProxyPass /webmin/ http://localhost:10000/
ProxyPassReverse /webmin/ http://localhost:10000/

[code].....

View 1 Replies View Related

General :: Configure Squid Proxy Server In Centos 5.5?

Apr 12, 2011

how do i configure squid proxy server in centos 5.5 final text mode only to block facebook from 9am to 4pm

View 3 Replies View Related

General :: Opening A Port In Squid Proxy (centos)?

Jun 6, 2011

i have a proxy server up and running but one server using port 8181 cannot be accessed.how i can open that port!...i tried adding it in the safe ports but it still isn't working...

View 1 Replies View Related

CentOS 5 :: Proxy Configure Setting - Cannot Ping Any Website

Aug 4, 2009

I am trying to install a router on my CentOS 5 box, while i have properly configured IP address, Subnet, Default GW and DNS, I am at the point of trying to set up the Proxy. I have added a line: "proxy=http:ip_address:8080/" to the file of "/etc/yum.conf" The Proxy server here does not require any username nor password however I still cannot ping any website, while I tried to ping 74.125.45.100 (google.com) it returns the following message:

[Code]....

View 1 Replies View Related

CentOS 5 :: Unable To Use Outlook/thunderbird Behind Squid Proxy

Jan 7, 2010

I am not able to use outlook or any other email client on my computer(to access gmail account) I am also not able to forward port to my computer for a bit torrent client

I can access the internet using proxy settings

I have just installed CentOS 5 as a server with 2 NIC's for my home network.

My set up is something like this

adsl wireless router(static ip from ISP) - (192.168.0.1/24) Cent os server (10.1.1.1/8) - switch/hub - clients(windows XP/Vista,Linux)

the linux server acts as a Web Server,DHCP and Squid proxy server

Will installing an email server resolve my problem?

View 4 Replies View Related

CentOS 5 Server :: Skip Proxy For All Intranet Addresses?

Apr 13, 2010

We have one squid proxy server running on CentOS 5.3 64 bit with Squid 2.6. it works well for me.

but my problem/question is :

Is it possible to skip proxy for all Internet addresses? and only allow proxy if clients are accessing external addresses?

right now users have to explicitly say in the browsers .. BYPASS PROXY SERVER for local addresses after check the use proxy server
and address has to be mentioned. most users are non technical so they don't use this option or put wrong setting in bypass proxy option

View 2 Replies View Related

CentOS 5 Networking :: How To Inform Internal Customers About Proxy

May 4, 2010

i installed CentOS 5.4 with squid and dansguardian as internal use in a firm. There is a domain server and primary dns windows, but by "wpad" file every internal computer is automaticly forwarding on CentOS proxy.Dansguardian port 8080Squid port 3128Now i have a problem, how to inform my customers who use your laptop in our lan that they have to configure the proxy.

View 4 Replies View Related

CentOS 5 Networking :: Connect To HTTP Proxy Server ?

May 16, 2010

I'm trying to set up a server for an NPO who connects to the Internet through an internal proxy (Websense). I can't access the Internet unless through the proxy.

Since it's a server I did not install a GUI so I'm wondering how to connect the new server to said proxy server. I have the IP address, port number and username-password for the proxy server. The new server has a static IP address and is ready too go!

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved