"Richard Fish" <[EMAIL PROTECTED]> writes:
> On 9/15/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>> ls -l /usr/libexec/cups/backend/smb
>> lrwxrwxrwx [...] /usr/libexec/cups/backend/smb -> /usr/bin/smbspool
>
> Ok. Are you specifying a ServerBin directory in /etc/cups/cupsd.conf?
> It should point to /usr/libexec/cups if you are.
No. That stuff is commented out.
grep 'ServerBin' /etc/cups/cupsd.conf
# ServerBin: the root directory for the scheduler executables.
#ServerBin /usr/lib/cups
So that should default to the right place right?
>
> Also, I hope you fixed the bug in the script that I posted....the call
> to /usr/bin/smbspool should of course be for smbspool.bin. :-(
Egad, no I missed that.
contents of smb* files below. There were two. I've printed the first
one below. The second one is identicle except for the first line
which is shown in a diff at the end.
But it appears the main thing of note is this line:
cli_start_connection: failed to connect to CUPS<20> (0.0.0.0)
Which appears to show that cups is trying to connect 0.0.0.0 which is
usally interpreted as localhost I think. Is that wrong or indicating
some config problem further up the chain of command?
/tmp/smb.32258
/usr/libexec/cups/backend/smb:45:reader:file:1:job-uuid=urn:uuid:\
662a44c4-890f-32b0-7d15-3bb4b60e7fe1::
IPP_PORT=631
TMPDIR=/var/spool/cups/tmp
CUPS_FONTPATH=/usr/share/cups/fonts
CUPS_DOCROOT=/usr/share/cups/docs
USER=root
CUPS_SERVERROOT=/etc/cups
SOFTWARE=CUPS/1.2.3
CUPS_CACHEDIR=/var/cache/cups
DEVICE_URI=smb://reader:[EMAIL PROTECTED]/chub-print)
PATH=/usr/libexec/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin
CUPS_REQUESTROOT=/var/spool/cups
PWD=/
[EMAIL PROTECTED]
PPD=/etc/cups/ppd/chub-print.ppd
LANG=en_US
CUPS_ENCRYPTION=IfRequested
SHLVL=1
CUPS_DATADIR=/usr/share/cups
PRINTER=chub-print
FINAL_CONTENT_TYPE=printer/chub-print
RIP_MAX_CACHE=8m
CONTENT_TYPE=text/plain
CUPS_SERVER=localhost
CHARSET=utf-8
CUPS_STATEDIR=/var/run/cups
CUPS_SERVERBIN=/usr/libexec/cups
_=/usr/bin/env
WARNING: The "printer admin" option is deprecated
added interface ip=192.168.0.4 bcast=192.168.0.255 nmask=255.255.255.0
cli_start_connection: failed to connect to CUPS<20> (0.0.0.0)
cli_start_connection: failed to connect to CUPS<20> (0.0.0.0)
cli_start_connection: failed to connect to CUPS<20> (0.0.0.0)
cli_start_connection: failed to connect to CUPS<20> (0.0.0.0)
cli_start_connection: failed to connect to CUPS<20> (0.0.0.0)
cli_start_connection: failed to connect to CUPS<20> (0.0.0.0)
cli_start_connection: failed to connect to CUPS<20> (0.0.0.0)
cli_start_connection: failed to connect to CUPS<20> (0.0.0.0)
cli_start_connection: failed to connect to CUPS<20> (0.0.0.0)
============================================================
# diff smbspool.32258 smbspool.32277
1c1
<
/usr/libexec/cups/backend/smb:45:reader:file:1:job-uuid=urn:uuid:662a44c4-890f-32b0-7d15-3bb4b60e7fe1::
> /usr/libexec/cups/backend/smb:46:reader:file:1:job-uuid=urn:uuid:a13fa658-6d11-3e1b-5ab2-ce62f968dc26::
--
[email protected] mailing list