Problem: ich kann auf neuem Rechner (openSUSE 11.1) mit YaST2 keinen Drucker einrichten, weil der cups server nicht erreichbar ist (Meldung:
.
CUPS ist per zypper wieder frisch installiert (cups-1.3.9-7.1) http://de.opensuse.org/SDB:CUPS_-_Das_Drucksystem_manuell_neu_einrichten
Der cupsd läuft, localhost ist per ping erreichbar und gibt 127.0.0.1 als Adresse zurück.
Mit der default cups.conf (mit dem Eintrag Listen localhost:631) meldet cups im error_log:
Unable to open listen socket for address ::1:631 - Address family not supported by protocol.
und
Cups horcht also anscheinend auf der ipv6 Adresse.
Wenn ich in cups.conf nun
Listen 127.0.0.1:631 (statt localhost:631)
eintrage gibt es auf cups Seite keine Fehlermeldung. error.log meldet dann:
Und netstat -nap |grep cupsd:
Trotzdem meldet Yast dann weiterhin:
Weiß da jemand weiter ?
Code:
No local running CUPS daemon is accessible
CUPS ist per zypper wieder frisch installiert (cups-1.3.9-7.1) http://de.opensuse.org/SDB:CUPS_-_Das_Drucksystem_manuell_neu_einrichten
Der cupsd läuft, localhost ist per ping erreichbar und gibt 127.0.0.1 als Adresse zurück.
Code:
ping localhost
PING localhost (127.0.0.1) 56(84) bytes of data.
64 bytes from nil (127.0.0.1): icmp_seq=1 ttl=64 time=0.032 ms
/etc/hosts:
127.0.0.1 nil
127.0.0.2 meinRechner
# special IPv6 addresses
::1 localhost ipv6-localhost ipv6-loopback
Mit der default cups.conf (mit dem Eintrag Listen localhost:631) meldet cups im error_log:
Unable to open listen socket for address ::1:631 - Address family not supported by protocol.
und
Code:
netstat -nap |grep cupsd
udp 0 0 0.0.0.0:631 0.0.0.0:* 11249/cupsd
unix 2 [ ACC ] STREAM LISTENING 53746 11249/cupsd /var/run/cups/cups.sock
Cups horcht also anscheinend auf der ipv6 Adresse.
Wenn ich in cups.conf nun
Listen 127.0.0.1:631 (statt localhost:631)
eintrage gibt es auf cups Seite keine Fehlermeldung. error.log meldet dann:
Code:
Listening to 127.0.0.1:631 on fd 1...
Und netstat -nap |grep cupsd:
Code:
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 11356/cupsd
udp 0 0 0.0.0.0:631 0.0.0.0:* 11356/cupsd
Trotzdem meldet Yast dann weiterhin:
etcNo local running CUPS daemon is accessible
Weiß da jemand weiter ?