[Print Manager] cups服务无法启用 V20.4
Tofloor
poster avatar
189******79
deepin
2022-03-29 19:21
Author

每次打开打印管理器都会提示‘cups服务服务器未运行,不能管理打印机’,但是在系统监视器中,又无法手动启动,启动后仍未运行1648171305(1).jpg

1648171425(1).png

 

系统安装后一直这样

 

安装系统后从未正常连接过打印机

Reply Favorite View the author
All Replies
liwl
deepin
2022-03-29 20:49
#1

sudo systemctl cups status

Reply View the author
189******79
deepin
2022-03-29 21:47
#2
liwl

sudo systemctl cups status

命令是不是不对啊

1648532836(1).jpg

Reply View the author
deepinuser17
deepin
2022-03-29 22:01
#3

是 sudo systemctl cupsd status

Reply View the author
189******79
deepin
2022-03-29 22:36
#4
deepinuser17

是 sudo systemctl cupsd status

不对啊

1648535789(1).jpg

Reply View the author
liwl
deepin
2022-03-29 22:42
#5
189******79

不对啊

1648535789(1).jpg

sudo systemctl status cpus

cups放在最后面,不好意思弄错了

Reply View the author
189******79
deepin
2022-03-29 23:13
#6
liwl

sudo systemctl status cpus

cups放在最后面,不好意思弄错了

找不到cups服务,咋办

1648537949(1).jpg

Reply View the author
liwl
deepin
2022-03-29 23:31
#7
189******79

找不到cups服务,咋办

1648537949(1).jpg

额,我又搞错了,是cups,不是cpus

sad

Reply View the author
189******79
deepin
2022-03-29 23:47
#8
liwl

额,我又搞错了,是cups,不是cpus

sad

显示是这样的,好像有错误

1648540034(1).jpg

Reply View the author
liwl
deepin
2022-03-29 23:53
#9
189******79

显示是这样的,好像有错误

1648540034(1).jpg

开机启动,非活跃状态,被kill是不是设置了内存限制,cpu限制之类的

从你这截图来看,触发器激发然后被kill,可以看看是不是手动设置过,或者配置文件/usr/lib/systemd/system/cups.service有没有什么限制

Reply View the author
189******79
deepin
2022-03-29 23:56
#10
liwl

开机启动,非活跃状态,被kill是不是设置了内存限制,cpu限制之类的

从你这截图来看,触发器激发然后被kill,可以看看是不是手动设置过,或者配置文件/usr/lib/systemd/system/cups.service有没有什么限制

系统前几天刚装的,没有设置过,你说的这几个可能我如何自己查,刚刚用这个系统还不太会

Reply View the author
189******79
deepin
2022-03-30 00:00
#11
189******79

系统前几天刚装的,没有设置过,你说的这几个可能我如何自己查,刚刚用这个系统还不太会

权限不够是啥意思

1648540699(1).jpg

你是不是想看这个,我直接找到这个文件了

1648540820(1).jpg

Reply View the author
liwl
deepin
2022-03-30 00:06
#12
189******79

权限不够是啥意思

1648540699(1).jpg

你是不是想看这个,我直接找到这个文件了

1648540820(1).jpg

sudo systemctl enable cups

sudo systemctl start cups

Reply View the author
189******79
deepin
2022-03-30 00:12
#13
liwl

sudo systemctl enable cups

sudo systemctl start cups

第二个命令没有反应,然后系统监视器里面看了还是未启动

1648541497(1).jpg

1648541544(1).jpg

Reply View the author
learner
deepin
2022-03-30 03:59
#14

或许您可以试试去 /var/log/cups 这个文件夹下面查看一下 cups 的日志里面有什么错误信息,也许能找到问题的根源(

Reply View the author