pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Problem with CUPS



Hi,


Can't print anything on CUPS. There is an error popped up with debug2 defined
on cupsd.conf:

...
d [25/Mar/2007:20:16:20 -0400] cupsdAuthorize: con->uri="/", 
con->best=0x80b7740(/)
d [25/Mar/2007:20:16:20 -0400] cupsdAuthorize: Authorization=""
D [25/Mar/2007:20:16:20 -0400] cupsdAuthorize: No authentication data provided.
d [25/Mar/2007:20:16:20 -0400] cupsdIsAuthorized: con->uri="/", 
con->best=0x80b7740(/)
d [25/Mar/2007:20:16:20 -0400] cupsdIsAuthorized: level=AUTH_ANON, 
type=AUTH_NONE, satisfy=AUTH_SATISFY_ALL, num_names=0
d [25/Mar/2007:20:16:20 -0400] cupsdIsAuthorized: auth=AUTH_ALLOW...
d [25/Mar/2007:20:16:20 -0400] POST /
d [25/Mar/2007:20:16:20 -0400] CONTENT_TYPE = application/ipp
d [25/Mar/2007:20:16:20 -0400] cupsdReadClient: 7 
con->data_encoding=HTTP_ENCODE_LENGTH, con->data_remaining=351, con->file=-1
d [25/Mar/2007:20:16:20 -0400] cupsdProcessIPPRequest(0x80f7000[7]): 
operation_id = 4002
D [25/Mar/2007:20:16:20 -0400] CUPS-Get-Printers
d [25/Mar/2007:20:16:20 -0400] get_printers(0x80f7000[7], 0)
d [25/Mar/2007:20:16:20 -0400] cupsdFindPolicyOp(p=0x80b48c0, 
op=4002(CUPS-Get-Printers))
d [25/Mar/2007:20:16:20 -0400] cupsdFindPolicyOp: Found wildcard match...
d [25/Mar/2007:20:16:20 -0400] cupsdIsAuthorized: con->uri="/", 
con->best=0x80c1280((null))
d [25/Mar/2007:20:16:20 -0400] cupsdIsAuthorized: level=AUTH_ANON, 
type=AUTH_NONE, satisfy=AUTH_SATISFY_ALL, num_names=0
d [25/Mar/2007:20:16:20 -0400] cupsdIsAuthorized: op=0(unknown-0000)
d [25/Mar/2007:20:16:20 -0400] cupsdIsAuthorized: auth=AUTH_ALLOW...
d [25/Mar/2007:20:16:20 -0400] add_printer_state_reasons(0x80f7000[7], 
0x80ce000[Hogar])
d [25/Mar/2007:20:16:20 -0400] copy_attrs(to=0x80f5280, from=0x80eefc0, 
ra=0x80e5a00, group=0, quickcopy=0)
d [25/Mar/2007:20:16:20 -0400] copy_attribute(0x80f5280, 
0x80f1520[printer-name,4,42])
d [25/Mar/2007:20:16:20 -0400] copy_attribute(0x80f5280, 
0x80f1560[printer-info,4,41])
d [25/Mar/2007:20:16:20 -0400] copy_attribute(0x80f5280, 
0x80fe080[job-sheets-default,4,42])
d [25/Mar/2007:20:16:20 -0400] copy_attribute(0x80f5280, 
0x80f1620[printer-make-and-model,4,41])
d [25/Mar/2007:20:16:20 -0400] copy_attrs(to=0x80f5280, from=0x80c18c0, 
ra=0x80e5a00, group=0, quickcopy=-2147483648)
d [25/Mar/2007:20:16:20 -0400] add_printer_state_reasons(0x80f7000[7], 
0x809b800[HP_DeskJet_656c])
d [25/Mar/2007:20:16:20 -0400] copy_attrs(to=0x80f5280, from=0x80c1bc0, 
ra=0x80e5a00, group=0, quickcopy=0)
d [25/Mar/2007:20:16:20 -0400] copy_attribute(0x80f5280, 
0x80bb820[printer-name,4,42])
d [25/Mar/2007:20:16:20 -0400] copy_attribute(0x80f5280, 
0x80bb880[printer-info,4,41])
d [25/Mar/2007:20:16:20 -0400] copy_attribute(0x80f5280, 
0x80c1c40[job-sheets-default,4,42])
d [25/Mar/2007:20:16:20 -0400] copy_attribute(0x80f5280, 
0x80f1820[printer-make-and-model,4,41])
d [25/Mar/2007:20:16:20 -0400] copy_attrs(to=0x80f5280, from=0x80c18c0, 
ra=0x80e5a00, group=0, quickcopy=-2147483648)
D [25/Mar/2007:20:16:20 -0400] cupsdProcessIPPRequest: 7 status_code=0 
(successful-ok)
d [25/Mar/2007:20:16:20 -0400] cupsdProcessIPPRequest: Adding fd 7 to 
OutputSet...
d [25/Mar/2007:20:16:20 -0400] cupsdWriteClient: 7 bytes < 0
d [25/Mar/2007:20:16:20 -0400] cupsdWriteClient: Removing fd 7 from OutputSet...
d [25/Mar/2007:20:16:20 -0400] cupsdReadClient: 7, used=0, file=-1 state=0
D [25/Mar/2007:20:16:20 -0400] cupsdReadClient: 7 POST / HTTP/1.1
d [25/Mar/2007:20:16:20 -0400] cupsdFindBest: uri = "/"...
d [25/Mar/2007:20:16:20 -0400] cupsdFindBest: Location CUPS_INTERNAL_BROWSE_ACL 
Limit 0
d [25/Mar/2007:20:16:20 -0400] cupsdFindBest: Location /admin/conf Limit 7f
d [25/Mar/2007:20:16:20 -0400] cupsdFindBest: Location /admin Limit 7f
d [25/Mar/2007:20:16:20 -0400] cupsdFindBest: Location / Limit 7f
d [25/Mar/2007:20:16:20 -0400] cupsdFindBest: best = /
d [25/Mar/2007:20:16:20 -0400] cupsdAuthorize: con->uri="/", 
con->best=0x80b7740(/)
d [25/Mar/2007:20:16:20 -0400] cupsdAuthorize: Authorization=""
D [25/Mar/2007:20:16:20 -0400] cupsdAuthorize: No authentication data provided.

