博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
【打印机】无法连接 fail to connect to server cups 服务器错误 打印机
阅读量:6001 次
发布时间:2019-06-20

本文共 2418 字,大约阅读时间需要 8 分钟。

 

 打印机  

 

fail to connect to server cups 服务器错误

兆芯 打印机 连不上了
####
message可知 服务fail## systemd: cups.service failed.
####
vim /var/log/messages

Jun 17 14:08:36 10 cupsd: No valid Listen or Port lines were found in the configuration file.

 

 

 

Jun 17 14:08:36 10 cupsd: No valid Listen or Port lines were found in the configuration file.

Jun 17 14:08:36 10 cupsd: No valid Listen or Port lines were found in the configuration file.
Jun 17 14:08:36 10 cupsd: No valid Listen or Port lines were found in the configuration file.
Jun 17 14:08:36 10 systemd: start request repeated too quickly for cups.service
Jun 17 14:08:36 10 systemd: Failed to start CUPS Printing Service.
Jun 17 14:08:36 10 systemd: Unit cups.socket entered failed state.
Jun 17 14:08:36 10 systemd: Unit cups.service entered failed state.
Jun 17 14:08:36 10 systemd: cups.service failed.
Jun 17 14:08:36 10 systemd: configure-printer@usb-001-003.service: main process exited, code=exited, status=1/FAILURE
Jun 17 14:08:36 10 systemd: Unit configure-printer@usb-001-003.service entered failed state.
Jun 17 14:08:36 10 systemd: configure-printer@usb-001-003.service failed.
Jun 17 14:08:36 10 udev-configure-printer: failed to send IPP request 16395
Jun 17 14:08:36 10 org.a11y.Bus: Activating service name='org.a11y.atspi.Registry'
Jun 17 14:08:36 10 org.a11y.Bus: Successfully activated service 'org.a11y.atspi.Registry'
Jun 17 14:08:36 10 org.a11y.atspi.Registry: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
Jun 17 14:08:36 10 kernel: [ 6.833163] fuse init (API version 7.22)
Jun 17 14:08:36 10 kernel: fuse init (API version 7.22)
@
?cups

####
0 systemd: cups.service failed.
#### 重启服务
# systemctl status cups -l
# systemctl restart cups 

# systemctl status cups -l

#########配置文件出错

####卸载并且重装cups相关包

# yum list *cups*
yum remove -y cups
yum install -y cups*
# yum install -y foomatic foomatic-db foomatic-db-ppds gutenprint-cups hplip neokylin-printer-ppds

 

#### 重启服务

# systemctl status cups -l

# systemctl restart cups 

# systemctl status cups -l

 

# systemctl status cups

● cups.service - CUPS Printing Service
Loaded: loaded (/usr/lib/systemd/system/cups.service; enabled)
Active: active (running) since 一 2019-06-17 15:08:38 CST; 9min ago
Main PID: 679 (cupsd)
Status: "Scheduler is running..."
CGroup: /system.slice/cups.service
└─679 /usr/sbin/cupsd -f

 

 

 

 

 

#####注销 用户后 重新登录

 

 

 

打印机正常

 

转载于:https://www.cnblogs.com/xuanbjut/p/11039718.html

你可能感兴趣的文章
浅析linux内核中的idr机制
查看>>
【转】.so兼容32位和64位
查看>>
PowerDesigner跟表的字段加注释
查看>>
w !sudo tee %
查看>>
javascript面试题:如何把一句英文每个单词首字母大写?
查看>>
URAL 1962 In Chinese Restaurant 数学
查看>>
计算 TPS,QPS 的方式
查看>>
洛谷⑨月月赛Round2 P3393逃离僵尸岛[最短路]
查看>>
群晖NAS使用Docker安装迅雷离线下载出现the active key is not valid.
查看>>
spring boot 2使用Mybatis多表关联查询
查看>>
Making HTTP requests via telnet - Tony's Place
查看>>
千元机市场再添“新宠”,红米Note7和vivo Z3谁才是千元王者
查看>>
荣耀10GT升级EMUI 9.0体验分享:这可能是最好用的手机操作系统
查看>>
ZStack基于华芯通打造ARM国产云平台 助力云上贵州多项应用
查看>>
200本“保护日记”记录黄山迎客松生长变化
查看>>
多方力量携手呵护“中华水塔”青海三江源
查看>>
互联网的下一波红利在哪里?
查看>>
拿姐姐身份证登记结婚竟然成了!婚姻户籍信息共享难在哪儿
查看>>
恒大造车加速,联手柯尼塞格打造顶级新能源车
查看>>
JAVA大神说一个例子让你几分钟学会Annotation
查看>>