打印机  

 

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

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

 

打印机正常

【打印机】无法连接 fail to connect to server cups 服务器错误 打印机的更多相关文章

  1. navicat创建连接 2002-can‘t connect to server on ....

    环境: 系统:centos7 生产环境:docker 中部署MySQL 报错提示符:"2002-Can't connect to server on '192.168.200.22'(100 ...

  2. 问题:sqlserver 跨服务器连接;结果:Sql Server 跨服务器连接

    Sql Server 跨服务器连接 用openrowset连接远程SQL或插入数据 --如果只是临时访问,可以直接用openrowset --查询示例 select * from openrowset ...

  3. 解决FileZilla Server因路径错误导致无法启动问题详细图文教程

    问题背景 我作为一个配置无数服务器环境的人,对服务器的配置也算有所了解,不管是在linux平台还是win平台都比较熟悉,但这次帮一个朋友配置win2003服务器的时候却遇到了一个问题:前面配置IIS和 ...

  4. DataNode连接错误Retrying connect to server

      在Hadoop分布式模式部署完毕后,通过start-dfs.sh启动NameNode.DataNode.SecondaryNameNode,在master节点通过jps命令查看,看到NameNod ...

  5. (二)阿里云ECS Linux服务器外网无法连接MySQL解决方法(报错2003- Can't connect MySQL Server on 'x.x.x.x'(10038))(自己亲身遇到的问题是防火墙的问题已经解决)

    我的服务器买的是阿里云ECS linux系统.为了更好的操作数据库,我希望可以用navicat for mysql管理我的数据库. 当我按照正常的模式去链接mysql的时候, 报错提示: - Can' ...

  6. 问题解决:psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?

    错误提示: psql: could not connect to server: No such file or directory Is the server running locally and ...

  7. C# 有关打印机的连接判断...随便看看

    各位coder手下留情 /// <summary> /// 判断是否连接打印机 /// </summary> public bool CheckPrinter() { //取得 ...

  8. MongoDB error: couldn't connect to server 127.0.0.1:27017 src/mongo/shell/mongo.js(转)

    rror: couldn't connect to server 127.0.0.1:27017 src/mongo/shell/mongo.js 一般这种情况就是:自己指定的数据库,所以不能.自动加 ...

  9. 使用phpmailer插件发邮件失败提示:SMTP -> ERROR: Failed to connect to server: Connection timed out (110) smtp connect() failed;

    一个邮件发送问题,整整弄了我一周时间,起因是这样的,之前弄的一个网站,需要在邮箱里面认证之后才可以注册成功.网站上线了差不多一年之后,客户突然跟我说,网站不能注册了,然后我就查看了一下代码. 发现报这 ...

随机推荐

  1. 手写Spring AOP,快来瞧一瞧看一看撒!

    目录 AOP分析 Advice实现 定义Advice接口 定义前置.后置.环绕和异常增强接口 Pointcut实现 定义PointCut接口 定义正则表达式的实现类:RegExpressionPoin ...

  2. 《鸟哥的Linux私房菜》部分章节学习笔记整理

    简介 此笔记为<鸟哥的Linux私房菜·基础学习篇>中部分章节的学习笔记. 目录 0 计算机概论 1 Linux是什么与如何学习 2 主机规划与磁盘分区 3 安装CentOS7.x 4 首 ...

  3. istio之envoy常见术语及状态码

    基本术语 Downstream(下游):下游主机连接到 Envoy,发送请求并接收响应,即发送请求的主机. Upstream(上游):上游主机接收来自 Envoy 的连接和请求,并返回响应,即接受请求 ...

  4. JDK8新特性(一) Lambda表达式及相关特性

    函数式接口 函数式接口是1.8中的新特性,他不属于新语法,更像是一种规范 面向对象接口复习 在这里先回顾一下面向对象的接口,创建接口的关键字为interface,这里创建一个日志接口: public ...

  5. composer 使用提示

    1.使用国内镜像[推荐] composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/ 或者 comp ...

  6. dedecms发布文章排序按发布时间,不是更新时间

    织梦DEDECMS5.7这个版本存在一个问题,修改文章的同时也修改了文章的发布时间,这种情况下,如果我们调用最新文章时使用按"发布日期排序",就会打乱原来我们网站上的文章的顺序. ...

  7. 【网络协议】 TCP三次握手的流程

    在TCP/IP协议中,TCP协议通过三次握手,建立可靠的连接服务: 三次握手是由客户端发起 第一步: 客户端向服务端发送请求报文(实际上就是一个具有特定格式的数据包),报文中包含一个标志为Syn,Sy ...

  8. hdu4450 不错的贪心

    题意: 卡片游戏 Time Limit: 3000/1000 MS (Java/Others)    Memory Limit: 65535/32768 K (Java/Others) Total S ...

  9. Social engineering tookit 钓鱼网站

    目录 Set 钓鱼攻击 网站克隆 Set Set(Social engineering tookit)是一款社会工程学工具,该工具用的最多的就是用来制作钓鱼网站. Kali中自带了该工具. 钓鱼攻击 ...

  10. CreateThread 线程操作与 _beginthreadex 线程安全(Windows核心编程)

    0x01 线程的创建 线程不同于进程,Windows 中的进程是拥有 '惰性' 的,本身并不执行任何代码,而执行代码的任务转交给主线程,列如使用 CreateProcess 创建一个进程打开 Cmd ...