CUPS unable to reserve ports to print to LPD printers in RHEL

Solution Verified - Updated -

Issue

  • When we have many users printing at once, CUPS is very slow. In the file /var/log/cups/error_log we repeatedly find the following:

    E [09/Jul/2013:10:06:00 +0200] [Job 865106] Unable to reserve port: Resource temporarily unavailable
    
  • Our firewall blocks connections initiated from low-numbered TCP ports (port numberss less than 1024). This is blocking CUPS outgoing LPD (Line Printer Deamon) protocol connections to our printers. What can we do?

Environment

  • Red Hat Enterprise Linux (RHEL), all versions
  • Common Unix Printing System (CUPS), all versions

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.