Samba continually logs "Unable to connect to CUPS server" in RHEL
Issue
- Samba is continually logging unable to connect to CUPS server in the logs.
- Samba complains constantly about CUPS not able to contact localhost.
-
Constantly getting errors like the following in the
/var/log/messagesfile:smbd[27135]: [2010/07/04 04:02:24, 0] printing/print_cups.c:cups_connect(69) smbd[27135]: Unable to connect to CUPS server localhost:631 - Connection refused -
I am seeing a lot of these messages in
/var/log/messagesfrom samba:smbd[30052]: [2014/05/07 13:09:46, 0] printing/print_cups.c:cups_connect(69) smbd[30052]: Unable to connect to CUPS server localhost:631 - Connection refusedWe are receiving so many of them that it fills up
/var/logfile system over time. We would like to know how to suppress these messages.
Environment
- Red Hat Enterprise Linux (RHEL)
- Common Unix Printing System (CUPS)
- Samba
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.
