[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: samba -smb problem



On Sunday 27 of February 2005 19:23, Ron Johnson wrote:
> On Mon, 2005-02-28 at 03:19 -0600, kajko wrote:
> > HI.
> > When I start samba server /etc/init.d/samba start then start only nmbd
> > demon. smbd demon doesn't start.
> > The smbclient give me back right configuration but the windows computer
> > dowsnt see it.
> > What I can do to repair it?
> > Thanks for help.
>
> Have you looked in /var/log/syslog?
>

For samba I see only :
Feb 28 02:40:14 localhost nmbd[4073]: [2005/02/28 02:40:14, 0] 
nmbd/nmbd_become_lmb.c:become_local_master_stage2(396) 
Feb 28 02:40:14 localhost nmbd[4073]:   ***** 
Feb 28 02:40:14 localhost nmbd[4073]:    
Feb 28 02:40:14 localhost nmbd[4073]:   Samba name server SHOP-8 is now a 
local master browser for workgroup SHOP on subnet 192.168.0.103 
Feb 28 02:40:14 localhost nmbd[4073]:    
Feb 28 02:40:14 localhost nmbd[4073]:   ***** 

This I receive when I start samab:
 shop-8:/etc/init.d# samba start
 bash: samba: command not found
 shop-8:/etc/init.d# ./samba start
 Starting Samba daemons: nmbd.
 shop-8:/etc/init.d# ps -A |grep mb
  4397 ?        00:00:00 nmbd
 shop-8:/etc/init.d#   

in file /etc/init.d/samba I have 

 # Defaults
 RUN_MODE="daemons"
 
 # Reads config file (will override defaults above)
 [ -r /etc/default/samba ] && . /etc/default/samba
 
 NMBDPID=/var/run/samba/nmbd.pid
 SMBDPID=/var/run/samba/smbd.pid
 
 # clear conflicting settings from the environment
 unset TMPDIR
 .....

I check folder /var/run/samba 
 shop-8:/var/run/samba# ls
 brlock.tdb       gencache.tdb  messages.tdb  sessionid.tdb
 connections.tdb  locking.tdb   nmbd.pid      unexpected.tdb
 shop-8:/var/run/samba#      
Here is not file smbd.pid!
than I don't receive a smbd demon, but why it is not here?
Where I can find it?

Thanks for help.
Mariusz




Reply to: