CUPS 1.3.5: 'connection refused' when trying to print from the command line...

Evan Bradley ebradley at williams-int.com
Fri Jan 11 08:44:52 PST 2008


Hello,

I am testing the 1.3.5 version of CUPS on a Sun Blade 1000 loaded with Solaris 10.  CUPS is installed in /opt/cups/1.3.5 and GPL Ghostscript 8.6.1 is installed in /opt/ghostscript/8.6.1

I've copied the etc/cupsd.conf, etc/ppd and share/model files from our production CUPS installation into their respective places in the /opt/cups/1.3.5 tree; as well as the pstoraster.convs file from the Ghostscript 8.6.1 installation into /opt/cups/1.3.5/etc as well.


The web interface works just fine, in that I can connect to it, add printers, and print test pages.  The problem occurs when I attempt to use the lp or lpstat commands found in /opt/cups/1.3.5/bin from the command line:

[code]
[496-root at unixbuild-/opt/cups/1.3.5/bin] ps -aef | grep cups
    root 24913     1   0 10:55:53 ?           0:02 /opt/cups/1.3.5/sbin/cupsd

[497-root at unixbuild-/opt/cups/1.3.5/bin] ./lpstat -a
./lpstat: Unable to connect to server

[513-root at unixbuild-/opt/cups/1.3.5/bin] ./lp -d misq2 /u/eb1850/Documents/Misc/konstruct-error.txt
./lp: Connection refused
[/code]

The log level is set to 'debug', but none of the logs have any info regarding this condition.  I can post any of the conf files or log files if they would be helpful.

Any help would be greatly appreciated, as this is preventing us from upgrading from our production version (1.1.23) of CUPS.

Thanks in advance,


Evan




More information about the cups mailing list