1 |
"Richard Fish" <bigfish@××××××××××.org> writes: |
2 |
|
3 |
> On 9/15/06, reader@×××××××.com <reader@×××××××.com> wrote: |
4 |
>> DEVICE_URI=smb://reader:XXXXXXX@chub/chub-print) |
5 |
> |
6 |
> And *now* see the problem. |
7 |
> |
8 |
> There should absolutely positively *not* be a ')' at the end of this |
9 |
> line. You need to fix printers.conf to remove this. Sigh...so much |
10 |
> work for such a silly little problem. |
11 |
|
12 |
Richard, I'm sorry it seems I've really wasted lots of your time here. |
13 |
However I don't think this is the only problem. I really hope there |
14 |
is not some other moronic user miconfig... |
15 |
|
16 |
It's really a kick in the pants that my very first post on this thread |
17 |
Showed that stupid typo... I never would have seen it I guess, if you |
18 |
had not. But it was there in my very first post... looking back it |
19 |
appears glaringly right their in my posted `printers.conf'. |
20 |
|
21 |
It seems bad to me that something in cups error output did not point |
22 |
to that misconstrued URL. In fact, going further... I see literally |
23 |
thousands of lines appear in error_log (in debug mode) that are not |
24 |
error lines at all. Then the actual error lines are nearly useless |
25 |
in tracking down a problem. |
26 |
|
27 |
I'm still unable to print (EVEN WITH THAT CURSED URL FIXED). |
28 |
|
29 |
It may be too much to expect you to still hang in there with this |
30 |
problem so please tell me you've had enough if that is the case. |
31 |
|
32 |
If you are still willing... (and I cannot guarantee there is not some |
33 |
other horribly stupid user error) what can I post that will help diagnose |
34 |
this inability to print? |
35 |
|
36 |
I've posted below error_log excerpt, /tmp file content. |
37 |
smbclient connection to chub-print (at the very end) |
38 |
|
39 |
Why doesn't cups debug output give us some better diagnostic |
40 |
information? |
41 |
|
42 |
Can you see some other really stupid typo or something else in this |
43 |
output? |
44 |
|
45 |
Actual error lines from /var/log/cups/error_log: |
46 |
[... skipped Four more of these Connect messages above] |
47 |
|
48 |
E [16/Sep/2006:20:48:26 -0500] [Job 51] Unable to connect to CIFS |
49 |
host, will retry in 60 seconds... |
50 |
|
51 |
E [16/Sep/2006:20:49:26 -0500] [Job 51] Unable to connect to CIFS host |
52 |
after (tried 3 times) |
53 |
|
54 |
E [16/Sep/2006:20:49:26 -0500] PID 10109 |
55 |
(/usr/libexec/cups/backend/smb) stopped with status 1! |
56 |
|
57 |
E [16/Sep/2006:20:49:27 -0500] PID 10108 |
58 |
(/usr/libexec/cups/filter/foomatic-rip) stopped with status 9! |
59 |
|
60 |
|
61 |
After this attempt chub-print gets turned off as revealed by lpq: |
62 |
# lpq |
63 |
chub-print is not ready |
64 |
Rank Owner Job File(s) Total Size |
65 |
1st reader 51 file 2048 bytes |
66 |
|
67 |
Turning printer off on error is not in my printers.conf (remvoed by |
68 |
me) |
69 |
|
70 |
The /tmp file from this print attempt: |
71 |
|
72 |
/usr/libexec/cups/backend/smb:50:reader:file:1:job-uuid=urn:uuid:e3a19e12-d965-3164-57e1-f3f92cea54ec:: |
73 |
IPP_PORT=631 |
74 |
TMPDIR=/var/spool/cups/tmp |
75 |
CUPS_FONTPATH=/usr/share/cups/fonts |
76 |
CUPS_DOCROOT=/usr/share/cups/docs |
77 |
USER=root |
78 |
CUPS_SERVERROOT=/etc/cups |
79 |
SOFTWARE=CUPS/1.2.3 |
80 |
CUPS_CACHEDIR=/var/cache/cups |
81 |
DEVICE_URI=smb://reader:XXXXXX@chub/chub-print |
82 |
PATH=/usr/libexec/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin |
83 |
CUPS_REQUESTROOT=/var/spool/cups |
84 |
PWD=/ |
85 |
SERVER_ADMIN=root@××××××××××××.lan |
86 |
PPD=/etc/cups/ppd/chub-print.ppd |
87 |
LANG=en_US |
88 |
CUPS_ENCRYPTION=IfRequested |
89 |
SHLVL=1 |
90 |
CUPS_DATADIR=/usr/share/cups |
91 |
PRINTER=chub-print |
92 |
FINAL_CONTENT_TYPE=printer/chub-print |
93 |
RIP_MAX_CACHE=8m |
94 |
CONTENT_TYPE=text/plain |
95 |
CUPS_SERVER=localhost |
96 |
CHARSET=utf-8 |
97 |
CUPS_STATEDIR=/var/run/cups |
98 |
CUPS_SERVERBIN=/usr/libexec/cups |
99 |
_=/usr/bin/env |
100 |
WARNING: The "printer admin" option is deprecated |
101 |
added interface ip=192.168.0.4 bcast=192.168.0.255 nmask=255.255.255.0 |
102 |
cli_start_connection: failed to connect to CUPS<20> (0.0.0.0) |
103 |
cli_start_connection: failed to connect to CUPS<20> (0.0.0.0) |
104 |
[... snipped 7 more identicle lines] |
105 |
|
106 |
Note that smbclient can connect as user reader to chub-print with no |
107 |
problem. |
108 |
smbclient //chub/chub-print -Ureader |
109 |
WARNING: The "printer admin" option is deprecated |
110 |
Password: XXXXXX <enter> |
111 |
Domain=[CHUB] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager] |
112 |
smb: \> |
113 |
|
114 |
-- |
115 |
gentoo-user@g.o mailing list |