【打印机】无法连接 fail to connect to server cups 服务器错误 打印机
打印机
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 服务器错误 打印机的更多相关文章
- navicat创建连接 2002-can‘t connect to server on ....
环境: 系统:centos7 生产环境:docker 中部署MySQL 报错提示符:"2002-Can't connect to server on '192.168.200.22'(100 ...
- 问题:sqlserver 跨服务器连接;结果:Sql Server 跨服务器连接
Sql Server 跨服务器连接 用openrowset连接远程SQL或插入数据 --如果只是临时访问,可以直接用openrowset --查询示例 select * from openrowset ...
- 解决FileZilla Server因路径错误导致无法启动问题详细图文教程
问题背景 我作为一个配置无数服务器环境的人,对服务器的配置也算有所了解,不管是在linux平台还是win平台都比较熟悉,但这次帮一个朋友配置win2003服务器的时候却遇到了一个问题:前面配置IIS和 ...
- DataNode连接错误Retrying connect to server
在Hadoop分布式模式部署完毕后,通过start-dfs.sh启动NameNode.DataNode.SecondaryNameNode,在master节点通过jps命令查看,看到NameNod ...
- (二)阿里云ECS Linux服务器外网无法连接MySQL解决方法(报错2003- Can't connect MySQL Server on 'x.x.x.x'(10038))(自己亲身遇到的问题是防火墙的问题已经解决)
我的服务器买的是阿里云ECS linux系统.为了更好的操作数据库,我希望可以用navicat for mysql管理我的数据库. 当我按照正常的模式去链接mysql的时候, 报错提示: - Can' ...
- 问题解决: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 ...
- C# 有关打印机的连接判断...随便看看
各位coder手下留情 /// <summary> /// 判断是否连接打印机 /// </summary> public bool CheckPrinter() { //取得 ...
- 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 一般这种情况就是:自己指定的数据库,所以不能.自动加 ...
- 使用phpmailer插件发邮件失败提示:SMTP -> ERROR: Failed to connect to server: Connection timed out (110) smtp connect() failed;
一个邮件发送问题,整整弄了我一周时间,起因是这样的,之前弄的一个网站,需要在邮箱里面认证之后才可以注册成功.网站上线了差不多一年之后,客户突然跟我说,网站不能注册了,然后我就查看了一下代码. 发现报这 ...
随机推荐
- macbook/macOS下打开多个相同应用(应用多开)
1.部分应用可使用common+n快捷键.如qq:打开qq主界面后使用common+n即可新起一个qq程序. 2.在终端使用命令 open -n +程序路径.如启动多个qq : open -n /A ...
- Spring Security Oauth2 认证(获取token/刷新token)流程(password模式)
https://blog.csdn.net/bluuusea/article/details/80284458
- 简单模拟实现javascript中的call、apply、bind方法
目录 引子 隐式丢失 硬绑定 实现及原理分析 总体实现(纯净版/没有注释) 写在最后 引子 读完<你不知道的JavaScript--上卷>中关于this的介绍和深入的章节后,对于this的 ...
- Warm_up(HCTF_2018)
Warm up 考察知识点: 文件包含漏洞 代码审计 解题步骤 首先我们进来看到了一个滑稽的表情,没啥别的东西,先看看源码 源码中发现有注释 source.php 我们访问source.php,得到代 ...
- CentOS更换aliyun镜像站
目录 1. 官方地址 2. 社区文档 3. 镜像更换 3.1 配置方法: 3.1.1. 备份原配置文件 3.1.2. 下载新的 CentOS-Base.repo 到 /etc/yum.repos.d/ ...
- Spring 学习笔记(四):Spring AOP
1 概述 本文主要讲述了AOP的基本概念以及在Spring中AOP的几种实现方式. 2 AOP AOP,即Aspect-Oriented Programming,面向切面编程,与OOP相辅相成.类似的 ...
- 基于MATLAB的手写公式识别(5)
基于MATLAB的手写公式识别 总结一下昨天一天的工作成果: 获得了大致的识别过程. 一个图像从生肉到可以被处理需要经过预处理(灰质化.增加对比度.中值过滤.膨胀或腐蚀.闭环运算). 掌握了相关函数的 ...
- Thinkphp5 日期与时间戳相互转换
日期转换为时间戳 $date="2013-10-01 12:23:14"; dump(strtotime($date)); //=>1380601394 时间戳 转换为日期 ...
- hdu4421 2-sat(枚举二进制每一位)
题意: 给你一个数组b[][],在给你一些关系,问是否可以找到一个满足限制的a[], 关系如下(图片): 思路: 说到限制,而且还是两个两个之间的限制,那么很容易想到2-sat ...
- 模板templates的使用
目录 模板及其渲染 模板查找路径 DTL模板语法 常用的模板标签 DTL常用过滤器 模块结构优化 加载静态文件 模板及其渲染 视图函数只是直接返回文本,而在实际生产环境中其实很少这样用,因为实际的页面 ...