On Sun, Jun 26, 2016 at 2:27 PM, Ralf Recktenwald <r.recktenw...@online.de>
wrote:

> Smb.conf:
>
>
>
> [global]
>
> workgroup = smb
>
> security = share
>
> share modes = yes
>
>
>
> [homes]
>
> comment = Home Directories
>
> browsable = no
>
> read only = no
>
> create mode = 0750
>
>
>
> [public]
>
> path = /media/storage/
>
> public = yes
>
> writable = yes
>
> comment = smb share
>
> printable = no
>
> guest ok = yes
>
>
>
>
>
>
>
> root@debian:~# journalctl –xn
>
>
>
> -- Logs begin at So 2016-06-26 12:34:00 CEST, end at So 2016-06-26
> 13:17:01 CEST. --
>
> Jun 26 12:36:55 debian nmbd[731]: [2016/06/26 12:36:55.402448,  0]
> ../source3/nmbd/nmbd.c:
>
> Jun 26 12:36:55 debian nmbd[731]: Got SIGTERM: going down...
>
> Jun 26 12:36:56 debian nmbd[773]: Stopping NetBIOS name server: nmbd.
>
> Jun 26 12:36:57 debian nmbd[780]: Starting NetBIOS name server: nmbd
> failed!
>
> Jun 26 12:36:57 debian systemd[1]: nmbd.service: control process exited,
> code=exited statu
>
> Jun 26 12:36:57 debian systemd[1]: Failed to start LSB: start Samba
> NetBIOS nameserver (nm
>
> -- Subject: Unit nmbd.service has failed
>
> -- Defined-By: systemd
>
> -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
>
> --
>
> -- Unit nmbd.service has failed.
>
> --
>
> -- The result is failed.
>
> Jun 26 12:36:57 debian systemd[1]: Unit nmbd.service entered failed state.
>

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.

Don't use the -x option; focus on the log messages themselves.

Also in this situation use "-n 50" or "-n 100", because the *important*
messages happen to be behind the cutoff.

My guess, however, is that Samba fails because you're using "security =
share", which has been removed many years ago
<https://git.samba.org/?p=samba.git;a=commit;h=d7bb961859a3501aec4d28842bfffb6190d19a73>.
(It also makes little sense for shares like [homes], too.)

-- 
Mantas Mikulėnas <graw...@gmail.com>
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to