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

apt-proxy funktioniert nicht



Hi,

ich bekomme apt-proxy einfach nicht zum laufen.

thor:/etc# apt-get update
Err http://localhost woody/main Packages
  Could not connect to localhost:9999 (127.0.0.1). - connect (111 Connection
refused) [IP: 127.0.0.1 9999]

Weder in /var/log/apt-proxy.log noch in /var/log/daemon.log finden sich
irgendwelche Einträge nach den Fehlversuchen.

thor:/etc# grep apt /etc/inetd.conf
9999           stream  tcp     nowait.400     
aptproxy                             /usr/sbin/tcpd /usr/sbin/apt-proxy
-l /var/log/apt-proxy.log

thor:/etc# cat /etc/apt-proxy/apt-proxy.conf

APT_PROXY_CACHE=/var/cache/apt-proxy
add_backend /main/                                      \
        $APT_PROXY_CACHE/debian/                        \
        http://ftp.us.debian.org/debian/                        \
        http://ftp.de.debian.org/debian/                        \
        http://ftp2.de.debian.org/debian/                       \
        http://ftp.uk.debian.org/debian/

add_backend /non-US/                                    \
        $APT_PROXY_CACHE/non-US/                        \
        http://ftp.de.debian.org/debian-non-US/         \
        http://ftp2.de.debian.org/debian-non-US/

add_backend /security/                                  \
        $APT_PROXY_CACHE/security/                      \
        http://security.debian.org/debian-security/             \
        http://non-us.debian.org/debian-security/

CLEANUP_DAYS=14
CLEAN_SWEEP=90
MAX_VERSIONS=2
BACKEND_FREQ=240
RSYNC_TIMEOUT=30
WGET_TIMEOUT=30
WGET=wget
#RSYNC=rsync
#KEEP_STATS=1
#DEBUG=true

thor:/etc# cat /etc/hosts.allow
# /etc/hosts.allow: list of hosts that are allowed to access the system.
#                   See the manual pages hosts_access(5), hosts_options(5)
#                   and /usr/doc/netbase/portmapper.txt.gz
#
# Example:    ALL: LOCAL @some_netgroup
#             ALL: .foobar.edu EXCEPT terminalserver.foobar.edu
#
# If you're going to protect the portmapper use the name "portmap" for the
# daemon name. Remember that you can only use the keyword "ALL" and IP
# addresses (NOT host or domain names) for the portmapper. See portmap(8)
# and /usr/doc/portmap/portmapper.txt.gz for further information.
#
ALL: LOCAL


-- 
mfg
Matthias Taube



Reply to: