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 refused
-
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, tools, and much more.