Samba domain problem

Suddenly the samba domain is unaccusable. Any idea where to look why it does not work? I think that it should be caused by DNS issues or some kind of permission issue.
Code:
FreeBSD 10.3-RELEASE-p24 (GENERIC)
Code:
samba -i
samba version 4.3.13 started.
Copyright Andrew Tridgell and the Samba Team 1992-2015
lstat failed on directory /var/db/samba4/private/smbd.tmp: Permission denied
fcntl_lock: fcntl lock gave errno 35 (Resource temporarily unavailable)
fcntl_lock: lock failed at offset 0 count 1 op 12 type 1 (Resource temporarily unavailable)
ERROR: samba is already running. File /var/run/samba4/samba.pid exists and process id 5950 is running.
Code:
samba_dnsupdate --verbose --all-names
IPs: ['10.200.0.1', '10.200.1.3', '10.200.2.1', '10.200.3.1', '10.200.4.254', '10.200.5.1']
ldb_wrap open of secrets.ldb
Traceback (most recent call last):
  File "/usr/local/sbin/samba_dnsupdate", line 621, in <module>
    get_credentials(lp)
  File "/usr/local/sbin/samba_dnsupdate", line 125, in get_credentials
    raise e
RuntimeError: kinit for FS$@ZSV.LOCAL failed (Cannot contact any KDC for requested realm)
Code:
cat /etc/resolv.conf
# Generated by resolvconf
search zsv.local
domain fs.zsv.local
nameserver 10.200.1.3
 
I think that the problem is about named.
Screenshot 2023-06-06 233601.jpg
 
I suppose that the problem is:

root@FS: service named start
Starting named.
/usr/local/etc/rc.d/named: WARNING: failed to start named


I got the same error ten minutes ago because of unexpected power loss (bad UPS). I think that this could be a file system error.
I have got this error after power lost and server restart too.
 
I have fount that there was setting in /usr/local/etc/smb4.conf
log level = 3
I have changed it to
log level = 0
It caused the large, over 21 GB, file /var/log/samba4/log.samba
-rw-r--r-- 1 root wheel 22987767789 Jun 7 14:19 log.samba
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/da0p2 38577212 37750700 -2259664 106% /
devfs 1 1 0 100% /dev
/dev/da1 406246452 280061364 93685372 75% /mnt/data
 
Back
Top