samba (2:4.5.12+dfsg-2+deb9u2) update issue

Questions about software.
mazzinia
Posts: 13
Joined: 08 Mar 2018 12:55

samba (2:4.5.12+dfsg-2+deb9u2) update issue

Postby mazzinia » 16 Mar 2018 00:28

Setting up samba (2:4.5.12+dfsg-2+deb9u2) fails, and the task is left pending ( post installation script ) so it's run every single time something else is installed. According to apt , 2:4.5.12+dfsg-2+deb9u2 is marked as installed.
And yes, nmbd doesn't really start , I've tried various times.
On top of this, in gadmin-samba I have 2 users with "unknown parameter encountered" as username, and the other fields mangled. I cannot delete them, nor change them.
If I check In users and group management, I see just my user and the samba guest account, passwd has nothing weird inside

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 nmbd.service failed because a timeout was exceeded.
See "systemctl status nmbd.service" and "journalctl -xe" for details.
invoke-rc.d: initscript nmbd, action "start" failed.
● nmbd.service - Samba NMB Daemon
Loaded: loaded (/lib/systemd/system/nmbd.service; enabled; vendor preset: enabled)
Active: failed (Result: timeout) since Thu 2018-03-15 20:59:07 CET; 86ms ago
Docs: man:nmbd(8)
man:samba(7)
man:smb.conf(5)
Process: 5396 ExecStart=/usr/sbin/nmbd $NMBDOPTIONS (code=killed, signal=TERM)
Main PID: 5396 (code=killed, signal=TERM)
Status: "nmbd: No local IPv4 non-loopback interfaces available, waiting for interface ..."

Mar 15 20:57:37 x31-solydxk nmbd[5395]: [2018/03/15 20:57:37.278789, …er)
Mar 15 20:57:37 x31-solydxk nmbd[5395]: Unknown parameter encountere…ed"
Mar 15 20:57:37 x31-solydxk nmbd[5395]: [2018/03/15 20:57:37.280210, …er)
Mar 15 20:57:37 x31-solydxk nmbd[5395]: Ignoring unknown parameter "…ed"
Mar 15 20:57:37 x31-solydxk nmbd[5396]: [2018/03/15 20:57:37.290037, …us)
Mar 15 20:57:37 x31-solydxk nmbd[5396]: STATUS=daemon 'nmbd' : No lo…6).
Mar 15 20:59:07 x31-solydxk systemd[1]: nmbd.service: Start operation …ng.
Mar 15 20:59:07 x31-solydxk systemd[1]: Failed to start Samba NMB Daemon.
Mar 15 20:59:07 x31-solydxk systemd[1]: nmbd.service: Unit entered fai…te.
Mar 15 20:59:07 x31-solydxk systemd[1]: nmbd.service: Failed with resu…t'.
Hint: Some lines were ellipsized, use -l to show in full.
dpkg: error processing package samba (--configure):
subprocess installed post-installation script returned error exit status 1

User avatar
ilu
Posts: 1912
Joined: 09 Oct 2013 12:45

Re: samba (2:4.5.12+dfsg-2+deb9u2) update issue

Postby ilu » 16 Mar 2018 07:42

So another one bites the samba dust .. post the output of the commands I mentioned in this thread: https://forums.solydxk.com/viewtopic.php?f=4&t=7209

mazzinia
Posts: 13
Joined: 08 Mar 2018 12:55

Re: samba (2:4.5.12+dfsg-2+deb9u2) update issue

Postby mazzinia » 16 Mar 2018 12:16

uh... seems that today nmbd magically decided to work ( it's 3 days I was battling those errors )...
yesterday I tried to change the allowed ips, but I don't remember anything else particular aside that some automatic updates were (with difficulty) installed, too.

anyway I just run dkpg --configure -a , the samba installation scrips started and completed finally ( and some triggers for libc-bin got processed, too ).

User avatar
ilu
Posts: 1912
Joined: 09 Oct 2013 12:45

Re: samba (2:4.5.12+dfsg-2+deb9u2) update issue

Postby ilu » 18 Mar 2018 01:03

Please don't forget to mark your opening post as "Solved".


Return to “Software”

Who is online

Users browsing this forum: No registered users and 3 guests