• 【打印机】无法连接 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

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

     

    打印机正常

  • 相关阅读:
    关于无法使用xx-pc附加到应用程序iisexpress.exe
    iis 7.5 0x80004005 静态文件 html、js、css 500错误
    递归删除指定目录下面的所有文件夹和文件
    http请求相关
    常用分页写法
    获取与Url链接相关的信息
    解决iis7 0x80070002 错误代码问题
    实现Cookie跨域共享
    文本框值改变事件
    动态加载、移除、替换JS和CSS
  • 原文地址:https://www.cnblogs.com/xuanbjut/p/11039718.html
Copyright © 2020-2023  润新知