LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-20-2004, 04:23 PM   #1
cougar694u
LQ Newbie
 
Registered: Jun 2004
Posts: 7

Rep: Reputation: 0
problem with lpadmin, getting error, connection refused


I'm tring to add an interface that goes to /dev/null and uses our script to tell it how to process the file and where to send it when it's done. On a Solaris machine, it is done like this:
# lpadmin -i smartq -p hp1050sq -v /dev/null

'smartq' is the script, and hp1050sq is the new interface/device name, and it goes to /dev/null. It works fine on Solaris, and I found the same lpadmin and switches resided on RedHat 7.3, but I get an error:

# /usr/sbin/lpadmin -i smartq -p hp1050sq -v /dev/null
lpadmin: Unable to connect to server: Connection refused

Is it because of CUPS on RedHat? Do you know of another way to set it up? I already added the actual device, and it plots fine through our UI. I want to be able to lp stuff on the command line directly to our smartq script for processing and plotting.

Like I said, this works fine our Solaris & IRIX. Do you know of another way I can do it?

TIA!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apache -> connection refused error dimlight Linux - Networking 6 08-11-2010 01:56 PM
DNS problem rndc: connect failed connection refused error suchi Linux - Networking 14 05-27-2007 11:51 AM
Connection refused error for port 25 jgnasser Linux - Networking 3 08-25-2004 07:09 AM
Connection refused error sweetyedwin Linux - Networking 1 07-15-2004 03:11 AM
Connection refused error robs4linux Linux - Networking 2 03-19-2002 02:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration