ForumCUPS-Daemon zerstört
Roland Welcker – Montag, 06. Februar 2006 10:32 Uhr

Hallo,
wer kann helfen? Beim Einrichten einer Warteschlange für den Drucker ist ein Fehler aufgetreten. Auszug aus /var/log/cups/err_0:

52:33 +0100] New printer ‘photo_gray’ added by ‘root’.
I [05/Feb/2006:12:52:35 +0100] Setting StylusPhotoR220 device-uri to “usb://EPSON/Stylus%20Photo%20R220” (was “usb://EPSON/Stylus%20Photo%20R220”.)
I [05/Feb/2006:12:52:35 +0100] Setting StylusPhotoR220 printer-is-accepting-jobs to 1 (was 1.)
I [05/Feb/2006:12:52:35 +0100] Setting StylusPhotoR220 printer-state to 3 (was 3.)
I [05/Feb/2006:12:52:35 +0100] Saving printers.conf…
I [05/Feb/2006:12:52:35 +0100] Printer ‘StylusPhotoR220’ modified by ‘root’.
I [05/Feb/2006:12:52:36 +0100] Setting StylusPhotoR220 device-uri to “usb://EPSON/Stylus%20Photo%20R220” (was “usb://EPSON/Stylus%20Photo%20R220”.)
I [05/Feb/2006:12:52:36 +0100] Setting StylusPhotoR220 printer-is-accepting-jobs to 1 (was 1.)
I [05/Feb/2006:12:52:36 +0100] Setting StylusPhotoR220 printer-state to 3 (was 3.)
I [05/Feb/2006:12:52:36 +0100] Saving printers.conf…
I [05/Feb/2006:12:52:36 +0100] Printer ‘StylusPhotoR220’ modified by ‘root’.
I [05/Feb/2006:12:52:37 +0100] Saving printers.conf…
I [05/Feb/2006:12:52:37 +0100] Saving classes.conf…
I [05/Feb/2006:12:52:37 +0100] Default destination set to ‘tp1’ by ‘root’.
I [05/Feb/2006:12:52:37 +0100] Scheduler shutting down normally.
I [05/Feb/2006:12:52:38 +0100] Listening to 0:631
E [05/Feb/2006:12:52:38 +0100] Unknown Location directive # on line 834.
I [05/Feb/2006:12:52:38 +0100] Loaded configuration file “/etc/cups/cupsd.conf”
I [05/Feb/2006:12:52:38 +0100] Configured for up to 100 clients.
I [05/Feb/2006:12:52:38 +0100] Allowing up to 100 client connections per host.
I [05/Feb/2006:12:52:38 +0100] Full reload is required.
I [05/Feb/2006:12:52:38 +0100] LoadPPDs: Read “/etc/cups/ppds.dat”, 4011 PPDs…
I [05/Feb/2006:12:52:39 +0100] LoadPPDs: No new or changed PPDs…
I [05/Feb/2006:12:52:39 +0100] Full reload complete.
E [05/Feb/2006:12:52:39 +0100] StartListening: Unable to find IP address for server name “linux” – Fehler beim Auflᅵen des Hostnamens

Beim Neukonfigurieren des Druckers kommt dann die Meldung: “CUPS-Daemon konnte nicht erfolgreich initialisiert werden”. Dazu ein Auszug /var/log/cups/err_0:

I [06/Feb/2006:08:06:23 +0100] Listening to 0:631
E [06/Feb/2006:08:06:23 +0100] Unknown Location directive # on line 839.
E [06/Feb/2006:08:06:23 +0100] Unknown Location directive # on line 854.
I [06/Feb/2006:08:06:23 +0100] Listening to 0:631
I [06/Feb/2006:08:06:23 +0100] Loaded configuration file “/etc/cups/cupsd.conf”
I [06/Feb/2006:08:06:23 +0100] Configured for up to 100 clients.
I [06/Feb/2006:08:06:23 +0100] Allowing up to 100 client connections per host.
I [06/Feb/2006:08:06:23 +0100] Full reload is required.
I [06/Feb/2006:08:06:24 +0100] LoadPPDs: Read “/etc/cups/ppds.dat”, 4011 PPDs…
I [06/Feb/2006:08:06:24 +0100] LoadPPDs: No new or changed PPDs…
I [06/Feb/2006:08:06:24 +0100] Full reload complete.
E [06/Feb/2006:08:06:24 +0100] StartListening: Unable to find IP address for server name “linux” – Fehler beim Auflösen des Hostnamens
E [06/Feb/2006:08:06:24 +0100] StartListening: Unable to bind socket for address 00000000:631 – Die Adresse wird bereits verwendet.

Eshandelt sich um einen Einzelplatzrechner unter SuSE 9.2, KDE 3.3.0 Kernel 2.6.8.

Freundliche Grüße an alle Leser
Roland Welcker

2 Antworten
man-draker – Montag, 06. Februar 2006 13:33 Uhr

Wenn der Drucker lokal angeschlossen ist, sollte nicht versucht werden einen Servernamen aufzulösen (es sei denn localhost).

Wenn der Drucker an einem anderen Rechner hängt, ist usb:// das falsche Protokoll.

Wenn die URI “usb://” Probleme bereitet, kann es an Problemen mit dem USB-Subsystem liegen. Da SuSe 9.2 schon einige Zeit auf dem Buckel hat (nach den Maßstäben von Hardware- und Linux-Fortentwicklung), zieh dir mal eine Knoppix oder (K)Ubuntu Live-CD und teste damit.

Rico Rommel – Montag, 06. Februar 2006 14:31 Uhr

Hallo Roland,

Mir fallen zwei Fehlermeldungen auf:
“StartListening: Unable to find IP address for server name “linux” – Fehler
beim Auflösen des Hostnamens”

“linux” ist der Name deines Rechners. Scheinbar hast du deinem eigenen Rechner
keine IP-Adresse zugewiesen (was an einem Einzelplatz auch sinnlos scheint).
Entweder teilst deiner Netzwerkkarte mittels Yast irgend eine statische IP zu
oder du richtest “linux” als alias für “localhost” ein. Suche dazu
in /etc/hosts den Eintrag

127.0.0.1 localhost

und ändere ihn zu

127.0.0.1 localhost linux

Erstere Variante ist aber zu bevorzugen.

“StartListening: Unable to bind socket for address 00000000:631 – Die Adresse
wird bereits verwendet.”

Diese Fehlermeldung kommt in der Regel, wenn der Port 631, auf dem Cups
arbeitet, schon durch einen anderen Dienst belegt ist.
Mit rpcinfo -p localhost läßt sich der Übeltäter ermitteln.
In den meisten Fällen hilft auch ein einfacher Neustart des Rechners, da die
Ports dann neu vergeben werden.

mfg
Rico