Gilles
2023-Jan-11 09:48 UTC
[Samba] [4.13.13-Debian] " reopen_one_log: Unable to open new log file '/var/log/samba/': Is a directory"?
Hello, I see this kind of message in /var/log/samba/log.nmbd [2023/01/11 10:04:49.943723,? 0] ../../lib/util/debug.c:1104(reopen_one_log) reopen_one_log: Unable to open new log file '/var/log/samba/': Is a directory Here's what I have in smb.conf: smb.conf: log file = /var/log/samba/%m Or can I fix that error? Thank you.
Michael Tokarev
2023-Jan-11 09:55 UTC
[Samba] [4.13.13-Debian] " reopen_one_log: Unable to open new log file '/var/log/samba/': Is a directory"?
11.01.2023 12:48, Gilles via samba wrote:> [2023/01/11 10:04:49.943723,? 0] ../../lib/util/debug.c:1104(reopen_one_log) > reopen_one_log: Unable to open new log file '/var/log/samba/': Is a directory> smb.conf: log file = /var/log/samba/%msome daemons work without client information, ie, they're not client-specific. These will try to open log files too. Without client info, "%m" expands to nothing, to an empty string. So you'll have the error message like that. Fix your log file setting. Check what's the default for this. /mjt