Ubuntu 18.04 LTS – 打印服务不可用

我的打印机不再出现在我的设置 – >设备GUI菜单中。 相反,它说:“抱歉!系统打印服务似乎不可用。”

我尝试在网上搜索想法,然后使用以下输出运行这些终端命令:

john@john-max:~$ sudo service cups restart john@john-max:~$ systemctl status cups ● cups.service - CUPS Scheduler Loaded: loaded (/lib/systemd/system/cups.service; enabled; vendor preset: enabled) Active: failed (Result: start-limit-hit) since Mon 2018-08-13 15:07:46 EDT; 14s ago Docs: man:cupsd(8) Process: 3314 ExecStart=/usr/sbin/cupsd -l (code=killed, signal=TERM) Main PID: 3314 (code=killed, signal=TERM) Aug 13 15:07:46 john-max systemd[1]: cups.service: Service hold-off time over, scheduling restart. Aug 13 15:07:46 john-max systemd[1]: cups.service: Scheduled restart job, restart counter is at 5. Aug 13 15:07:46 john-max systemd[1]: Stopped CUPS Scheduler. Aug 13 15:07:46 john-max systemd[1]: cups.service: Start request repeated too quickly. Aug 13 15:07:46 john-max systemd[1]: cups.service: Failed with result 'start-limit-hit'. Aug 13 15:07:46 john-max systemd[1]: Failed to start CUPS Scheduler. john@john-max:~$ sudo apt-get install cups Reading package lists... Done Building dependency tree Reading state information... Done cups is already the newest version (2.2.7-1ubuntu2.1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 

有一件事可能很重要:我最近打开了启动应用程序并意外地删除了那里的一些东西而不知道它们是什么。 也许打印机服务的东西在那里?

我也尝试为我的打印机重新安装我的打印机驱动程序,但它只是说已安装。

在Ubutnu软件以及运行

 sudo apt-get update && sudo apt-get upgrade 

我将我的软件显示为最新版本。

我是相当新手,所以如果你告诉我该怎么做,如果可能的话,请给我实际的终端命令。

我有同样的问题。 配置文件位置不正确。 按照此链接的说明进行操作。 https://ubuntu-mate.community/t/cups-service-stopped-um-18-04/17381

有一个默认配置文件应该安装在/usr/share/cups/cupsd.conf.default所以我跑了:

 sudo cp /usr/share/cups/cupsd.conf.default /etc/cups/cupsd.conf sudo service cups restart