[Seek Help] cups服务器未运行,不能管理打印机,哪位大神指导一下
Tofloor
poster avatar
189******79
deepin
2022-03-25 17:24
Author

cups服务器未运行,不能管理打印机,系统监视器里面手动启动也启动不了,哪位大神指导一下

1648171305(1).jpg

1648171425(1).png

1648170789(1).jpg

Reply Favorite View the author
All Replies
昨夜的星辰
deepin
2022-03-25 18:06
#1

不能右键启动?

Reply View the author
deepinuser17
deepin
2022-03-25 18:11
#2

查看/var/log/cups/error.log里出错信息。

sudo cat /var/log/cups/error_log

Reply View the author
189******79
deepin
2022-03-25 20:29
#3
昨夜的星辰

不能右键启动?

不行,这个截图就是右键点了启动之后的,启动不了

Reply View the author
189******79
deepin
2022-03-25 20:32
#4
deepinuser17

查看/var/log/cups/error.log里出错信息。

sudo cat /var/log/cups/error_log

求指导No valid Listen or Port lines were found in the configuration file.

1648182750(1).jpg

Reply View the author
云的眼泪
deepin
2022-03-25 22:12
#5

remove后重装,或者直接reinstall

有关联服务没有启动?

Reply View the author
189******79
deepin
2022-03-25 23:24
#6
云的眼泪

remove后重装,或者直接reinstall

有关联服务没有启动?

你是说重装cups服务吗,怎么重装,不太会,麻烦详细说一下,感谢

Reply View the author
云的眼泪
deepin
2022-03-25 23:28
#7

sudo apt purge cups

sudo apt install cups

我也没有操作过,有风险。再问一下大佬。

Reply View the author
deepinuser17
deepin
2022-03-26 07:52
#8

查看一下cups配置文件:

$ cat /etc/cups/cupsd.conf

`Configuration file for the CUPS scheduler. See "man cupsd.conf" for a
complete description of this file.
Log general information in error_log - change "warn" to "debug"
for troubleshooting...

LogLevel warn
PageLogFormat
Deactivate CUPS' internal logrotating, as we provide a better one, especially
LogLevel debug2 gets usable now

MaxLogSize 0
Only listen for connections from the local machine.

Listen localhost:631
Listen /run/cups/cups.sock`

Reply View the author
189******79
deepin
2022-03-27 17:57
#9
deepinuser17

查看一下cups配置文件:

$ cat /etc/cups/cupsd.conf

`Configuration file for the CUPS scheduler. See "man cupsd.conf" for a
complete description of this file.
Log general information in error_log - change "warn" to "debug"
for troubleshooting...

LogLevel warn
PageLogFormat
Deactivate CUPS' internal logrotating, as we provide a better one, especially
LogLevel debug2 gets usable now

MaxLogSize 0
Only listen for connections from the local machine.

Listen localhost:631
Listen /run/cups/cups.sock`

按照你说的查看cups配置文件里面显示PreserveJobHistory No

1648346230(1).jpg

Reply View the author