LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-07-2015, 09:52 AM   #1
mcleary1
LQ Newbie
 
Registered: Aug 2015
Posts: 1

Rep: Reputation: Disabled
lpadmin: unable to connect to server when trying to add queue


When we try to add a print queue on an existing Oracle Enterprise Linux server, we get the error message:
Quote:
lpadmin: unable to connect to server: connection refused.
They are able to print to the existing queues and the cups logs look good as far as I see.

Cups log:

Quote:
ERROR_LOG Entries …..

I [23/Jul/2015:13:49:12 -0500] Adding end banner page "none" to job 349096.
I [23/Jul/2015:13:49:12 -0500] Job 349096 queued on 'noprint' by 'appritxi'.
I [23/Jul/2015:13:53:16 -0500] Setting _xeroxtq133_ printer-is-accepting-jobs to 1 (was 0.)
I [23/Jul/2015:13:53:16 -0500] Setting _xeroxtq133_ printer-state to 3 (was 5.)
I [23/Jul/2015:13:53:16 -0500] Saving printers.conf...
I [23/Jul/2015:13:53:16 -0500] New printer '_xeroxtq133_' added by ''.
I [23/Jul/2015:13:53:16 -0500] Saving printers.conf...
I [23/Jul/2015:13:53:16 -0500] Printer '_xeroxtq133_' modified by ''.
I [23/Jul/2015:13:53:16 -0500] Listening to 0:631
I [23/Jul/2015:13:53:16 -0500] Loaded configuration file "/etc/cups/cupsd.conf"
I [23/Jul/2015:13:53:16 -0500] Configured for up to 100 clients.
I [23/Jul/2015:13:53:16 -0500] Allowing up to 100 client connections per host.
I [23/Jul/2015:13:53:16 -0500] Full reload is required.
I [23/Jul/2015:13:53:17 -0500] LoadPPDs: Read "/etc/cups/ppds.dat", 17 PPDs...
I [23/Jul/2015:13:53:17 -0500] LoadPPDs: No new or changed PPDs...
I [23/Jul/2015:13:53:18 -0500] Full reload complete.
I [23/Jul/2015:13:53:18 -0500] ESP Print Pro v4.5.4 starting...
I [23/Jul/2015:13:53:18 -0500] Multi-User, Mission-Critical, or Enterprise license detected...

ACCESS_LOG entries …

localhost - - [23/Jul/2015:13:53:16 -0500] "POST / HTTP/1.1" 200 270
localhost - - [23/Jul/2015:13:53:16 -0500] "POST /admin/ HTTP/1.1" 200 179
localhost - - [23/Jul/2015:13:53:16 -0500] "POST /admin/ HTTP/1.1" 200 1865
localhost - - [23/Jul/2015:13:54:11 -0500] "POST / HTTP/1.1" 200 132
Is there anything else we should check here? The only change they said, is that they upgraded Oracle.

I tried looking at these logs, but since cups seems ok, I'm not sure what it could be.
check to see if the cups daemon is listening on the needed porthttp://www.linuxquestions.org/questi...server-184088/
-looks ok
Quote:
[c_smitchdaemon]$ grep 631 /etc/services
ipp 631/tcp # Internet Printing Protocol
ipp 631/udp # Internet Printing Protocol
visitview 1631/tcp # Visit view
visitview 1631/udp # Visit view
sitaradir 2631/tcp # Sitara Dir
sitaradir 2631/udp # Sitara Dir
cs-services 3631/tcp # C&S Web Services Port
cs-services 3631/udp # C&S Web Services Port
pcanywheredata 5631/tcp # pcANYWHEREdata
pcanywheredata 5631/udp # pcANYWHEREdata
Quote:
[c_smitch daemon]$ grep 515 /etc/services
printer 515/tcp spooler # line printer spooler
printer 515/udp spooler # line printer spooler
ifor-protocol 1515/tcp # ifor-protocol
ifor-protocol 1515/udp # ifor-protocol
facsys-router 2515/tcp # Facsys Router
facsys-router 2515/udp # Facsys Router
must-backplane 3515/tcp # MUST Backplane
must-backplane 3515/udp # MUST Backplane
atmp 5150/tcp # Ascend Tunnel Management Protocol
atmp 5150/udp # Ascend Tunnel Management Protocol
esri_sde 5151/tcp # ESRI SDE Instance
esri_sde 5151/udp # ESRI SDE Remote Start
sde-discovery 5152/tcp # ESRI SDE Instance Discovery
sde-discovery 5152/udp # ESRI SDE Instance Discovery
bzflag 5154/tcp # BZFlag game server
bzflag 5154/udp # BZFlag game server
asctrl-agent 5155/tcp # Oracle asControl Agent
asctrl-agent 5155/udp # Oracle asControl Agent

cups status - http://ubuntuforums.org/showthread.php?t=2186238service cups status; check if the cups service is running with sudo netstat –nlp | grep cupsd
-ran without -p because it required root access
Quote:
[c_smitch@$ netstat -nl | grep 515
tcp 0 0 0.0.0.0:12515 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:515 0.0.0.0:* LISTEN
[c_smitch ~]$ netstat -nl | grep cup
[c_smitch ~]$ netstat -nl | grep 631
tcp 0 0 0.0.0.0:631 0.0.0.0:* LISTEN
[c_smitch ~]$

login issue maybe-https://community.oracle.com/thread/...art=0&tstart=0
maybe we need to login to the server to get access for the first time accessing after upgrade?

I'm not sure how to determine if it's their firewall?
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to copy PPD file! When creating new printer via lpadmin BradMarks Linux - Newbie 5 07-22-2011 11:26 AM
lpadmin: add-printer (set-model) failed spangler Linux - General 2 04-18-2008 09:52 AM
cannot add a printer with the lpadmin command (client-error-not-possible) rocordial Linux - Hardware 2 03-22-2005 02:20 AM
raw queue with usb printer (-v option in lpadmin command) rocordial Linux - Hardware 4 02-10-2005 11:36 AM
lpadmin: add-printer (set device) failed: client-error-not-possible Peca Linux - Hardware 7 08-14-2004 08:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:51 PM.

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