[Samba] Samba print command only works on restart, help!

Richard rhw at shspost.co.uk
Fri Mar 21 11:05:58 GMT 2003


hey


the script is already in /usr/local/etc/rc.d/ and is the last thing called.
i have tried changing the script to start the daemon then kill it then
restart it again, but it never works, i just get the same problem. i am now
starting samba using the inetd daemon instead and it works fine, although i
would rather start it as a standalone daemon.

any ideas?

----- Original Message -----
From: "Joel Hammer" <Joel at HammersHome.com>
To: "Richard" <rhw at shspost.co.uk>; <samba at lists.samba.org>
Sent: Friday, March 21, 2003 1:34 AM
Subject: Re: [Samba] Samba print command only works on restart, help!


> Just guessing here:
>
> During startup, the path available to the shell environment is fairly
> limited. This will sometimes cause file not found errors during bootup.
> Maybe something weird is happening because of a path problem.
>
> Is the samba script being started in the right sequence?  You might try
> adding the startup command to run last in the boot sequence. You could
> put it into /etc/rc.d/rc.local or its equivalent.
>
> You might just replace the current startup script with:
>
> killall smbd
> killall nmbd
> smbd -D
> nmbd -D
> You will need the complete path for the daemons, likely.
>
> Joel
>
>
> On Thu, Mar 20, 2003 at 11:29:21AM -0000, Richard wrote:
> > hey
> >
> > i am starting smbd using the supplied start script, but basically it
just
> > calls:
> >
> > smbd -D
> >
> > every time i start the computer i get the following error message
however,
> > even when the network cable is unplugged:
> >
> > [2003/03/20 11:23:47, 0] nmbd/nmbd.c:main(795)
> >   Netbios nameserver version 2.2.8 started.
> >   Copyright Andrew Tridgell and the Samba Team 1994-2002
> > [2003/03/20 11:23:51, 0]
> > nmbd/nmbd_responserecordsdb.c:find_response_record(235)
> >   find_response_record: response packet id 8644 received with no
matching
> > record.
> > [2003/03/20 11:23:51, 0]
> > nmbd/nmbd_responserecordsdb.c:find_response_record(235)
> >   find_response_record: response packet id 8645 received with no
matching
> > record.
> >
> > does anyone know what causes this?
> >
> > thanks for your help.
> >
> >
> > ----- Original Message -----
> > From: "Joel Hammer" <Joel at HammersHome.com>
> > To: "Richard" <rhw at shspost.co.uk>; <samba at lists.samba.org>
> > Sent: Wednesday, March 19, 2003 9:58 PM
> > Subject: Re: [Samba] Samba print command only works on restart, help!
> >
> >
> > > I guess the question is, is the same command used to start smbd at
boot as
> > > is used after boot?  Beware those complicated startup scripts.
> > > Joel
> > >
> > >
> > >
> >
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  http://lists.samba.org/mailman/listinfo/samba
>
>
>



More information about the samba mailing list