- 论坛徽章:
- 0
|
俺将RH9.0的cups的rpm包卸载,然后下载cups1.2的源码包,编译,安装都很顺利!但是打印不出东西!
我将cupsd.conf的LogLevel设为debug,重起cups,其详细日志文件如下(/var/log/cups/error_log):
[root@priserver cups]# /etc/rc.d/init.d/cups restart
cups: restarted scheduler. [确定]
[root@priserver cups]# more error_log
I [14/Aug/2006:17:16:02 +0800] Listening to :631 (IPv4)
I [14/Aug/2006:17:16:02 +0800] Listening to (Domain)
D [14/Aug/2006:17:16:02 +0800] cupsdAddLocation: added location 'CUPS_INTERNAL_BROWSE_ACL'
D [14/Aug/2006:17:16:02 +0800] cupsdAddLocation: added location '/'
D [14/Aug/2006:17:16:02 +0800] cupsdAddLocation: added location '/admin'
D [14/Aug/2006:17:16:02 +0800] cupsdAddLocation: added location '/admin/conf'
I [14/Aug/2006:17:16:02 +0800] Loaded configuration file "/etc/cups/cupsd.conf"
I [14/Aug/2006:17:16:02 +0800] Cleaning out old temporary files in "/var/spool/cups/tmp"...
D [14/Aug/2006:17:16:02 +0800] cupsdSetEnv: CUPS_CACHEDIR=/var/cache/cups
D [14/Aug/2006:17:16:02 +0800] cupsdSetEnv: CUPS_DATADIR=/usr/share/cups
D [14/Aug/2006:17:16:02 +0800] cupsdSetEnv: CUPS_DOCROOT=/usr/share/doc/cups
D [14/Aug/2006:17:16:02 +0800] cupsdSetEnv: CUPS_FONTPATH=/usr/share/cups/fonts
D [14/Aug/2006:17:16:02 +0800] cupsdSetEnv: CUPS_REQUESTROOT=/var/spool/cups
D [14/Aug/2006:17:16:02 +0800] cupsdSetEnv: CUPS_SERVERBIN=/usr/lib/cups
D [14/Aug/2006:17:16:02 +0800] cupsdSetEnv: CUPS_SERVERROOT=/etc/cups
D [14/Aug/2006:17:16:02 +0800] cupsdSetEnv: CUPS_STATEDIR=/var/run/cups
D [14/Aug/2006:17:16:02 +0800] cupsdSetEnv: PATH=/usr/lib/cups/filter:/bin:/usr/bin
D [14/Aug/2006:17:16:02 +0800] cupsdSetEnv: SOFTWARE=CUPS/1.2svn
D [14/Aug/2006:17:16:02 +0800] cupsdSetEnv: TMPDIR=/var/spool/cups/tmp
D [14/Aug/2006:17:16:02 +0800] cupsdSetEnv: USER=root
I [14/Aug/2006:17:16:02 +0800] Configured for up to 100 clients.
I [14/Aug/2006:17:16:02 +0800] Allowing up to 100 client connections per host.
I [14/Aug/2006:17:16:02 +0800] Using policy "default" as the default!
D [14/Aug/2006:17:16:02 +0800] NumPolicies=1
D [14/Aug/2006:17:16:02 +0800] Policies[0]="default"
I [14/Aug/2006:17:16:02 +0800] Full reload is required.
I [14/Aug/2006:17:16:02 +0800] Loaded MIME database from '/etc/cups': 32 types, 37 filters...
D [14/Aug/2006:17:16:02 +0800] cupsdLoadAllPrinters: Loading printer printer0...
D [14/Aug/2006:17:16:02 +0800] cupsdLoadAllJobs: Scanning /var/spool/cups...
E [14/Aug/2006:17:16:02 +0800] LoadAllSubscriptions: Unable to open /etc/cups/subscriptions.conf -
没那个文件或目录
I [14/Aug/2006:17:16:02 +0800] Full reload complete.
D [14/Aug/2006:17:16:02 +0800] cupsdStartListening: NumListeners=2
I [14/Aug/2006:17:16:02 +0800] cupsdStartListening: Listening to 127.0.0.1:631 on fd 0...
I [14/Aug/2006:17:16:02 +0800] cupsdStartListening: Listening to /var/run/cups/cups.sock on fd 2...
D [14/Aug/2006:17:16:02 +0800] cupsdSetEnv: CUPS_SERVER=/var/run/cups/cups.sock
D [14/Aug/2006:17:16:02 +0800] cupsdSetEnv: CUPS_ENCRYPTION=IfRequested
D [14/Aug/2006:17:16:02 +0800] cupsdSetEnv: IPP_PORT=631
D [14/Aug/2006:17:16:02 +0800] cupsdResumeListening: Setting input bits...
D [14/Aug/2006:17:16:05 +0800] cupsdAcceptClient: 6 from localhost:631 (IPv4)
D [14/Aug/2006:17:16:05 +0800] cupsdReadClient: 6 POST / HTTP/1.1
D [14/Aug/2006:17:16:05 +0800] cupsdAuthorize: No authentication data provided.
D [14/Aug/2006:17:16:05 +0800] cupsdProcessIPPRequest: 6 status_code=1 (successful-ok-ignored-or-sub
stituted-attributes)
D [14/Aug/2006:17:16:05 +0800] cupsdCloseClient: 6
D [14/Aug/2006:17:16:10 +0800] cupsdAcceptClient: 6 from localhost:631 (IPv4)
D [14/Aug/2006:17:16:10 +0800] cupsdReadClient: 6 POST / HTTP/1.1
D [14/Aug/2006:17:16:10 +0800] cupsdAuthorize: No authentication data provided.
D [14/Aug/2006:17:16:10 +0800] cupsdProcessIPPRequest: 6 status_code=1 (successful-ok-ignored-or-sub
stituted-attributes)
D [14/Aug/2006:17:16:10 +0800] cupsdCloseClient: 6
注:
subscriptions.conf 是由cupsd启动而产生的
添加打印任务时,在/var/spool/cups中有相应的控制文件、数据文件。
10万港币不是那么容易拿的!! |
|