<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-2022-jp" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 11.00.10570.1001"></HEAD>
<BODY>
<DIV><FONT face=Arial><FONT size=2><SPAN class=272110008-25092018>Hai,
</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=272110008-25092018></SPAN></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=272110008-25092018>i've done some
extra testing.</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=272110008-25092018>Thank you
Mathieu for the quick upgrade to 4.9.1 in experimental.
</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=272110008-25092018></SPAN></FONT></FONT> </DIV>
<DIV><FONT size=2 face=Arial><SPAN class=272110008-25092018>The server in the
previous post is a vm, i snaphoted it before i installed samba.
</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN class=272110008-25092018>Now
i've </SPAN></FONT><FONT size=2 face=Arial>upgraded to Debian buster<SPAN
class=272110008-25092018>, rebooted </SPAN>reboot.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial><SPAN class=272110008-25092018>BUSTER, samba
4.8.5 ( all fine ) </SPAN><BR>apt-get install samba winbind</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Setting up samba-common-bin (2:4.8.5+dfsg-1)
...<BR>Checking smb.conf with testparm<BR>Load smb config files from
/etc/samba/smb.conf<BR>Loaded services file OK.<BR>Server role:
ROLE_STANDALONE</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2 face=Arial>Done<BR>Setting up samba-dsdb-modules:amd64
(2:4.8.5+dfsg-1) ...<BR>Setting up winbind (2:4.8.5+dfsg-1) ...<BR>mkdir:
created directory '/var/lib/samba/winbindd_privileged'<BR>changed group of
'/var/lib/samba/winbindd_privileged' from root to winbindd_priv<BR>mode of
'/var/lib/samba/winbindd_privileged' changed from 0755 (rwxr-xr-x) to 0750
(rwxr-x---)<BR>Created symlink
/etc/systemd/system/multi-user.target.wants/winbind.service $B"*(B
/lib/systemd/system/winbind.service.<BR>Setting up samba (2:4.8.5+dfsg-1)
...<BR>Samba is not being run as an AD Domain Controller: Masking
samba-ad-dc.service<BR>Please ignore the following error about
deb-systemd-helper not finding those services.<BR>(samba-ad-dc.service
masked)<BR>Created symlink
/etc/systemd/system/multi-user.target.wants/nmbd.service $B"*(B
/lib/systemd/system/nmbd.service.<BR>Failed to preset unit: Unit file
/etc/systemd/system/samba-ad-dc.service is
masked.<BR>/usr/bin/deb-systemd-helper: error: systemctl preset failed on
samba-ad-dc.service: No such file or directory<BR>Created symlink
/etc/systemd/system/multi-user.target.wants/smbd.service $B"*(B
/lib/systemd/system/smbd.service.<BR>Processing triggers for libc-bin (2.27-6)
...<BR>Processing triggers for initramfs-tools (0.132) ...<BR>update-initramfs:
Generating /boot/initrd.img-4.18.0-1-amd64<BR>Processing triggers for systemd
(239-9) ...</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2 face=Arial>ps fax <BR> 6128
? Ss 0:00
/usr/sbin/winbindd --foreground --no-process-group<BR> 6130
? S
0:00 \_ winbindd: domain child [DEBIAN9TEST]<BR> 6242
? S
0:00 \_ winbindd: idmap child<BR> 6243
? S
0:00 \_ winbindd: domain child [BUILTIN]<BR> 6238
? Ss 0:00
/usr/sbin/smbd --foreground --no-process-group<BR> 6240
? S
0:00 \_ /usr/sbin/smbd --foreground --no-process-group<BR> 6241
? S
0:00 \_ /usr/sbin/smbd --foreground --no-process-group<BR> 6244
? S
0:00 \_ /usr/sbin/smbd --foreground --no-process-group<BR> 6279
? Ss 0:00
/usr/sbin/nmbd --foreground --no-process-group</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><SPAN class=272110008-25092018><FONT size=2 face=Arial>i've now added
: </FONT></SPAN><SPAN class=272110008-25092018><FONT size=2 face=Arial>deb
<A href="http://ftp.nl.debian.org/debian/">http://ftp.nl.debian.org/debian/</A>
experimental main non-free contrib</FONT></SPAN></DIV>
<DIV><SPAN class=272110008-25092018><FONT size=2 face=Arial>to apt/sources.list
</FONT></SPAN></DIV>
<DIV><SPAN class=272110008-25092018><FONT size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=272110008-25092018><FONT size=2 face=Arial>And installing samba
with : apt-get install -t experimental samba winbind<BR></FONT></SPAN></DIV>
<DIV><SPAN class=272110008-25092018><FONT size=2 face=Arial>This files, screen
outputs are shown here. </DIV></FONT></SPAN>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=272110008-25092018>BUSTER,
</SPAN>Upgrade to 4.9.1<BR>Setting up samba-common-bin (2:4.9.1+dfsg-1)
...<BR>Checking smb.conf with testparm<BR>Load smb config files from
/etc/samba/smb.conf<BR>Loaded services file OK.<BR>Server role:
ROLE_STANDALONE</FONT></FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Done<BR>Setting up samba-dsdb-modules:amd64
(2:4.9.1+dfsg-1) ...<BR>Setting up winbind (2:4.9.1+dfsg-1) ...<BR>Setting up
samba (2:4.9.1+dfsg-1) ...<BR>Samba is not being run as an AD Domain Controller:
Masking samba-ad-dc.service<BR>Please ignore the following error about
deb-systemd-helper not finding those services.<BR>(samba-ad-dc.service already
masked)<BR>Job for smbd.service failed because the control process exited with
error code.<BR>See "systemctl status smbd.service" and "journalctl -xe" for
details.<BR>invoke-rc.d: initscript smbd, action "restart" failed.<BR>$B!|(B
smbd.service - Samba SMB Daemon<BR> Loaded: loaded
(/lib/systemd/system/smbd.service; enabled; vendor preset:
enabled)<BR> Active: failed (Result: exit-code) since Tue 2018-09-25
09:53:30 CEST; 8ms ago<BR> Docs:
man:smbd(8)<BR>
man:samba(7)<BR>
man:smb.conf(5)<BR> Process: 8904 ExecStart=/usr/sbin/smbd --foreground
--no-process-group $SMBDOPTIONS (code=exited, status=255)<BR> Main PID:
8904 (code=exited, status=255)</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Sep 25 09:53:30 debian9test systemd[1]: Starting
Samba SMB Daemon...<BR>Sep 25 09:53:30 debian9test systemd[1]: smbd.service:
Main process exited, code=exited, status=255/n/a<BR>Sep 25 09:53:30 debian9test
systemd[1]: smbd.service: Failed with result 'exit-code'.<BR>Sep 25 09:53:30
debian9test systemd[1]: Failed to start Samba SMB Daemon.<BR>dpkg: error
processing package samba (--configure):<BR> installed samba package
post-installation script subprocess returned error exit status 1<BR>Processing
triggers for libc-bin (2.27-6) ...<BR>Errors were encountered while
processing:<BR> samba<BR>E: Sub-process /usr/bin/dpkg returned an error
code (1)</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>apt-get remove winbind<BR>The following packages
will be REMOVED:<BR> winbind<BR>0 upgraded, 0 newly installed, 1 to remove
and 0 not upgraded.<BR>1 not fully installed or removed.<BR>After this
operation, 2,008 kB disk space will be freed.<BR>Do you want to continue?
[Y/n]<BR>(Reading database ... 45774 files and directories currently
installed.)<BR>Removing winbind (2:4.9.1+dfsg-1) ...<BR>Processing triggers for
libc-bin (2.27-6) ...<BR>Processing triggers for man-db (2.8.4-2) ...<BR>Setting
up samba (2:4.9.1+dfsg-1) ...<BR>Samba is not being run as an AD Domain
Controller: Masking samba-ad-dc.service<BR>Please ignore the following error
about deb-systemd-helper not finding those services.<BR>(samba-ad-dc.service
already masked)<BR>Failed to preset unit: Unit file
/etc/systemd/system/samba-ad-dc.service is
masked.<BR>/usr/bin/deb-systemd-helper: error: systemctl preset failed on
samba-ad-dc.service: No such file or directory<BR>Processing triggers for
libc-bin (2.27-6) ...</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><BR><FONT size=2 face=Arial>apt-get -f install<BR>Reading package lists...
Done<BR>Building dependency tree<BR>Reading state information... Done<BR>The
following packages were automatically installed and are no longer
required:<BR> dh-python libbind9-140 libdns162 libgmime-2.6-0 libicu57
libisc160 libisccc140 libisccfg140 liblwres141 libnotmuch4 libperl5.24
libpython3.5-minimal libpython3.5-stdlib linux-image-4.9.0-7-amd64<BR>
python3-distutils python3-lib2to3 python3.5 python3.5-minimal rename sgml-base
xml-core<BR>Use 'apt autoremove' to remove them.<BR>0 upgraded, 0 newly
installed, 0 to remove and 0 not upgraded.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>ps fax<BR> 9198
? Ss 0:00
/usr/sbin/smbd --foreground --no-process-group<BR> 9200
? S
0:00 \_ /usr/sbin/smbd --foreground --no-process-group<BR> 9201
? S
0:00 \_ /usr/sbin/smbd --foreground --no-process-group<BR> 9202
? S
0:00 \_ /usr/sbin/smbd --foreground --no-process-group<BR> 9237
? Ss 0:00
/usr/sbin/nmbd --foreground --no-process-group</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial> apt-get install winbind<BR> systemctl
start winbind<BR> <BR> ps fax<BR> 462
? S
0:00 \_ (sd-pam)<BR> 9198 ?
Ss 0:00 /usr/sbin/smbd --foreground
--no-process-group<BR> 9200 ?
S 0:00 \_ /usr/sbin/smbd --foreground
--no-process-group<BR> 9201 ?
S 0:00 \_ /usr/sbin/smbd --foreground
--no-process-group<BR> 9202 ?
S 0:00 \_ /usr/sbin/smbd --foreground
--no-process-group<BR> 9237 ?
Ss 0:00 /usr/sbin/nmbd --foreground
--no-process-group<BR> 9554 ?
Ss 0:00 /usr/sbin/winbindd --foreground
--no-process-group<BR> 9556 ?
S 0:00 \_ winbindd: domain child
[DEBIAN9TEST]</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial> <BR>reboot</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>ps fax | egrep "winbind|?mbd"<BR> 457
? Ss 0:00
/usr/sbin/nmbd --foreground --no-process-group<BR> 540
pts/0 S+
0:00
\_ grep -E winbind|?mbd<BR> 465
? Ss 0:00
/usr/sbin/winbindd --foreground --no-process-group<BR> 467
? S
0:00 \_ winbindd: domain child [DEBIAN9TEST]<BR> 472
? S
0:00 \_ winbindd: idmap child</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>and smbd isnt running anymore after the <SPAN
class=272110008-25092018>reboot</SPAN>.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>systemctl start smbd<BR>Job for smbd.service failed
because the control process exited with error code.<BR>See "systemctl status
smbd.service" and "journalctl -xe" for details.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>-- Unit smbd.service has begun starting up.<BR>Sep
25 09:58:49 debian9test systemd[1]: smbd.service: Main process exited,
code=exited, status=255/n/a<BR>Sep 25 09:58:49 debian9test systemd[1]:
smbd.service: Failed with result 'exit-code'.<BR>Sep 25 09:58:49 debian9test
systemd[1]: Failed to start Samba SMB Daemon.<BR>-- Subject: Unit smbd.service
has failed<BR>-- Defined-By: systemd<BR>-- Support: </FONT><A
href="https://www.debian.org/support"><FONT size=2
face=Arial>https://www.debian.org/support</FONT></A><BR><FONT size=2
face=Arial>--<BR>-- Unit smbd.service has failed.<BR>--<BR>-- The result is
RESULT.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>cat /var/log/samba/log.smbd<BR>[2018/09/25
09:52:11.431287, 0]
../lib/util/become_daemon.c:138(daemon_ready)<BR> daemon_ready:
STATUS=daemon 'smbd' finished starting up and ready to serve
connections<BR>[2018/09/25 09:53:30.808201, 0]
../source3/auth/auth_util.c:1382(make_new_session_info_guest)<BR>
create_local_token failed: NT_STATUS_ACCESS_DENIED<BR>[2018/09/25
09:53:30.808246, 0] ../source3/smbd/server.c:2000(main)<BR> ERROR:
failed to setup guest info.<BR>[2018/09/25 09:53:48.724111, 0]
../lib/util/become_daemon.c:138(daemon_ready)<BR> daemon_ready:
STATUS=daemon 'smbd' finished starting up and ready to serve
connections<BR>[2018/09/25 09:56:51.050810, 0]
../source3/auth/auth_util.c:1382(make_new_session_info_guest)<BR>
create_local_token failed: NT_STATUS_ACCESS_DENIED<BR>[2018/09/25
09:56:51.051352, 0] ../source3/smbd/server.c:2000(main)<BR> ERROR:
failed to setup guest info.<BR>[2018/09/25 09:58:34.429130, 0]
../source3/auth/auth_util.c:1382(make_new_session_info_guest)<BR>
create_local_token failed: NT_STATUS_ACCESS_DENIED<BR>[2018/09/25
09:58:34.429174, 0] ../source3/smbd/server.c:2000(main)<BR> ERROR:
failed to setup guest info.<BR>[2018/09/25 09:58:49.892008, 0]
../source3/auth/auth_util.c:1382(make_new_session_info_guest)<BR>
create_local_token failed: NT_STATUS_ACCESS_DENIED<BR>[2018/09/25
09:58:49.892053, 0] ../source3/smbd/server.c:2000(main)</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial> </FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV></BODY></HTML>