not sure if this is a samba problem because i have only just ran across this on a fresh install of ubuntu 9.04 server... whats happening is that the message "* Reloading /etc/samba/smb.conf smbd only" is occurring every 3-5 minutes right no the command line. the only software i selected for install during the OS installation is samba and ssh. as soon as the install finished and i logged in for the first time this message started occurring. i then decided to run all software upgrades but this had no effect on this issue. anyone have suggestions?
> not sure if this is a samba problem because i have only just ran > across this on a fresh install of ubuntu 9.04 server...> whats happening is that the message "* Reloading /etc/samba/smb.conf > smbd only" is occurring every 3-5 minutes right no the command line.If I understood well, samba will reload the configuration file from time to time, and everytime a new connection is made to a share. So I would say it is normal behaviour. Bests, Olivier
but should the message "*Reloading /etc/samba/smb.conf smbd only" appear right on the command every five minutes? that surely cannot be normal behavior. On Tue, Jun 9, 2009 at 10:11 PM, Olivier Nicole<on@cs.ait.ac.th> wrote:>> not sure if this is a samba problem because i have only just ran >> across this on a fresh install of ubuntu 9.04 server... > >> whats happening is that the message "* Reloading /etc/samba/smb.conf >> smbd only" is occurring every 3-5 minutes right no the command line. > > If I understood well, samba will reload the configuration file from > time to time, and everytime a new connection is made to a share. So I > would say it is normal behaviour. > > Bests, > > Olivier >
> but should the message "*Reloading /etc/samba/smb.conf smbd only" > appear right on the command every five minutes? that surely cannot be > normal behavior.Must be depending on how you started samba and what you configured as a log file. If you started samba on command line and have no log configured, all the messages will come on your command line... Olivier
This phenomenon is due to the lease being renewed. The use of dhcp on a server is the root problem. See this thread on the Ubuntu Forum: http://ubuntuforums.org/showthread.php?t=1140094 -Bruce Olivier Nicole wrote:>> but should the message "*Reloading /etc/samba/smb.conf smbd only" >> appear right on the command every five minutes? that surely cannot be >> normal behavior. >> > > Must be depending on how you started samba and what you configured as > a log file. > > If you started samba on command line and have no log configured, all > the messages will come on your command line... > > Olivier >
John H Terpstra - Samba Team
2009-Jun-10 06:09 UTC
[Samba] * Reloading /etc/samba/smb.conf smbd only
Bruce Borah wrote:> This phenomenon is due to the lease being renewed. The use of dhcp on a > server is the root problem.With all due respect I have difficulty with this claim. I have implemented Samba at hundreds of sites that use DHCP without ever noticing the problem reported below. I would dearly like to see evidence that supports a relationship between DHCP and smb.conf re-reads. cheers, John T.> See this thread on the Ubuntu Forum: > http://ubuntuforums.org/showthread.php?t=1140094 > > -Bruce > > Olivier Nicole wrote: >>> but should the message "*Reloading /etc/samba/smb.conf smbd only" >>> appear right on the command every five minutes? that surely cannot be >>> normal behavior. >>> >> >> Must be depending on how you started samba and what you configured as >> a log file. >> >> If you started samba on command line and have no log configured, all >> the messages will come on your command line... >> >> Olivier >> >
Please read the Ubuntu Forums thread. Specifically from post #18 on. I believe it is the Ubuntu script for the DHCP client that is the culprit. -Bruce John H Terpstra - Samba Team wrote:> Bruce Borah wrote: > >> This phenomenon is due to the lease being renewed. The use of dhcp on a >> server is the root problem. >> > > With all due respect I have difficulty with this claim. I have > implemented Samba at hundreds of sites that use DHCP without ever > noticing the problem reported below. I would dearly like to see > evidence that supports a relationship between DHCP and smb.conf re-reads. > > cheers, > John T. > > >> See this thread on the Ubuntu Forum: >> http://ubuntuforums.org/showthread.php?t=1140094 >> >> -Bruce >> >> Olivier Nicole wrote: >> >>>> but should the message "*Reloading /etc/samba/smb.conf smbd only" >>>> appear right on the command every five minutes? that surely cannot be >>>> normal behavior. >>>> >>>> >>> Must be depending on how you started samba and what you configured as >>> a log file. >>> >>> If you started samba on command line and have no log configured, all >>> the messages will come on your command line... >>> >>> Olivier >>> >>> > > >