<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sun, Jun 26, 2016 at 2:27 PM, Ralf Recktenwald <span dir="ltr"><<a href="mailto:r.recktenwald@online.de" target="_blank">r.recktenwald@online.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="DE" link="blue" vlink="purple"><div><p class="MsoNormal">Smb.conf:<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><span lang="EN-US">[global]<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"> workgroup = smb<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"> security = share<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"> share modes = yes<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US"> [homes]<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"> comment = Home Directories<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"> browsable = no<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"> read only = no<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"> create mode = 0750<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US"> [public]<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"> path = /media/storage/<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"> public = yes<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"> writable = yes<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"> comment = smb share<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"> printable = no<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"> </span>guest ok = yes<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><span lang="EN-US">root@debian:~# journalctl –xn<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">-- Logs begin at So 2016-06-26 12:34:00 CEST, end at So 2016-06-26 13:17:01 CEST. --<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">Jun 26 12:36:55 debian nmbd[731]: [2016/06/26 12:36:55.402448, 0] ../source3/nmbd/nmbd.c:<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">Jun 26 12:36:55 debian nmbd[731]: Got SIGTERM: going down...<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">Jun 26 12:36:56 debian nmbd[773]: Stopping NetBIOS name server: nmbd.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">Jun 26 12:36:57 debian nmbd[780]: Starting NetBIOS name server: nmbd failed!<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">Jun 26 12:36:57 debian systemd[1]: nmbd.service: control process exited, code=exited statu<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">Jun 26 12:36:57 debian systemd[1]: Failed to start LSB: start Samba NetBIOS nameserver (nm<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">-- Subject: Unit nmbd.service has failed<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">-- Defined-By: systemd<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">-- Support: <a href="http://lists.freedesktop.org/mailman/listinfo/systemd-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/systemd-devel</a><u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">--<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">-- Unit nmbd.service has failed.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">--<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">-- The result is failed.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">Jun 26 12:36:57 debian systemd[1]: Unit nmbd.service entered failed state.</span></p></div></div></blockquote><div><br></div><div>The -x output merely points at this mailing list because systemd has logged the message, but that doesn't mean we magically know everything about why every daemon would fail to start.</div><div><br></div><div>Don't use the -x option; focus on the log messages themselves.</div><div><br></div><div>Also in this situation use "-n 50" or "-n 100", because the *important* messages happen to be behind the cutoff.</div><div><br></div><div>My guess, however, is that Samba fails because you're using "security = share", which has been <a href="https://git.samba.org/?p=samba.git;a=commit;h=d7bb961859a3501aec4d28842bfffb6190d19a73">removed many years ago</a>. (It also makes little sense for shares like [homes], too.)</div></div><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Mantas Mikulėnas <<a href="mailto:grawity@gmail.com" target="_blank">grawity@gmail.com</a>></div></div>
</div></div>