Re: Pb accès au port 631

Page principale

Répondre à ce message
Auteur: Robert L.E.Billon
Date:  
À: GUILDE liste
Sujet: Re: Pb accès au port 631
Le Mardi 05 Décembre 2006 14:11, vous avez écrit :

> D'ailleurs la preuve que c'est mal configuré, ton interface "lo" n'a pas
> d'adresse. tu veras après la correction, elle aura l'adresse 127.0.0.1.
>
>     Xav


Voilà, je fais le point ci-après:

$ cat /etc/hosts
127.0.0.1       localhost.localdomain   localhost       sid
(toutes les autres lignes mises en commentaire)


$ cat :etc/network/interfaces
auto lo
iface lo inet loopback
(toutes les autres lignes mises en commentaire)

# netstat -taupe
tcp   0    0 *:printer  *:*   LISTEN     root       11493      -
[...]
udp   0    0 *:ipp      *:*              root       9658       3683/cupsd


# netstat -taupe|grep cupsd
#
(rien !)

$ telnet 127.0.0.1 631
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Network is unreachable

# lsof -c cups
[...]
cupsd   6374 root  txt    REG    3,5  338476 1104367 /usr/sbin/cupsd
[...]
(+ un certain nombre de lignes)


*** Là je reboot(e) le système ***

$ /sbin/ifconfig lo
lo        Lien encap:Boucle locale
          inet adr:127.0.0.1 Masque:255.0.0.0
          LOOPBACK  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0
          RX bytes:58051 (56.6 Kib)  TX bytes:58051 (56.6 Kib)


$ telnet 127.0.0.1 631
Trying127.0.0.1...
Connected to 127.0.0.1
Escape character is '^]'.

Et voilà ? Maintenant à nous deux mon cher CUPS !

Par contre je n'ai pas compris ce qui me bloquait.
Merci à toi et a ceux qui m'ont aidé.


--
"Robert L.E. Billon"
http://rleb07.free.fr & http://f3wm.free.fr