AIX打印机报错:0781-162和0781-174

公司AIX上的打印机无法打印,执行lprm ,enable ,stop print queue,cancel print job。全部提示0781-162和0781-174的报错。

在网上查出可能引起 0781 - 162 的原因包括:
cannot awaken qdemon
One cause is full /var file system
Another cause is bad /etc/qconfig file
Bad file being printed was once seen. Cancel, stop and restart the qdaemon.
Also have seen with bad files in /var/spool/lpd/qdir.
One fixed simply by recyling qdaemon (stopsrc -s qdaemon, startsrc -s qdaemon)
Another time fixed by clearing queues and recyling qdaemon.
One had permission problems on /var/spool/lpd/stat.
One case the writesrv was not active
Qdaemon can't signal, qdaemon can't awaken
dummy stanza in /etc/qconfig: remove and this fixed the problem
Error occured with: 0781-162
Another: startsrc -g spooler and things were working

[@more@]

针对上述描述,我的解决办法:
检查AIX系统与打印相关的进程的状态
#lssrc -g spooler
上面的结果可以看出lpd,daemon,writesrv处于inoperative状态,没有工作,所以需要启动到active状态
#startsrc -s qdaemon
#startsrc -s writesrc
#startsrc -s lpd
问题解决

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/17254424/viewspace-1059072/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/17254424/viewspace-1059072/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值