> Date: Wed, 5 Aug 1998 11:20:57 -0400 (EDT) > From: Dan Roscigno <ddr@phys.ufl.edu> > To: Multiple recipients of list <samba@samba.anu.edu.au> > Subject: Re: SAMBA digest 1769 > Message-ID: > <Pine.SOL.3.96.980805111839.9665I-100000@neptune.phys.ufl.edu> > > > Hay, > > I have a big problem with the stop e start smbd. > > I start the samba server in /etc/rc3.d > > When the server reboot, all the partition of samba could be > located from > > any kind of S.O of PC . The only things that give me some > problem is the > > printer. After the reboot server ...from Office installed > on PC I can't > > print on the printer shared with samba. If I made > stop/start of the smbd > > by sh /etc/init.d/samba.server stop/start....all work right. > > Help me please because I can't know where is the problem... > > Thank's > > Franca Vercellone > > My guess is that lp or lpd is being started up after samba > restarts, so printing is not available. Maybe check to see > if the S??smbd is a higher number than S??lpd. > > I have entries in inetd.conf for samba, so I can't check my > system.I have exactly the same problem on my Solaris 2.5 SPARC box. (Samba 1.9.18p8) The LP services are being started up way before Samba in rc2, Samba is the last thing to be fired up in rc3. Cheers for any suggestions, Matt. -- Matt JD Aldridge - NEXOR Technical Analyst Email: mailto:Matt.Aldridge@NEXOR.Com Phone: +44 (0)115 952 0572 (has voicemail)
On Fri, 7 Aug 1998 02:00:55 +1000, Matt JD Aldridge wrote:>I have exactly the same problem on my Solaris 2.5 SPARC box. (Samba >1.9.18p8) The LP services are being started up way before Samba in rc2, >Samba is the last thing to be fired up in rc3. > >Cheers for any suggestions,I had the same problem (Samba print services were DOA after a reboot, but after restarting Samba by hand all was OK)... As it turned out, and was suggested to me by someone else on this list, try changing your "LPR" lines in the smb.conf to something like the following : print command = /usr/ucb/lpr -r -P%p %s printcap name = /bin/lpstat lpq command = /usr/ucb/lpq -P%p lprm command = /usr/ucb/lprm -P%p %j As it turns out, I was informed that the "path" that you have when Samba is started has EVERYTHING to do with how (or in some cases IF) Samba finds the "lpr" command.. Once I put the fully-qualified path to the LPR command (and the rest of the family -- lpstat, lpq, lprm), my problem was gone!! P.S. This was under Solaris 2.6... Let me know if this doesn't work (or does for that matter!) I think this should be put in the printing FAQ for Solaris systems... -- Rick