I got some error when print

zqy zqy2000zqy at 163.com
Mon Sep 24 07:36:16 PDT 2007


> I use a HP 2300 printer,  and got the ppd file
>
> I added printer, enable it and run "lp /etc/inittab"
> I got these message in error log
>
> I [24/Sep/2007:21:33:39 +0000] Listening to 0:631
> I [24/Sep/2007:21:33:39 +0000] Loaded configuration file "/opt/cups/etc/cups/cupsd.conf"
> I [24/Sep/2007:21:33:39 +0000] Configured for up to 100 clients.
> I [24/Sep/2007:21:33:39 +0000] Allowing up to 100 client connections per host.
> I [24/Sep/2007:21:33:39 +0000] Full reload is required.
> I [24/Sep/2007:21:33:40 +0000] LoadPPDs: Wrote "/opt/cups/etc/cups/ppds.dat", 23 PPDs...
> I [24/Sep/2007:21:33:40 +0000] Full reload complete.
> E [24/Sep/2007:21:33:40 +0000] StartListening: Unable to find IP address for server name "00602b0342
> 32" - Unknown host
> I [24/Sep/2007:21:35:29 +0000] Setting 2300 device-uri to "usb:/dev/usb/lp0" (was "file:/dev/null".)
> I [24/Sep/2007:21:35:29 +0000] Saving printers.conf...
> I [24/Sep/2007:21:35:29 +0000] New printer '2300' added by 'root'.
> I [24/Sep/2007:21:35:29 +0000] Saving printers.conf...
> I [24/Sep/2007:21:35:29 +0000] Printer '2300' modified by 'root'.
> I [24/Sep/2007:21:35:51 +0000] Saving printers.conf...
> I [24/Sep/2007:21:35:51 +0000] Printer '2300' started by 'root'.
> I [24/Sep/2007:21:35:58 +0000] Saving printers.conf...
> I [24/Sep/2007:21:35:58 +0000] Printer '2300' now accepting jobs ('root').
> I [24/Sep/2007:21:36:08 +0000] Saving printers.conf...
> I [24/Sep/2007:21:36:08 +0000] Saving classes.conf...
> I [24/Sep/2007:21:36:08 +0000] Default destination set to '2300' by 'root'.
> I [24/Sep/2007:21:36:20 +0000] Adding start banner page "none" to job 1.
> I [24/Sep/2007:21:36:20 +0000] Adding end banner page "none" to job 1.
> I [24/Sep/2007:21:36:20 +0000] Job 1 queued on '2300' by 'root'.
> I [24/Sep/2007:21:36:20 +0000] Started filter /opt/cups/lib/cups/filter/texttops (PID 1308) for job
> 1.
> I [24/Sep/2007:21:36:20 +0000] Started filter /opt/cups/lib/cups/filter/pstops (PID 1309) for job 1.
> I [24/Sep/2007:21:36:20 +0000] Started filter /opt/cups/lib/cups/filter/foomatic-rip (PID 1310) for
> job 1.
> I [24/Sep/2007:21:36:20 +0000] Started backend /opt/cups/lib/cups/backend/usb (PID 1311) for job 1.
> E [24/Sep/2007:21:36:20 +0000] PID 1308 stopped with status 13!
> I [24/Sep/2007:21:36:20 +0000] Hint: Try setting the LogLevel to "debug" to find out more.
> E [24/Sep/2007:21:36:20 +0000] PID 1309 stopped with status 13!
> I [24/Sep/2007:21:36:20 +0000] Hint: Try setting the LogLevel to "debug" to find out more.
> E [24/Sep/2007:21:36:20 +0000] PID 1310 stopped with status 13!
> I [24/Sep/2007:21:36:20 +0000] Hint: Try setting the LogLevel to "debug" to find out more.
>
>
>
>
>
>
> And I set the LogLevel to "debug"
>
> the message like this
>
>
>  [24/Sep/2007:21:47:39 +0000] StartJob: argv = "2300","3","root","inittab","1","","/opt/cups/var/sp
> ool/cups/d00003-001"
> D [24/Sep/2007:21:47:39 +0000] StartJob: envp[0]="PATH=/opt/cups/lib/cups/filter:/bin:/usr/bin"
> D [24/Sep/2007:21:47:39 +0000] StartJob: envp[1]="SOFTWARE=CUPS/1.1"
> D [24/Sep/2007:21:47:39 +0000] StartJob: envp[2]="USER=root"
> D [24/Sep/2007:21:47:39 +0000] StartJob: envp[3]="CHARSET=iso-8859-1"
> D [24/Sep/2007:21:47:39 +0000] StartJob: envp[4]="LANG=en"
> D [24/Sep/2007:21:47:39 +0000] StartJob: envp[5]="PPD=/opt/cups/etc/cups/ppd/2300.ppd"
> D [24/Sep/2007:21:47:39 +0000] StartJob: envp[6]="CUPS_SERVERROOT=/opt/cups/etc/cups"
> D [24/Sep/2007:21:47:39 +0000] StartJob: envp[7]="RIP_MAX_CACHE=8m"
> D [24/Sep/2007:21:47:39 +0000] StartJob: envp[8]="TMPDIR=/opt/cups/var/spool/cups/tmp"
> D [24/Sep/2007:21:47:39 +0000] StartJob: envp[9]="CONTENT_TYPE=text/plain"
> D [24/Sep/2007:21:47:39 +0000] StartJob: envp[10]="DEVICE_URI=usb:/dev/usb/lp0"
> D [24/Sep/2007:21:47:39 +0000] StartJob: envp[11]="PRINTER=2300"
> D [24/Sep/2007:21:47:39 +0000] StartJob: envp[12]="CUPS_DATADIR=/opt/cups/share/cups"
> D [24/Sep/2007:21:47:39 +0000] StartJob: envp[13]="CUPS_FONTPATH=/opt/cups/share/cups/fonts"
> D [24/Sep/2007:21:47:39 +0000] StartJob: envp[14]="CUPS_SERVER=localhost"
> D [24/Sep/2007:21:47:39 +0000] StartJob: envp[15]="IPP_PORT=631"
> D [24/Sep/2007:21:47:39 +0000] StartJob: envp[16]="LD_LIBRARY_PATH=/opt/cups/lib/:"
> D [24/Sep/2007:21:47:39 +0000] StartJob: statusfds = [ 7 8 ]
> D [24/Sep/2007:21:47:39 +0000] StartJob: filterfds[1] = [ 9 -1 ]
> D [24/Sep/2007:21:47:39 +0000] StartJob: filter = "/opt/cups/lib/cups/filter/texttops"
> D [24/Sep/2007:21:47:39 +0000] StartJob: filterfds[0] = [ 10 11 ]
> D [24/Sep/2007:21:47:39 +0000] start_process("/opt/cups/lib/cups/filter/texttops", 0xbefeec94, 0xbef
> ee004, 9, 11, 8)
> I [24/Sep/2007:21:47:39 +0000] Started filter /opt/cups/lib/cups/filter/texttops (PID 4701) for job
> 3.
> D [24/Sep/2007:21:47:39 +0000] StartJob: filter = "/opt/cups/lib/cups/filter/pstops"
> D [24/Sep/2007:21:47:39 +0000] StartJob: filterfds[1] = [ 9 12 ]
> D [24/Sep/2007:21:47:39 +0000] start_process("/opt/cups/lib/cups/filter/pstops", 0xbefeec94, 0xbefee
> 004, 10, 12, 8)
> I [24/Sep/2007:21:47:39 +0000] Started filter /opt/cups/lib/cups/filter/pstops (PID 4702) for job 3.
> D [24/Sep/2007:21:47:39 +0000] StartJob: filter = "/opt/cups/lib/cups/filter/foomatic-rip"
> D [24/Sep/2007:21:47:39 +0000] StartJob: filterfds[0] = [ 10 11 ]
> D [24/Sep/2007:21:47:39 +0000] start_process("/opt/cups/lib/cups/filter/foomatic-rip", 0xbefeec94, 0
> xbefee004, 9, 11, 8)
> I [24/Sep/2007:21:47:39 +0000] Started filter /opt/cups/lib/cups/filter/foomatic-rip (PID 4703) for
> job 3.
> D [24/Sep/2007:21:47:39 +0000] StartJob: backend = "/opt/cups/lib/cups/backend/usb"
> D [24/Sep/2007:21:47:39 +0000] StartJob: filterfds[1] = [ -1 9 ]
> D [24/Sep/2007:21:47:39 +0000] start_process("/opt/cups/lib/cups/backend/usb", 0xbefeec94, 0xbefee00
> 4, 10, 9, 8)
> I [24/Sep/2007:21:47:39 +0000] Started backend /opt/cups/lib/cups/backend/usb (PID 4704) for job 3.
> D [24/Sep/2007:21:47:39 +0000] ProcessIPPRequest: 5 status_code=0
> E [24/Sep/2007:21:47:39 +0000] PID 4702 stopped with status 13!
> D [24/Sep/2007:21:47:39 +0000] [Job 3] /opt/cups/lib/cups/filter/pstops: Permission denied
> D [24/Sep/2007:21:47:39 +0000] CloseClient: 5
> D [24/Sep/2007:21:47:39 +0000] [Job 3] /opt/cups/lib/cups/filter/texttops: Permission denied
> D [24/Sep/2007:21:47:39 +0000] [Job 3] /opt/cups/lib/cups/filter/foomatic-rip: Permission denied
> E [24/Sep/2007:21:47:39 +0000] PID 4701 stopped with status 13!
> E [24/Sep/2007:21:47:39 +0000] PID 4703 stopped with status 13!
> D [24/Sep/2007:21:47:39 +0000] [Job 3] LPGETSTATUS returned a port status of 18...
> D [24/Sep/2007:21:47:39 +0000] UpdateJob: job 3, file 0 is complete.
> D [24/Sep/2007:21:47:39 +0000] CancelJob: id = 3
> D [24/Sep/2007:21:47:39 +0000] StopJob: id = 3, force = 0
> D [24/Sep/2007:21:47:39 +0000] StopJob: printer state is 3
> /opt/cups/lib/cups/filter #



PS: all the files have been chmod 777 ...




More information about the cups-devel mailing list