Pages : 1
#1 Le 24/09/2015, à 21:23
- oulaoup
[Résolu] Problème apt-cacher-ng
Bonsoir à tous,
Je rencontre des problèmes sur mon serveur. Impossible pour les clients de faire leur mises à jour alors que la semaine dernière, tout marchait nickel. Les clients renvoient tous :
Err http://security.ubuntu.com trusty-security Release.gpg
Impossible de se connecter à 192.168.0.2:3142 :
J'essaye de redémarrer apt-cacher-ng et "Failled", ça commence mal...
sudo /etc/init.d/apt-cacher-ng restart
[....] Restarting apt-cacher-ng: apt-cacher-ngNo /usr/sbin/apt-cacher-ng found running; none killed.
Not a valid configuration directive: TCP (http) port
Error reading main options, terminating.
failed!
Je le stop, ça fonctionne. Je le redémarre :
sudo /etc/init.d/apt-cacher-ng start
[....] Starting apt-cacher-ng: apt-cacher-ngNot a valid configuration directive: TCP (http) port
Error reading main options, terminating.
failed!
Le début du .conf :
# Letter case in directive names does not matter. Must be separated with colons.
# Valid boolean values are a zero number for false, non-zero numbers for true.
CacheDir: /var/cache/apt-cacher-ng
# set empty to disable logging
LogDir: /var/log/apt-cacher-ng
# place to look for additional configuration and resource files if they are not
# found in the configuration directory
# SupportDir: /usr/lib/apt-cacher-ng
TCP (http) port
# Set to 9999 to emulate apt-proxy
Port:3142
Je ne vois pas du tout par ou prendre le problème ! Si vous avez des pistes.
bonne soirée !
Dernière modification par oulaoup (Le 24/09/2015, à 22:23)
2017 : DELL Optiplex 760 / DELL Vostro V131 / Raspberry Pi /
Hors ligne
#2 Le 24/09/2015, à 21:59
- bruno
Re : [Résolu] Problème apt-cacher-ng
Le message d'erreur est pourtant parfaitement clair et explicite…
Cette ligne :
TCP (http) port
devrait être un commentaire.
#3 Le 24/09/2015, à 22:22
- oulaoup
Re : [Résolu] Problème apt-cacher-ng
Bon bah voilà comment se ridiculiser en moins de 2 minutes !
C'était bien ça + "Bindaddress" mal configuré !
Merci Bruno du coup de main !
a+
2017 : DELL Optiplex 760 / DELL Vostro V131 / Raspberry Pi /
Hors ligne
Pages : 1