[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Probelms with apt-proxy



Hi Roberto,

On Wed, Aug 06, 2003 at 04:29:14PM +0200, Roberto Sanchez wrote:
> This is the error I get when I run apt-get update:
> 
> (from the Woody box)
> Err http://localhost stable/updates/main Packages
>   Connection failed
> 
> (from the Unstable box)
> Err http://P-Pro-200 unstable/main Packages
>   Connection failed

This shows that apt is unable to establish a connection to apt-proxy.
Normally you should see inetd listening on that port for you: 

$ sudo netstat -nlp | grep 9999
tcp        0      0 0.0.0.0:9999            0.0.0.0:*               LISTEN      883/inetd

My guess is that you will not have anything listening there.  Maybe you need
to restart inetd?  Or change your hosts.allow/.deny, see tcpd(8).  If tcpd
accepts a connection you should see a message in /var/log/daemon.log like
this:

Aug  6 17:01:40 hostname apt-proxy[29869]: connect from 127.0.0.1

You won't see anything in apt-proxy.log until a connection is sucessfully
established and inetd starts apt-proxy.

Also, if you have configured firewall rules you may want to check that the
connection packet is not being dropped.

Chris

Attachment: pgpKSZmzeXSFi.pgp
Description: PGP signature


Reply to: