Implicit Classes intermitantly working

Paul pconklin at gentlemanslife.com
Wed Feb 9 13:33:16 PST 2011


> > > I have an issue where occasionally the implicit classes go away.  My config is such:
> > > I have 5 nodes.  2 are "servers" and 3 are "clients", but they all share the same cupsd.conf and the client.conf file is empty.  We are building the printers on the 2 "servers" and then the clients all automagically see them.  Our problem is that occasionally, the implicit class goes away (i.e. if you take down "server" 2 and do an lpstat -a on a client it only shows printer at server1, all the classes go away.  even if you cycle cups on all the remaining servers.
> > >
> > > Ideas?  Thanks in advance.
> >
> > Plot Thickens...
> > if I stop cups, remove /var/cache/cups/remote.cache then start cups back up, it works after the 30 sec refresh rate, but why do I have to manually wipe the cache for the implicit classes to work?
> >
> Thickens more.  It almost appears to be a "bug" (others have had similar problems by googling) with how CUPS populates it's cache. in my testing I found that CUPS will refresh it's cache with new stuff just fine in 30 sec (i.e. add a new printer) but its when something changes that it doesn't seem to refresh cache for those items.  Aside from the problem above of the Classes dissapearing when I drop a "server" from it, I also tested by changing the description of an existing printer, the "client" never saw the change until i stopped cups, removed the cache, then started cups.  Is this a bug?  Is there a less intrusive way to force cups to update it's cache w/o bringing it down all together?  Any reccomended tweaks to cupsd.conf to aleviate this problem w/o having to define printers locally on the "client"'s?  Thanks in advance.

Anyone have ideas?  I'm using CUPS 1.3.7





More information about the cups mailing list