Ben
Samba failed to load with sysvint or systemd March 14, 2018 12:58PM |
Get:1 http://security.debian.org stretch/updates/main armel samba armel 2:4.5.12+dfsg-2+deb9u2 [870 kB] Fetched 870 kB in 0s (2094 kB/s) Selecting previously unselected package samba. (Reading database ... 24555 files and directories currently installed.) Preparing to unpack .../samba_2%3a4.5.12+dfsg-2+deb9u2_armel.deb ... Unpacking samba (2:4.5.12+dfsg-2+deb9u2) ... Processing triggers for libc-bin (2.24-11+deb9u3) ... Processing triggers for man-db (2.7.6.1-2) ... Setting up samba (2:4.5.12+dfsg-2+deb9u2) ... [FAIL] Starting SMB/CIFS daemon: smbd failed! invoke-rc.d: initscript smbd, action "start" failed. dpkg: error processing package samba (--configure): subprocess installed post-installation script returned error exit status 1 Processing triggers for libc-bin (2.24-11+deb9u3) ... Errors were encountered while processing: samba E: Sub-process /usr/bin/dpkg returned an error code (1)
Setting up samba (2:4.5.12+dfsg-2+deb9u2) ... Failed to preset unit: Unit file /etc/systemd/system/samba-ad-dc.service is masked. /usr/bin/deb-systemd-helper: error: systemctl preset failed on samba-ad-dc.service: No such file or directory Job for smbd.service failed because the control process exited with error code. See "systemctl status smbd.service" and "journalctl -xe" for details. invoke-rc.d: initscript smbd, action "start" failed. * smbd.service - Samba SMB Daemon Loaded: loaded (/lib/systemd/system/smbd.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Wed 2018-03-14 10:37:31 PDT; 152ms ago Docs: man:smbd(8) man:samba(7) man:smb.conf(5) Process: 689 ExecStart=/usr/sbin/smbd $SMBDOPTIONS (code=exited, status=1/FAILURE) Main PID: 689 (code=exited, status=1/FAILURE)
[2018/03/14 00:22:36.958472, 0] ../lib/util/become_daemon.c:124(daemon_ready) STATUS=daemon 'nmbd' finished starting up and ready to serve connections [2018/03/14 00:26:10.398689, 0] ../source3/nmbd/nmbd.c:58(terminate) Got SIGTERM: going down...
Ben
Re: Samba failed to load with sysvint or systemd March 14, 2018 02:44PM |
root@PogoMob:~# cat /etc/samba/smb.conf [global] workgroup = MSHOME netbios name = PogoMob security = share guest account = root domain master = yes local master = yes preferred master = yes hosts allow = 127.0.0.1 192.168.2.0/24 hosts deny = 0.0.0.0/0 [test] comment = Public Folder path = /media/flash/ guest ok = Yes read only = No
Ben
Re: Samba failed to load with sysvint or systemd March 14, 2018 03:12PM |
Ben
Re: Samba failed to load with sysvint or systemd March 14, 2018 04:16PM |