[lug] samba won't start

Hugh Brown hugh at vecna.com
Wed Dec 5 19:28:52 MST 2001


If you have your config in samba dependant upon your hostname then it
needs to resolve.  Just add it to the line in /etc/hosts next to
localhost.localdomain

Hugh

On Wed, 2001-12-05 at 18:49, Jason Davis wrote:






Jason Davis 
jd_480 at hotmail.com 
>From: "D. Stimits" 
>Reply-To: lug at lug.boulder.co.us 
>To: lug at lug.boulder.co.us 
>Subject: Re: [lug] samba won't start 
>Date: Wed, 05 Dec 2001 15:48:47 -0700 
> 

i found  files in /var/lock/samba one for nmbd.pid and one for smbd.pid

i erased the pid inside the files then tryed to start samba then i tried
removing both

of the files...no luck. Should i delete the whole dir.? Any other
suggestions? also

when i try to restart samba a new pid is written to the smbd and
nmbd.pid file..yet samba is still not started when i do ps ax i never
find the pid in question..also i lookked at my samba log files for today
and this was thwe output....ok i just figured it out kinda. i changed my
host name

in the network conf gui (rh 7.1 kde 2.something) to "dualp2.inside.net"
in smb.log inside

/var/log/samba i saw that host dualp2.inside.net was not found...i have
had my samba

boxes named all kinds of bs with out any negative effect...why now? so i
changed the name back to localhost.localdomain....do you think i needed
to make a entry into /etc/hosts ?

thanks,

jd

 

jd

 

> 

>I don't use samba, but it sounds typical of stale lock files causing 
>confusion in scripts that can't deal with stale locks. See if you can 
>find an associated lock file in /var/lock/ or /var/lock/subsys/, run 
>your samba stop, and see if the file is still there; if so, delete it. 
>Try again. 
> 
>The other thing is that some scripts do dumb things like that if for 
>some reason the kernel does not support the feature. Has your kernel 
>changed in any way? 
> 
>D. Stimits, stimits at idcomm.com 
>_______________________________________________ 
>Web Page: http://lug.boulder.co.us 
>Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug 

________________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
_______________________________________________ Web Page:
http://lug.boulder.co.us Mailing List:
http://lists.lug.boulder.co.us/mailman/listinfo/lug





More information about the LUG mailing list