[Samba] log.ham01.16.16.16.16.16.16.16.16.16.16.16.16.16.16.16

Daniel Betschart dbet1 at gmx.net
Wed Oct 27 11:34:13 UTC 2021


Am 27.10.2021 um 09:56 schrieb L.P.H. van Belle via samba:
> Umm, just a wild attempt.. Below is pretty clear.
>
> systemctl stop smbd nmbd winbind
> systemctl mask smbd nmbd winbind
> systemctl daemon-reload
>
> ! I did leave out nmbd here below,
> if you need it enable it later on.
> First try this.
>
> systemctl unmask smbd winbind
> systemctl enable smbd winbind
> systemctl start smbd winbind
>
> Try this and see if this helps..
I like to try this on November 6th. Unfortunately, I am not allowed to
change anything in this productive system beforehand. The customer
doesn't want that.
>
>
>> -----Oorspronkelijk bericht-----
>> Van: samba [mailto:samba-bounces at lists.samba.org] Namens
>> Daniel Betschart via samba
>> Verzonden: woensdag 27 oktober 2021 9:18
>> Aan: samba at lists.samba.org
>> Onderwerp: Re: [Samba]
>> log.ham01.16.16.16.16.16.16.16.16.16.16.16.16.16.16.16
>>
>> Am 27.10.2021 um 08:24 schrieb L.P.H. van Belle via samba:
>>> That also looks normal,, im stunned, i cant see whats
>> goingon on your server.
>>>
>>> This still is correct: Samba reloads every 5 minutes or so.
>>> Can check if its really on the mark of 5min?
>> Not exactly 5min, but about. See the examples.
>>
>> Oct 27 05:44:47 hamserv07 systemd[1]: Reloading Samba SMB Daemon.
>> Oct 27 05:49:16 hamserv07 systemd[1]: Reloading Samba SMB Daemon.
>> Oct 27 05:53:21 hamserv07 systemd[1]: Reloading Samba SMB Daemon.
>> Oct 27 05:58:08 hamserv07 systemd[1]: Reloading Samba SMB Daemon.
>> Oct 27 06:02:22 hamserv07 systemd[1]: Reloading Samba SMB Daemon.
>> Oct 27 06:07:10 hamserv07 systemd[1]: Reloading Samba SMB Daemon.
>> Oct 27 06:11:25 hamserv07 systemd[1]: Reloading Samba SMB Daemon.
>> Oct 27 06:15:48 hamserv07 systemd[1]: Reloading Samba SMB Daemon.
>> Oct 27 06:20:10 hamserv07 systemd[1]: Reloading Samba SMB Daemon.
>> Oct 27 06:24:47 hamserv07 systemd[1]: Reloading Samba SMB Daemon.
>> Oct 27 06:29:18 hamserv07 systemd[1]: Reloading Samba SMB Daemon.
>> Oct 27 06:33:24 hamserv07 systemd[1]: Reloading Samba SMB Daemon.
>> Oct 27 06:37:51 hamserv07 systemd[1]: Reloading Samba SMB Daemon.
>> Oct 27 06:41:57 hamserv07 systemd[1]: Reloading Samba SMB Daemon.
>> Oct 27 06:46:23 hamserv07 systemd[1]: Reloading Samba SMB Daemon.
>> Oct 27 06:50:37 hamserv07 systemd[1]: Reloading Samba SMB Daemon.
>> Oct 27 06:55:24 hamserv07 systemd[1]: Reloading Samba SMB Daemon.
>> Oct 27 06:59:16 hamserv07 systemd[1]: Reloading Samba SMB Daemon.
>> Oct 27 07:03:05 hamserv07 systemd[1]: Reloading Samba SMB Daemon.
>> Oct 27 07:07:36 hamserv07 systemd[1]: Reloading Samba SMB Daemon.
>> Oct 27 07:12:24 hamserv07 systemd[1]: Reloading Samba SMB Daemon.
>> Oct 27 07:17:13 hamserv07 systemd[1]: Reloading Samba SMB Daemon.
>> Oct 27 07:22:02 hamserv07 systemd[1]: Reloading Samba SMB Daemon.
>> Oct 27 07:26:46 hamserv07 systemd[1]: Reloading Samba SMB Daemon.
>> Oct 27 07:30:49 hamserv07 systemd[1]: Reloading Samba SMB Daemon.
>> Oct 27 07:35:02 hamserv07 systemd[1]: Reloading Samba SMB Daemon.
>> Oct 27 07:39:25 hamserv07 systemd[1]: Reloading Samba SMB Daemon.
>> Oct 27 07:44:23 hamserv07 systemd[1]: Reloading Samba SMB Daemon.
>> Oct 27 07:48:19 hamserv07 systemd[1]: Reloading Samba SMB Daemon.
>> Oct 27 07:52:49 hamserv07 systemd[1]: Reloading Samba SMB Daemon.
>> Oct 27 07:57:42 hamserv07 systemd[1]: Reloading Samba SMB Daemon.
>> Oct 27 08:01:32 hamserv07 systemd[1]: Reloading Samba SMB Daemon.
>> Oct 27 08:05:26 hamserv07 systemd[1]: Reloading Samba SMB Daemon.
>> Oct 27 08:09:19 hamserv07 systemd[1]: Reloading Samba SMB Daemon.
>> Oct 27 08:13:20 hamserv07 systemd[1]: Reloading Samba SMB Daemon.
>> Oct 27 08:18:15 hamserv07 systemd[1]: Reloading Samba SMB Daemon.
>> Oct 27 08:23:05 hamserv07 systemd[1]: Reloading Samba SMB Daemon.
>> Oct 27 08:27:41 hamserv07 systemd[1]: Reloading Samba SMB Daemon.
>> Oct 27 08:32:19 hamserv07 systemd[1]: Reloading Samba SMB Daemon.
>> Oct 27 08:37:06 hamserv07 systemd[1]: Reloading Samba SMB Daemon.
>> Oct 27 08:40:55 hamserv07 systemd[1]: Reloading Samba SMB Daemon.
>> Oct 27 08:45:36 hamserv07 systemd[1]: Reloading Samba SMB Daemon.
>> Oct 27 08:49:25 hamserv07 systemd[1]: Reloading Samba SMB Daemon.
>> Oct 27 08:53:47 hamserv07 systemd[1]: Reloading Samba SMB Daemon.
>> Oct 27 08:58:17 hamserv07 systemd[1]: Reloading Samba SMB Daemon.
>> Oct 27 09:02:12 hamserv07 systemd[1]: Reloading Samba SMB Daemon.
>> Oct 27 09:06:53 hamserv07 systemd[1]: Reloading Samba SMB Daemon.
>> Oct 27 09:11:34 hamserv07 systemd[1]: Reloading Samba SMB Daemon.
>> Oct 27 09:16:27 hamserv07 systemd[1]: Reloading Samba SMB Daemon.
>>
>>>
>>> Greetz,
>>>
>>> Louis
>>>
>>>> -----Oorspronkelijk bericht-----
>>>> Van: Daniel Betschart [mailto:dbet1 at gmx.net]
>>>> Verzonden: dinsdag 26 oktober 2021 19:38
>>>> Aan: L.P.H. van Belle; samba at lists.samba.org
>>>> Onderwerp: Re: [Samba]
>>>> log.ham01.16.16.16.16.16.16.16.16.16.16.16.16.16.16.16
>>>>
>>>> Am Dienstag, dem 26.10.2021 um 14:45 +0200 schrieb L.P.H. van
>>>> Belle via
>>>> samba:
>>>>> What is logrotate showing for settings for samba log rotates?
>>>> The unmodified file /etc/logrotate.d/samba from the package samba.
>>>>
>>>> /var/log/samba/log.smbd {
>>>>         weekly
>>>>         missingok
>>>>         rotate 7
>>>>         postrotate
>>>>                 [ ! -x /usr/bin/smbcontrol ] || [ ! -f
>>>> /var/run/samba/smbd.pid ] || /usr/bin/smbcontrol smbd reload-config
>>>>         endscript
>>>>         compress
>>>>         delaycompress
>>>>         notifempty
>>>> }
>>>>
>>>> /var/log/samba/log.nmbd {
>>>>         weekly
>>>>         missingok
>>>>         rotate 7
>>>>         postrotate
>>>>                 [ ! -x /usr/bin/smbcontrol ] || [ ! -f
>>>> /var/run/samba/nmbd.pid ] || /usr/bin/smbcontrol nmbd reload-config
>>>>         endscript
>>>>         compress
>>>>         delaycompress
>>>>         notifempty
>>>> }
>>>>
>>>> /var/log/samba/log.samba {
>>>>         weekly
>>>>         missingok
>>>>         rotate 7
>>>>         postrotate
>>>>                 if [ -d /run/systemd/system ] && command systemctl
>>>>> /dev/null 2>&1 && systemctl is-active --quiet samba-ad-dc; then
>>>>                         systemctl kill --kill-who all
>> --signal=SIGHUP
>>>> samba-ad-dc
>>>>                 elif [ -f /var/run/samba/samba.pid ]; then
>>>>                         # This only sends to main pid, See #803924
>>>>                         kill -HUP `cat /var/run/samba/samba.pid`
>>>>                 fi
>>>>         endscript
>>>>         compress
>>>>         delaycompress
>>>>         notifempty
>>>>>
>>>>>
>>>>>> -----Oorspronkelijk bericht-----
>>>>>> Van: samba [mailto:samba-bounces at lists.samba.org] Namens
>>>>>> Daniel Betschart via samba
>>>>>> Verzonden: dinsdag 26 oktober 2021 13:00
>>>>>> Aan: samba at lists.samba.org
>>>>>> Onderwerp: Re: [Samba]
>>>>>> log.ham01.16.16.16.16.16.16.16.16.16.16.16.16.16.16.16
>>>>>>
>>>>>> Am 19.10.2021 um 17:20 schrieb Rowland Penny via samba:
>>>>>>> On Tue, 2021-10-19 at 17:05 +0200, Daniel Betschart via samba
>>>>>>> wrote:
>>>>>>>> Am 19.10.2021 um 15:57 schrieb Rowland Penny via samba:
>>>>>>>>> On Tue, 2021-10-19 at 15:39 +0200, Daniel Betschart
>>>> via samba
>>>>>>>>> wrote:
>>>>>>>>>> Please see the attachment. The log level = 0 I have set
>>>>>>>>>> yesterday,
>>>>>>>>>> before it was 1.
>>>>>>>>>
>>>>>>>>> Is this supposed to be a Unix domain member ?
>>>>>>>>>
>>>>>>>>> If so, remove these lines:
>>>>>>>>>
>>>>>>>>>    server role = standalone server
>>>>>>>>>    unix password sync = yes
>>>>>>>>>    passwd program = /usr/bin/passwd %u
>>>>>>>>>    passwd chat = *Enter\snew\s*\spassword:* %n\n
>>>>>>>>> *Retype\snew\s*\spassword:* %n\n
>>>>>>>>> *password\supdated\ssuccessfully*
>>>>>>>>> .
>>>>>>>>>    pam password change = yes
>>>>>>>> I have commented it out now.
>>>>>> Unfortunately, it does not help to deactivate these
>> settings. I've
>>>>>> discovered that Samba reloads every 5 minutes or so. The
>> following
>>>>>> message can then be found in the system log.
>>>>>> Oct 26 12:24:21 hamserv07 systemd [1]: Reloading Samba
>> SMB daemon.
>>>>>>>> A question to server role: I assumed it *has* to be one of the
>>>>>>>> following: standalone server, member server or active
>>>> directory
>>>>>>>> domain
>>>>>>>> controller?
>>>>>>>
>>>>>>> Quite true, but they are quite different things. A
>>>>>> 'standalone server'
>>>>>>> is just that, it is a server that stands alone and cannot
>>>>>> be a member
>>>>>>> of a domain (think Windows Home edition). A 'member server'
>>>>>> is a Unix
>>>>>>> member of a domain and an 'active directory domain controller is
>>>>>>> ,
>>>>>>> well, just that, an AD DC.
>>>>>>>
>>>>>>>>> Also, you really shouldn't have a share with the
>>>> same name as
>>>>>>>>> the
>>>>>>>>> workgroup.
>>>>>>>> The share was already existent on a SBS 2011, so I have it
>>>>>> also under
>>>>>>>> Samba.
>>>>>>>
>>>>>>> Still not a good idea.
>>>>>>>
>>>>>>>>> Finally, this list strips attachments, so you
>>>> should post you
>>>>>>>>> conf
>>>>>>>>> file
>>>>>>>>> into the post.
>>>>>>>> I am sorry, on most portals it is vice versa.
>>>>>>>
>>>>>>> Yes, we try to be different :-D
>>>>>>>
>>>>>>> Rowland
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> --
>>>>>> To unsubscribe from this list go to the following URL
>> and read the
>>>>>> instructions:  https://lists.samba.org/mailman/options/samba
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>> --
>> To unsubscribe from this list go to the following URL and read the
>> instructions:  https://lists.samba.org/mailman/options/samba
>>
>>
>
>



More information about the samba mailing list