1 |
"Richard Fish" <bigfish@××××××××××.org> writes: |
2 |
|
3 |
> On 9/15/06, reader@×××××××.com <reader@×××××××.com> wrote: |
4 |
>> ls -l /usr/libexec/cups/backend/smb |
5 |
>> lrwxrwxrwx [...] /usr/libexec/cups/backend/smb -> /usr/bin/smbspool |
6 |
> |
7 |
> Ok. Are you specifying a ServerBin directory in /etc/cups/cupsd.conf? |
8 |
> It should point to /usr/libexec/cups if you are. |
9 |
|
10 |
No. That stuff is commented out. |
11 |
grep 'ServerBin' /etc/cups/cupsd.conf |
12 |
# ServerBin: the root directory for the scheduler executables. |
13 |
#ServerBin /usr/lib/cups |
14 |
So that should default to the right place right? |
15 |
|
16 |
> |
17 |
> Also, I hope you fixed the bug in the script that I posted....the call |
18 |
> to /usr/bin/smbspool should of course be for smbspool.bin. :-( |
19 |
|
20 |
Egad, no I missed that. |
21 |
|
22 |
contents of smb* files below. There were two. I've printed the first |
23 |
one below. The second one is identicle except for the first line |
24 |
which is shown in a diff at the end. |
25 |
|
26 |
But it appears the main thing of note is this line: |
27 |
cli_start_connection: failed to connect to CUPS<20> (0.0.0.0) |
28 |
Which appears to show that cups is trying to connect 0.0.0.0 which is |
29 |
usally interpreted as localhost I think. Is that wrong or indicating |
30 |
some config problem further up the chain of command? |
31 |
|
32 |
/tmp/smb.32258 |
33 |
|
34 |
/usr/libexec/cups/backend/smb:45:reader:file:1:job-uuid=urn:uuid:\ |
35 |
662a44c4-890f-32b0-7d15-3bb4b60e7fe1:: |
36 |
IPP_PORT=631 |
37 |
TMPDIR=/var/spool/cups/tmp |
38 |
CUPS_FONTPATH=/usr/share/cups/fonts |
39 |
CUPS_DOCROOT=/usr/share/cups/docs |
40 |
USER=root |
41 |
CUPS_SERVERROOT=/etc/cups |
42 |
SOFTWARE=CUPS/1.2.3 |
43 |
CUPS_CACHEDIR=/var/cache/cups |
44 |
DEVICE_URI=smb://reader:XXXXXXX@chub/chub-print) |
45 |
PATH=/usr/libexec/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin |
46 |
CUPS_REQUESTROOT=/var/spool/cups |
47 |
PWD=/ |
48 |
SERVER_ADMIN=root@××××××××××××.lan |
49 |
PPD=/etc/cups/ppd/chub-print.ppd |
50 |
LANG=en_US |
51 |
CUPS_ENCRYPTION=IfRequested |
52 |
SHLVL=1 |
53 |
CUPS_DATADIR=/usr/share/cups |
54 |
PRINTER=chub-print |
55 |
FINAL_CONTENT_TYPE=printer/chub-print |
56 |
RIP_MAX_CACHE=8m |
57 |
CONTENT_TYPE=text/plain |
58 |
CUPS_SERVER=localhost |
59 |
CHARSET=utf-8 |
60 |
CUPS_STATEDIR=/var/run/cups |
61 |
CUPS_SERVERBIN=/usr/libexec/cups |
62 |
_=/usr/bin/env |
63 |
WARNING: The "printer admin" option is deprecated |
64 |
added interface ip=192.168.0.4 bcast=192.168.0.255 nmask=255.255.255.0 |
65 |
cli_start_connection: failed to connect to CUPS<20> (0.0.0.0) |
66 |
cli_start_connection: failed to connect to CUPS<20> (0.0.0.0) |
67 |
cli_start_connection: failed to connect to CUPS<20> (0.0.0.0) |
68 |
cli_start_connection: failed to connect to CUPS<20> (0.0.0.0) |
69 |
cli_start_connection: failed to connect to CUPS<20> (0.0.0.0) |
70 |
cli_start_connection: failed to connect to CUPS<20> (0.0.0.0) |
71 |
cli_start_connection: failed to connect to CUPS<20> (0.0.0.0) |
72 |
cli_start_connection: failed to connect to CUPS<20> (0.0.0.0) |
73 |
cli_start_connection: failed to connect to CUPS<20> (0.0.0.0) |
74 |
|
75 |
============================================================ |
76 |
# diff smbspool.32258 smbspool.32277 |
77 |
1c1 |
78 |
< /usr/libexec/cups/backend/smb:45:reader:file:1:job-uuid=urn:uuid:662a44c4-890f-32b0-7d15-3bb4b60e7fe1:: |
79 |
|
80 |
> /usr/libexec/cups/backend/smb:46:reader:file:1:job-uuid=urn:uuid:a13fa658-6d11-3e1b-5ab2-ce62f968dc26:: |
81 |
|
82 |
-- |
83 |
gentoo-user@g.o mailing list |