• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

CUPS nicht gestartet?

Alex H

Newbie
Huhu,

laut Tecchannel ( http://www.tecchannel.de/server/linux/431673/index6.html ) soll ich überprüfen ob CUPS den Back-End-Treiber erkennt und verwendet. Teccchannel sagt mir was ich machen soll wenn alles in Ordnung ist, jedoch nicht wenn alles nicht in Ordnung ist ;)

Stellen Sie zunächst sicher, dass CUPS den Back-End-Treiber auch erkannt hat und verwendet. Dazu dient der folgende Aufruf des Hilfsprogramms lpinfo:

lpinfo -v | grep cups-pdf





<bild> Alles in Ordnung: Sowohl Treiber für CUPS-PDF als auch die Druckerwarteschlange sind installiert und betriebsbereit.



In der Ausgabe des Befehls sollte die Zeile file cups-pdf:/ erscheinen. Ist das der Fall, kann es an das Einrichten des Druckers gehen. Für diese Aufgabe ist bei CUPS das Hilfsprogramm lpadmin zuständig:

lpadmin -p PDF-Test -v cups-pdf:/ -P /usr/share/cups/model/PostscriptColor.ppd.gz -E

wenn ich "lpinfo -v | grep cups-pdf" eingebe, sollte "file cups-pdf:/" oder sowas ähnliches ausgegeben werden. es passiert jedoch nichts....:

hv00cups:~ # lpinfo -v | grep cups-pdf
hv00cups:~ #


Könnt mir jemand bitte weiterhelfen?

Gruß, Alex
 
OP
A

Alex H

Newbie
Achja, müsste CUPS als prozess gestartet sein?

hv00cups:~ # ps auxww
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 680 248 ? S 09:18 0:00 init [3]
root 2 0.0 0.0 0 0 ? S 09:18 0:00 [migration/0]
root 3 0.0 0.0 0 0 ? SN 09:18 0:00 [ksoftirqd/0]
root 4 0.0 0.0 0 0 ? S 09:18 0:00 [migration/1]
root 5 0.0 0.0 0 0 ? SN 09:18 0:00 [ksoftirqd/1]
root 6 0.0 0.0 0 0 ? S< 09:18 0:00 [events/0]
root 7 0.0 0.0 0 0 ? S< 09:18 0:00 [events/1]
root 8 0.0 0.0 0 0 ? S< 09:18 0:00 [khelper]
root 13 0.0 0.0 0 0 ? S< 09:18 0:00 [kthread]
root 24 0.0 0.0 0 0 ? S< 09:18 0:00 [kacpid]
root 107 0.0 0.0 0 0 ? S< 09:18 0:00 [kblockd/0]
root 108 0.0 0.0 0 0 ? S< 09:18 0:00 [kblockd/1]
root 151 0.0 0.0 0 0 ? S 09:18 0:00 [pdflush]
root 152 0.0 0.0 0 0 ? S 09:18 0:00 [pdflush]
root 154 0.0 0.0 0 0 ? S< 09:18 0:00 [aio/0]
root 153 0.0 0.0 0 0 ? S 09:18 0:00 [kswapd0]
root 155 0.0 0.0 0 0 ? S< 09:18 0:00 [aio/1]
root 748 0.0 0.0 0 0 ? S 09:18 0:00 [kseriod]
root 843 0.0 0.0 0 0 ? S 09:18 0:00 [kirqd]
root 1072 0.0 0.0 0 0 ? S< 09:18 0:00 [reiserfs/0]
root 1073 0.0 0.0 0 0 ? S< 09:18 0:00 [reiserfs/1]
root 2073 0.0 0.1 1472 604 ? S<s 09:18 0:00 /sbin/udevd -d
root 2110 0.0 0.0 0 0 ? S 09:18 0:00 [khpsbpkt]
root 2601 0.0 0.0 0 0 ? S 09:18 0:00 [khubd]
root 2829 0.0 0.1 1692 672 ? Ss 09:18 0:00 /sbin/resmgrd
100 3192 0.0 0.3 3356 1476 ? Ss 09:18 0:00 /usr/bin/dbus-d aemon-1 --system
root 3803 0.0 0.1 1852 860 ? Ss 09:18 0:00 /sbin/syslog-ng
root 3813 0.0 0.1 1604 596 ? Ss 09:18 0:00 /sbin/klogd -c 1 -x -x
nobody 3834 0.0 0.0 1508 480 ? Ss 09:18 0:00 /sbin/portmap
root 4086 0.0 0.0 1460 444 ? S< 09:18 0:00 [hwscand]
root 5108 0.0 0.2 12844 1116 ? Ssl 09:19 0:00 /usr/sbin/nscd
lp 5310 0.0 0.5 6592 2828 ? Ss 09:19 0:00 /usr/sbin/cupsd
root 5588 0.0 0.3 4700 1880 ? Ss 09:19 0:00 /usr/sbin/sshd -o PidFile=/var/run/sshd.init.pid
root 5634 0.0 0.1 1472 532 ? Ss 09:19 0:00 /usr/sbin/acpid -c /etc/acpi/events.ignore
root 5678 0.0 0.3 4736 1460 ? Ss 09:19 0:00 /usr/lib/postfi x/master
postfix 5689 0.0 0.2 4740 1388 ? S 09:19 0:00 pickup -l -t fi fo -u
postfix 5690 0.0 0.2 4776 1424 ? S 09:19 0:00 qmgr -l -t fifo -u
root 5749 0.0 0.1 1752 620 ? Ss 09:19 0:00 /usr/sbin/cron
root 5791 0.0 0.2 2868 1264 ? S 09:19 0:00 /usr/sbin/power saved -d -x /usr/lib/powersave/scripts -a resmgr -v 3
root 5841 0.0 0.5 3816 2480 ? Ss 09:19 0:00 /usr/sbin/hald --daemon=yes
root 5846 0.0 0.1 1908 632 tty1 Ss+ 09:19 0:00 /sbin/mingetty --noclear tty1
root 5847 0.0 0.1 1908 632 tty2 Ss+ 09:19 0:00 /sbin/mingetty tty2
root 5848 0.0 0.1 1908 632 tty3 Ss+ 09:19 0:00 /sbin/mingetty tty3
root 5849 0.0 0.1 1908 632 tty4 Ss+ 09:19 0:00 /sbin/mingetty tty4
root 5850 0.0 0.1 1908 632 tty5 Ss+ 09:19 0:00 /sbin/mingetty tty5
root 5851 0.0 0.1 1908 632 tty6 Ss+ 09:19 0:00 /sbin/mingetty tty6
root 6010 0.0 0.4 7932 2296 ? Ss 10:02 0:00 sshd: root@nott y
root 6013 0.0 0.2 4592 1252 ? Ss 10:02 0:00 /usr/lib/ssh/sf tp-server
root 6079 0.0 0.4 8144 2328 ? Ss 10:29 0:00 sshd: root@pts/ 1
root 6083 0.0 0.3 3044 1720 pts/1 Ss 10:29 0:00 -bash
root 6220 0.0 0.1 2724 812 pts/1 R+ 10:33 0:00 ps auxww

Hier ist CUPS nirgends zu sehen... hmmmm...

aber CUPS läuft:

Starting cupsd done
hv00cups:~ # /etc/init.d/cups status
Checking for cupsd: running
hv00cups:~ #
 

stka

Guru
Warum so umständlich?
Wenn du Suse nutzt dann, kannst du die Drucker über yast einrichten. Fast alle Distributionen verwenden als Drucksystem cups. Wenn du eine andere Distribution verwendest, kannst du den cups-Server über einen Browser verwalten. Dazu musst du in der date /etc/cups/cupsd.conf die Rechte setzten und dann über http://<ip-des-servers>:631 eine Verbindung herstellen, Der cups-Server muss dafür aber laufen. das Kommando "ps ax | grep cups" sollte den Prozess zeigen.
 
Oben