On Tuesday 14 November 2006 02:11, Rodrigo Castro wrote:
> After apt-proxy --config-file=/etc/apt-proxy/apt-proxy-v2.conf the output
> would stop. But when I apt-get update the client fails to connect and I
> get:

I really don't know.  The message below all look like regular messages, I 
really don't see any error messages.  What kind of "connect" error do you get 
from the client?  Connection refused?  Connection timed out?  Is your 
firewall open between your client and your server?

j

>
> apt-proxy --config-file=/etc/apt-proxy/apt-proxy-v2.conf
> /usr/lib/python2.4/site-packages/twisted/manhole/telnet.py:8:
> DeprecationWarning: As of Twisted 2.1, twisted.protocols.telnet is
> deprecated.  See twisted.conch.telnet for the current, supported API.
>   from twisted.protocols import telnet
> 2006/11/14 09:05 BRST [-] Log opened.
> 2006/11/14 09:05 BRST [-] apt_proxy.apt_proxy.Factory starting on 9997
> 2006/11/14 09:05 BRST [-] Starting factory <apt_proxy.apt_proxy.Factory
> instance at 0xa774524c>
> 2006/11/14 09:05 BRST [-] [debug] Will do periodic cleaup in 86400 sec
> 2006/11/14 09:05 BRST [-] [debug] Creating Backend: debian
> 2006/11/14 09:05 BRST [-] [debug] Created new BackendServer:
> http://ftp.br.debian.org/debian
> 2006/11/14 09:05 BRST [-] [db] =========================
> 2006/11/14 09:05 BRST [-] [db] Dumping update times
> 2006/11/14 09:05 BRST [-] [db] =========================
> 2006/11/14 09:05 BRST [-] [debug] Verifying database:
> /var/cache/apt-proxy/.apt-proxy/db/update.db
> 2006/11/14 09:05 BRST [-] [debug] Opening database
> /var/cache/apt-proxy/.apt-proxy/db/update.db
> 2006/11/14 09:05 BRST [-] [db] =========================
> 2006/11/14 09:05 BRST [-] [db] Dumping access times
> 2006/11/14 09:05 BRST [-] [db] =========================
> 2006/11/14 09:05 BRST [-] [debug] Verifying database:
> /var/cache/apt-proxy/.apt-proxy/db/access.db
> 2006/11/14 09:05 BRST [-] [debug] Opening database
> /var/cache/apt-proxy/.apt-proxy/db/access.db
> 2006/11/14 09:05 BRST [-] [db] =========================
> 2006/11/14 09:05 BRST [-] [db] Dumping packages
> 2006/11/14 09:05 BRST [-] [db] =========================
> 2006/11/14 09:05 BRST [-] [debug] Verifying database:
> /var/cache/apt-proxy/.apt-proxy/db/packages.db
> 2006/11/14 09:05 BRST [-] [debug] Opening database
> /var/cache/apt-proxy/.apt-proxy/db/packages.db
> 2006/11/14 09:06 BRST [Channel,0,192.168.1.11] [Request] New Request,
> queued=0
> 2006/11/14 09:06 BRST [Channel,0,192.168.1.11] [debug] Header: Host:
> 192.168.1.6:9997
> 2006/11/14 09:06 BRST [Channel,0,192.168.1.11] [debug] Header: Connection:
> keep-alive
> 2006/11/14 09:06 BRST [Channel,0,192.168.1.11] [debug] Header: User-Agent:
> Debian APT-HTTP/1.3
> 2006/11/14 09:06 BRST [Channel,0,192.168.1.11] [debug] Headers: Host:
> 192.168.1.6:9997, Connection: keep-alive, User-Agent: Debian APT-HTTP/1.3
> 2006/11/14 09:06 BRST [Channel,0,192.168.1.11] [Request] Request: GET
> /debian/dists/etch/Release.gpg backend=debian
> uri=/debian/dists/etch/Release.gpg
> 2006/11/14 09:06 BRST [Channel,0,192.168.1.11] [debug] backend: debian
> [<apt_proxy.apt_proxy.BackendServer instance at 0xa74c6c8c>]
> 2006/11/14 09:06 BRST [Channel,0,192.168.1.11] [debug] New Cache entry:
> dists/etch/Release.gpg
> 2006/11/14 09:06 BRST [Channel,0,192.168.1.11] [CacheEntry] start
> download:dists/etch/Release.gpg
> 2006/11/14 09:06 BRST [Channel,0,192.168.1.11] [DownloadQueuePerClient]
> Adding new queue for client id 9
> 2006/11/14 09:06 BRST [Channel,0,192.168.1.11] [DownloadQueue] start next
> download (debian/dists/etch/Release.gpg)
> 2006/11/14 09:06 BRST [Channel,0,192.168.1.11] [DownloadQueue] creating new
> fetcher
> 2006/11/14 09:06 BRST [Channel,0,192.168.1.11] [fetcher] fetcher start:
> Release.gpg
> 2006/11/14 09:06 BRST [Channel,0,192.168.1.11] [Fetcher] Downloading:
> /var/cache/apt-proxy/debian/dists/etch/Release.gpg
> 2006/11/14 09:06 BRST [Channel,0,192.168.1.11] [fetcher] Connecting to
> backend server (debian) http://ftp.br.debian.org:80
> 2006/11/14 09:06 BRST [Channel,0,192.168.1.11] Starting factory
> <apt_proxy.fetchers.HttpFetcher instance at 0xa74d31ec>
> 2006/11/14 09:06 BRST [Uninitialized] [Fetcher] Connected to
> http://ftp.br.debian.org/debian
> 2006/11/14 09:06 BRST [Uninitialized] [Fetcher]
> downloading:dists/etch/Release.gpg mtime:None
> 2006/11/14 09:06 BRST [Uninitialized] [http_client]
> GET:/debian/dists/etch/Release.gpg
> 2006/11/14 09:06 BRST [Uninitialized] [http_client] host sendHeader:
> ftp.br.debian.org
> 2006/11/14 09:06 BRST [FetcherHttpClient,client] [http-client]
> clientConnectionLost reason=[Failure instance: Traceback (failure with no
> frames): twisted.internet.error.ConnectionDone: Connection was closed
> cleanly.
>         ]
> 2006/11/14 09:06 BRST [FetcherHttpClient,client] [Fetcher] Connection
> closed for dists/etch/Release.gpg, state=1
> 2006/11/14 09:06 BRST [FetcherHttpClient,client] Stopping factory
> <apt_proxy.fetchers.HttpFetcher instance at 0xa74d31ec>
> 2006/11/14 09:08 BRST [Channel,0,192.168.1.11] [Channel] Client connection
> closed
> 2006/11/14 09:08 BRST [Channel,0,192.168.1.11] [Request] connectionLost
> 2006/11/14 09:08 BRST [Channel,0,192.168.1.11] [cacheEntry] Last request
> removed
> 2006/11/14 09:08 BRST [Channel,0,192.168.1.11] [Backend] entry_done:
> dists/etch/Release.gpg
> Top 10:
>        277 WeakKeyDictionary
>         81 Exception
>         35 Ephemeral
>         31 DBError
>         29 Logger
>         24 StandardError
>         24 Protocol
>         23 ProtocolToConsumerAdapter
>         17 Warning
>         17 ValueError
> 2006/11/14 09:08 BRST [Channel,1,192.168.1.11] [Request] New Request,
> queued=0
> 2006/11/14 09:08 BRST [Channel,1,192.168.1.11] [debug] Header: Host:
> 192.168.1.6:9997
> 2006/11/14 09:08 BRST [Channel,1,192.168.1.11] [debug] Header: Connection:
> keep-alive
> 2006/11/14 09:08 BRST [Channel,1,192.168.1.11] [debug] Header: User-Agent:
> Debian APT-HTTP/1.3
> 2006/11/14 09:08 BRST [Channel,1,192.168.1.11] [debug] Headers: Host:
> 192.168.1.6:9997, Connection: keep-alive, User-Agent: Debian APT-HTTP/1.3
> 2006/11/14 09:08 BRST [Channel,1,192.168.1.11] [Request] Request: GET
> /debian/dists/etch/Release.gpg backend=debian
> uri=/debian/dists/etch/Release.gpg
> 2006/11/14 09:08 BRST [Channel,1,192.168.1.11] [debug] backend: debian
> [<apt_proxy.apt_proxy.BackendServer instance at 0xa74c6c8c>]
> 2006/11/14 09:08 BRST [Channel,1,192.168.1.11] [debug] New Cache entry:
> dists/etch/Release.gpg
> 2006/11/14 09:08 BRST [Channel,1,192.168.1.11] [CacheEntry] start
> download:dists/etch/Release.gpg
> 2006/11/14 09:08 BRST [Channel,1,192.168.1.11] [DownloadQueue] queue file
> debian/dists/etch/Release.gpg
>
> On 11/13/06, Joshua J. Kugler <[EMAIL PROTECTED]> wrote:
> > On Monday 13 November 2006 04:00, Rodrigo Castro wrote:
> > > I changed the port, now when I enter
> > > apt-proxy --config-file=/etc/apt-proxy/apt-proxy-v2.conf
> > > I get this output and it stops there:
> >
> > That looks right...does it still not respond on the configured port?
> >
> > j
> >
> > > /usr/lib/python2.4/site-packages/twisted/manhole/telnet.py:8:
> > > DeprecationWarning: As of Twisted 2.1, twisted.protocols.telnet is
> > > deprecated.  See twisted.conch.telnet for the current, supported API.
> > >   from twisted.protocols import telnet
> > > 2006/11/13 10:41 BRST [-] Log opened.
> > > 2006/11/13 10:41 BRST [-] apt_proxy.apt_proxy.Factory starting on 9998
> > > 2006/11/13 10:41 BRST [-] Starting factory <apt_proxy.apt_proxy.Factory
> > > instance at 0xa774850c>
> > > 2006/11/13 10:41 BRST [-] [debug] Will do periodic cleaup in 86400 sec
> > > 2006/11/13 10:41 BRST [-] [debug] Creating Backend: debian
> > > 2006/11/13 10:41 BRST [-] [debug] Created new BackendServer:
> > > http://ftp.br.debian.org/debian
> > > 2006/11/13 10:41 BRST [-] [db] =========================
> > > 2006/11/13 10:41 BRST [-] [db] Dumping update times
> > > 2006/11/13 10:41 BRST [-] [db] =========================
> > > 2006/11/13 10:41 BRST [-] [debug] Verifying database:
> > > /var/cache/apt-proxy/.apt-proxy/db/update.db
> > > 2006/11/13 10:41 BRST [-] [debug] Opening database
> > > /var/cache/apt-proxy/.apt-proxy/db/update.db
> > > 2006/11/13 10:41 BRST [-] [db] =========================
> > > 2006/11/13 10:41 BRST [-] [db] Dumping access times
> > > 2006/11/13 10:41 BRST [-] [db] =========================
> > > 2006/11/13 10:41 BRST [-] [debug] Verifying database:
> > > /var/cache/apt-proxy/.apt-proxy/db/access.db
> > > 2006/11/13 10:41 BRST [-] [debug] Opening database
> > > /var/cache/apt-proxy/.apt-proxy/db/access.db
> > > 2006/11/13 10:41 BRST [-] [db] =========================
> > > 2006/11/13 10:41 BRST [-] [db] Dumping packages
> > > 2006/11/13 10:41 BRST [-] [db] =========================
> > > 2006/11/13 10:41 BRST [-] [debug] Verifying database:
> > > /var/cache/apt-proxy/.apt-proxy/db/packages.db
> > > 2006/11/13 10:41 BRST [-] [debug] Opening database
> > > /var/cache/apt-proxy/.apt-proxy/db/packages.db
> > >
> > > On 11/11/06, Rodrigo Castro <[EMAIL PROTECTED]> wrote:
> > > > Didn't see that, my mistake. Thank you all.
> > > >
> > > > On 11/10/06, Joshua J. Kugler <[EMAIL PROTECTED]> wrote:
> > > > > On Friday 10 November 2006 11:29, Rodrigo Castro wrote:
> > > > > > 2006/11/10 18:24 BRST [-]
> > > > > > twisted.internet.error.CannotListenError
> > > > > >
> > > > > > Couldn't listen on 192.168.1.11:9999 : (98, 'Address already in
> > > > > > use').
> > > > >
> > > > > There is your problem right there: there is already a program
> >
> > listening
> >
> > > > > on
> > > > > port 9999, so it couldn't bind to that port.
> > > > >
> > > > > j
> > > > >
> > > > > --
> > > > > Joshua Kugler
> > > > > Lead System Admin -- Senior Programmer
> > > > > http://www.eeinternet.com
> > > > > PGP Key: http://pgp.mit.edu/  ID 0xDB26D7CE
> > > > > PO Box 80086 -- Fairbanks, AK 99708 -- Ph: 907-456-5581 Fax:
> > > > > 907-456-3111
> > > > >
> > > > >
> > > > > --
> > > > > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > > > > with a subject of "unsubscribe". Trouble? Contact
> > > > > [EMAIL PROTECTED]
> > > >
> > > > --
> > > > ________________________________
> > > > Rodrigo de Castro Cosme
> > > > Ciência da Computação - UFES
> > > > Suporte mailing list - [EMAIL PROTECTED]
> > > > MSN - [EMAIL PROTECTED]
> >
> > --
> > Joshua Kugler
> > Lead System Admin -- Senior Programmer
> > http://www.eeinternet.com
> > PGP Key: http://pgp.mit.edu/  ID 0xDB26D7CE
> > PO Box 80086 -- Fairbanks, AK 99708 -- Ph: 907-456-5581 Fax: 907-456-3111

-- 
Joshua Kugler                           
Lead System Admin -- Senior Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0xDB26D7CE
PO Box 80086 -- Fairbanks, AK 99708 -- Ph: 907-456-5581 Fax: 907-456-3111

Reply via email to