...

D [25/Mar/2007:20:16:52 -0400] [Job 1225] renderer command: gs -q -dBATCH 
-dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs 
-sDeviceManufacturer="HEWLETT-
PACKARD" -sDeviceModel="DESKJET 656" -dDEVICEWIDTHPOINTS=612 
-dDEVICEHEIGHTPOINTS=792 -r300 
-sIjsParams=Quality:Quality=0,Quality:ColorMode=0,Quality:MediaType=0,Quality
:PenSet=0 -dIjsUseOutputFD -sOutputFile=- -
D [25/Mar/2007:20:16:52 -0400] [Job 1225] perl: warning: Setting locale failed.
D [25/Mar/2007:20:16:52 -0400] [Job 1225] perl: warning: Please check that your 
locale settings:
D [25/Mar/2007:20:16:52 -0400] [Job 1225] LC_ALL = (unset),
D [25/Mar/2007:20:16:52 -0400] [Job 1225] LANG = "es_ES"
D [25/Mar/2007:20:16:52 -0400] [Job 1225] are supported and installed on your 
system.
D [25/Mar/2007:20:16:52 -0400] [Job 1225] perl: warning: Falling back to the 
standard locale ("C").
D [25/Mar/2007:20:16:52 -0400] [Job 1225] foomatic-gswrapper: gs '-dBATCH' 
'-dPARANOIDSAFER' '-dQUIET' '-dNOPAUSE' '-sDEVICE=ijs' '-sIjsServer=hpijs' 
'-sDeviceManufactur
er=HEWLETT-PACKARD' '-sDeviceModel=DESKJET 656' '-dDEVICEWIDTHPOINTS=612' 
'-dDEVICEHEIGHTPOINTS=792' '-r300' 
'-sIjsParams=Quality:Quality=0,Quality:ColorMode=0,Quality:M
ediaType=0,Quality:PenSet=0' '-dIjsUseOutputFD' '-sOutputFile=/dev/fd/3' 
'/dev/fd/0' 3>&1 1>&2
D [25/Mar/2007:20:16:53 -0400] [Job 1225]
D [25/Mar/2007:20:16:53 -0400] [Job 1225] Closing renderer
d [25/Mar/2007:20:16:54 -0400] select_timeout: 11 seconds to process active jobs
d [25/Mar/2007:20:17:05 -0400] cupsdCheckJobs: 1 active jobs, sleeping=0, 
reload=0
d [25/Mar/2007:20:17:05 -0400] cupsdCheckJobs: Job 1225: state_value=5, 
loaded=yes
d [25/Mar/2007:20:17:05 -0400] select_timeout: 5 seconds to send browse update
d [25/Mar/2007:20:17:10 -0400] stringpool: 406 strings, 7880 allocated, 8304 
total bytes
d [25/Mar/2007:20:17:10 -0400] select_timeout: 11 seconds to process active jobs
d [25/Mar/2007:20:17:21 -0400] cupsdCheckJobs: 1 active jobs, sleeping=0, 
reload=0
d [25/Mar/2007:20:17:21 -0400] cupsdCheckJobs: Job 1225: state_value=5, 
loaded=yes
d [25/Mar/2007:20:17:21 -0400] select_timeout: 3 seconds to send browse update
d [25/Mar/2007:20:17:24 -0400] select_timeout: 11 seconds to process active jobs
d [25/Mar/2007:20:17:35 -0400] cupsdCheckJobs: 1 active jobs, sleeping=0, 
reload=0
d [25/Mar/2007:20:17:35 -0400] cupsdCheckJobs: Job 1225: state_value=5, 
loaded=yes
d [25/Mar/2007:20:17:35 -0400] select_timeout: 6 seconds to send browse update
d [25/Mar/2007:20:17:41 -0400] select_timeout: 11 seconds to process active jobs
d [25/Mar/2007:20:17:52 -0400] cupsdCheckJobs: 1 active jobs, sleeping=0, 
reload=0
d [25/Mar/2007:20:17:52 -0400] cupsdCheckJobs: Job 1225: state_value=5, 
loaded=yes
d [25/Mar/2007:20:17:52 -0400] select_timeout: 3 seconds to send browse update
d [25/Mar/2007:20:17:55 -0400] select_timeout: 11 seconds to process active jobs
d [25/Mar/2007:20:18:06 -0400] cupsdCheckJobs: 1 active jobs, sleeping=0, 
reload=0
d [25/Mar/2007:20:18:06 -0400] cupsdCheckJobs: Job 1225: state_value=5, 
loaded=yes
d [25/Mar/2007:20:18:06 -0400] select_timeout: 6 seconds to send browse update
d [25/Mar/2007:20:18:12 -0400] stringpool: 406 strings, 7880 allocated, 8304 
total bytes
d [25/Mar/2007:20:18:12 -0400] select_timeout: 11 seconds to process active jobs


any suggestions? Ghostscript alone and even raw lptest > /dev/ulpt0 works.


Thanks.
--
César Catrián Carreño

Attachment: pgpdmQlvpsNyv.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index