lpstat command gives error "Unable to connect to server: Connection refused" in RHEL
Issue
-
lpstat command gives error "Unable to connect to server: Connection refused"
# lpstat -a lpstat: Unable to connect to server: Connection refusedPlease see the following : -
Receiving the following error:
# lpstat -p lpstat: Connection refused
Environment
- Red Hat Enterprise Linux (RHEL) 4, 5, 6, 7
- Common Unix Printing System (CUPS)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
