Hi all! Please help me... Scenario: - linux box, turned on only for developing and printing purposes, printing uses cups and samba - 2 winXP box most of the time turned on The following happened: - installed the latest gentoo distro, updating all the time, prinitng worked fine for couple weeks - 2 days ago it started not to print What I discovered: - after linux box boot it didn't print from any winXP, booting process includes starting cupsd and smbd - but if I reload samba it starts to print - it seems to me samba didnt load printers at the boot process Any ideas, solutions? Please post me at : agoston@simeis.net Thanks in advance
Le lun 30/06/2003 ? 21:07, Hal??szy-Kiss ??goston a ?crit :> - after linux box boot it didn't print from any winXP, booting process > includes starting cupsd and smbd > - but if I reload samba it starts to print > - it seems to me samba didnt load printers at the boot processI think cupsd takes a little time to populate the printers list at startup, but i would tend to think smbd would reload the list on a regular basis, is it not so ? -- *********************************** david.morel@amakuru.net OpenPGP public key: http://www.amakuru.net/dmorel.asc 28192ef126bc871757cb7d97f4a44536 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?Url : http://lists.samba.org/archive/samba/attachments/20030630/c2d9c2f6/attachment.bin
Hal?szy-Kiss ?goston agoston at simeis.net> Mon Jun 30 21:07:00 GMT 2003[....]> What I discovered: > > - after linux box boot it didn't print from any winXP, booting process > includes starting cupsd and smbd > - but if I reload samba it starts to print > - it seems to me samba didnt load printers at the boot process > > Any ideas, solutions? >cupsd *must* be completely up and running for Samba to pick up the printer list. * Make sure that cupsd is started well before smbd (and make sure that you get a return code of 0 for the "lpstat -r" before you try to start smbd * Make sure that CUPS writes a "printcap" file by enabling the "Printcap /etc/printcap" directive in cupsd.conf.> Please post me at : agoston at simeis.net > Thanks in advance >Cheers, Kurt
David Morel david.morel at amakuru.net> Mon Jun 30 21:09:57 GMT 2003 > > > Le lun 30/06/2003 ? 21:07, Hal??szy-Kiss ??goston a ?crit : > >> - after linux box boot it didn't print from any winXP, booting process >> includes starting cupsd and smbd >> - but if I reload samba it starts to print >> - it seems to me samba didnt load printers at the boot process > > I think cupsd takes a little time to populate the printers list at > startup, but i would tend to think smbd would reload the list on a > regular basis, is it not so ? >Oh yes -- that's the *theory*. As far as the *practical* side of things goes, unfortunately a bug in most recent versions of Samba prevents this from happening.... Cheers, Kurt