Patrick Bégou
2018-Oct-29 13:36 UTC
[CentOS] Cups freeze when remote server is unavailable
Hi, I have a setup problem with cups on my CentOS7 laptop. In client.conf If have set the cups server FDQN used at work ServerName servprint.lmy.lab.fr But when I'm at home if I do not comment this line with: # ServerName servprint.lmy.lab.fr cups freeze as soon as I try to print something on my local home printer as the remote server is unreachable. This seams to be an old 2012 bug (see https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1050422) but I'm unable to find any work around 6 years later! My cups in CentOS7 is cups-1.6.3-35.el7.x86_64 Any idea ?
On Mon, 29 Oct 2018, Patrick B?gou wrote:> Any idea ?I don't see that this is a bug. In client.conf you're telling it which server to use, exclusively. You're not adding remote printers, you're telling it which CUPS server to talk to everytime you use CUPS clients commands. You don't even need to run a local CUPS server if you configure it like this. If you want a machine to work at both ends, I'd suggest you don't do this, and instead run a local CUPS server, and add remote printers to that local server. jh
Patrick Bégou
2018-Oct-29 14:35 UTC
[CentOS] Cups freeze when remote server is unavailable
Hi John thanks for your quick reply. If it is not a bug, as I was reading on the web, it is some misunderstanding from me. Running cups 1.4.2 (CentOS6) I was using the "BrowsePoll" directive in cupsd.conf. So the printers were automatically known from the central server of the lab. And home printers were working fine with this setup too. In CentOS7, with cups 1.6.3, this directive does not exist any more and reading the doc I had understood that it was replaced by the client.conf file. Reading your answer suggest it is not true. So could you tell me or suggest reading on the right manner to reproduce my previous centos6 setup ? Sorry for this newbie question, I'm not very familiar with cups setup. Patrick Le 29/10/2018 ? 14:45, John Hodrien a ?crit?:> On Mon, 29 Oct 2018, Patrick B?gou wrote: > >> Any idea ? > > I don't see that this is a bug. > > In client.conf you're telling it which server to use, exclusively.? > You're not > adding remote printers, you're telling it which CUPS server to talk to > everytime you use CUPS clients commands.? You don't even need to run a > local > CUPS server if you configure it like this. > > If you want a machine to work at both ends, I'd suggest you don't do > this, and > instead run a local CUPS server, and add remote printers to that local > server. > > jh > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos >
Maybe Matching Threads
- [Marketing Mail] Re: Cups freeze when remote server is unavailable
- Cups freeze when remote server is unavailable
- [Marketing Mail] Re: Cups freeze when remote server is unavailable
- Cups freeze when remote server is unavailable
- cannot setup print in w2k on debian/samba/winwind/cups server