自从最近的更新以来,cups 守护进程将不再打印任何内容,默默地排队但不处理打印作业。当寻找原因时,我发现了类似的行
Oct 08 17:14:16 host dbus-daemon[1711]: [system] Activating via systemd: service name='org.freedesktop.ColorManager' unit='colord.service' requested by ':1.441' (uid=0 pid=30364 comm="/usr/sbin/cupsd -l ")
Oct 08 17:14:16 host dbus-daemon[1711]: [system] Activation via systemd failed for unit 'colord.service': Unit colord.service not found.
Oct 08 17:14:16 host dbus-daemon[1711]: [system] Activating via systemd: service name='org.freedesktop.ColorManager' unit='colord.service' requested by ':1.441' (uid=0 pid=30364 comm="/usr/sbin/cupsd -l ")
Oct 08 17:14:16 host dbus-daemon[1711]: [system] Activation via systemd failed for unit 'colord.service': Unit colord.service not found.
Oct 08 17:14:16 host dbus-daemon[1711]: [system] Activating via systemd: service name='org.freedesktop.ColorManager' unit='colord.service' requested by ':1.441' (uid=0 pid=30364 comm="/usr/sbin/cupsd -l ")
Oct 08 17:14:16 host dbus-daemon[1711]: [system] Activation via systemd failed for unit 'colord.service': Unit colord.service not found.
Oct 08 17:14:16 host dbus-daemon[1711]: [system] Activating via systemd: service name='org.freedesktop.ColorManager' unit='colord.service' requested by ':1.441' (uid=0 pid=30364 comm="/usr/sbin/cupsd -l ")
Oct 08 17:14:16 host dbus-daemon[1711]: [system] Activation via systemd failed for unit 'colord.service': Unit colord.service not found.
我还得到如下行/var/log/cups/error_log
:
W [08/Oct/2019:17:14:16 +0200] CreateProfile failed: org.freedesktop.systemd1.NoSuchUnit:Unit colord.service not found.
W [08/Oct/2019:17:14:16 +0200] CreateProfile failed: org.freedesktop.systemd1.NoSuchUnit:Unit colord.service not found.
W [08/Oct/2019:17:14:16 +0200] CreateDevice failed: org.freedesktop.systemd1.NoSuchUnit:Unit colord.service not found.
尽管这些被标记为“W”,如“警告”中的那样 - 没有错误吗?
我的系统上没有colord
该服务,我已删除该服务,因为 (a) 我不需要它,并且 (b) 它在我的家庭网络中发起未经请求的连接和广播。因此,重新启用colord
对我来说不是解决方案。
如何cupsd
在不使用 的情况下使用 进行打印colord
?
尝试修复:
尝试重新安装colord
并启动它只是为了这个打印作业。我收到的新错误消息是:
Oct 08 18:10:43 host colord[2742]: failed to get session [pid 2826]: No data available
这意味着它colord
正在运行,但仍然没有告诉cupsd
“继续打印,这台打印机没有颜色配置文件”(没有,而且我现在不需要队列中的黑白文本文档,或者曾经)。