Re: Pb de resolution de localhost
Christophe MOUILLERON a écrit :
> On Tue, Feb 17, 2009 at 04:16:57PM +0100, giggz wrote:
>> qd je mets versose dans log_level dans mpd.conf j'ai :
>> 16:11 root@thor /etc # invoke-rc.d mpd start
>> Starting Music Player Daemon: mpdbinding to address for localhost
>> can't lookup host "localhost" at line 43: Temporary failure in name
>> resolution
> Hum... ça c'est étrange.
>> /etc/init.d/mpd: line 39: 3930 Abandon
>> start-stop-daemon --start --quiet --oknodo --pidfile "$PIDFILE" --exec
>> "$DAEMON" -- $MPD_OPTS "$MPDCONF"
>> failed!
>> invoke-rc.d: initscript mpd, action "start" failed.
>> zsh: exit 134 invoke-rc.d mpd start
>>
>>
>
> J'ai envie de penser qu'en mettant 127.0.0.1, mpd va se lancer
> correctement. Mais ça ne règle pas vraiment ton problème.
>
oui si je me souviens bien ça règle le pb...mais vu que j'ai le même
probleme avec privoxy (dans la version de sid qui date du début de
semaine, localhost a aussi remplacé 127.0.0.1), j'aimerais le régler
définitivement.
> À tout hasard, tu as quoi comme ligne hosts dans ton fichier
> /etc/nsswitch.conf ?
>
16:43 giggz@thor ~ % cat /etc/nsswitch.conf
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.
passwd: compat
group: compat
shadow: compat
hosts: files dns
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
netgroup: nis
merci de ton aide
> Christophe.
>
Reply to: