← Back to team overview

enterprise-support team mailing list archive

Re: [Question #683698]: version `SAMBA_4.10.7' not found (libraries) in Samba 4.10.8

 

Question #683698 on samba in Ubuntu changed:
https://answers.launchpad.net/ubuntu/+source/samba/+question/683698

Tommaso Molesti posted a new comment:
I solved the prevoius problems, following a guide I installed winbind but "winbind.service" does not work correctly.
This is the output of the status of this daemon.


root@nas:/home/tommaso# systemctl status winbind.service
● winbind.service - Samba Winbind Daemon
   Loaded: loaded (/lib/systemd/system/winbind.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Tue 2019-09-10 09:15:48 UTC; 2min 2s ago
     Docs: man:winbindd(8)
           man:samba(7)
           man:smb.conf(5)
  Process: 3016 ExecStart=/usr/sbin/winbindd --foreground --no-process-group $WINBINDOPTIONS (code=exited, status=1/FAILURE)
 Main PID: 3016 (code=exited, status=1/FAILURE)

Sep 10 09:15:48 nas systemd[1]: Starting Samba Winbind Daemon...
Sep 10 09:15:48 nas systemd[1]: winbind.service: Main process exited, code=exited, status=1/FAILURE
Sep 10 09:15:48 nas systemd[1]: winbind.service: Failed with result 'exit-code'.
Sep 10 09:15:48 nas systemd[1]: Failed to start Samba Winbind Daemon.


This is the output of "systemctl status smbd.service nmbd.service samba-
ad-dc.service"


root@nas:/home/tommaso# systemctl status smbd.service nmbd.service samba-ad-dc.service
● smbd.service - Samba SMB Daemon
   Loaded: loaded (/lib/systemd/system/smbd.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Tue 2019-09-10 09:16:31 UTC; 1s ago
     Docs: man:smbd(8)
           man:samba(7)
           man:smb.conf(5)
  Process: 3055 ExecStart=/usr/sbin/smbd --foreground --no-process-group $SMBDOPTIONS (code=exited, status=1/FAILURE)
 Main PID: 3055 (code=exited, status=1/FAILURE)

Sep 10 09:16:31 nas systemd[1]: Starting Samba SMB Daemon...
Sep 10 09:16:31 nas smbd[3055]: [2019/09/10 09:16:31.624380,  0] ../../source3/smbd/server.c:1850(main)
Sep 10 09:16:31 nas smbd[3055]:   server role = 'active directory domain controller' not compatible with running smbd standalone.
Sep 10 09:16:31 nas smbd[3055]:   You should start 'samba' instead, and it will control starting smbd if required
Sep 10 09:16:31 nas systemd[1]: smbd.service: Main process exited, code=exited, status=1/FAILURE
Sep 10 09:16:31 nas systemd[1]: smbd.service: Failed with result 'exit-code'.
Sep 10 09:16:31 nas systemd[1]: Failed to start Samba SMB Daemon.

● nmbd.service - Samba NMB Daemon
   Loaded: loaded (/lib/systemd/system/nmbd.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Tue 2019-09-10 09:16:31 UTC; 1s ago
     Docs: man:nmbd(8)
           man:samba(7)
           man:smb.conf(5)
  Process: 3056 ExecStart=/usr/sbin/nmbd --foreground --no-process-group $NMBDOPTIONS (code=exited, status=1/FAILURE)
 Main PID: 3056 (code=exited, status=1/FAILURE)

Sep 10 09:16:31 nas systemd[1]: Starting Samba NMB Daemon...
Sep 10 09:16:31 nas nmbd[3056]: [2019/09/10 09:16:31.570953,  0] ../../source3/nmbd/nmbd.c:921(main)
Sep 10 09:16:31 nas nmbd[3056]:   server role = 'active directory domain controller' not compatible with running nmbd standalone.
Sep 10 09:16:31 nas nmbd[3056]:   You should start 'samba' instead, and it will control starting the internal nbt server
Sep 10 09:16:31 nas systemd[1]: nmbd.service: Main process exited, code=exited, status=1/FAILURE
Sep 10 09:16:31 nas systemd[1]: nmbd.service: Failed with result 'exit-code'.
Sep 10 09:16:31 nas systemd[1]: Failed to start Samba NMB Daemon.

● samba-ad-dc.service - Samba Active Directory Domain Controller
   Loaded: loaded (/etc/systemd/system/samba-ad-dc.service; enabled; vendor preset: enabled)
   Active: active (running) since Tue 2019-09-10 09:16:31 UTC; 1s ago
  Process: 3057 ExecStart=/usr/sbin/samba -D (code=exited, status=0/SUCCESS)
 Main PID: 3069 (samba)
    Tasks: 21 (limit: 9830)
   CGroup: /system.slice/samba-ad-dc.service
           ├─3069 samba: root process
           ├─3101 samba: task[s3fs_parent]
           ├─3102 samba: task[dcesrv]
           ├─3103 samba: task[nbtd]
           ├─3105 samba: tfork waiter process
           ├─3108 samba: task[wrepl]
           ├─3109 /usr/sbin/smbd -D --option=server role check:inhibit=yes --foreground
           ├─3110 samba: task[ldapsrv]
           ├─3111 samba: task[cldapd]
           ├─3112 samba: task[kdc]
           ├─3114 samba: task[dreplsrv]
           ├─3115 samba: task[winbindd_parent]
           ├─3116 samba: task[ntp_signd]
           ├─3117 samba: tfork waiter process
           ├─3118 samba: task[kccsrv]
           ├─3119 /usr/sbin/winbindd -D --option=server role check:inhibit=yes --foreground
           ├─3120 samba: task[dnsupdate]
           ├─3121 samba: task[dns]
           ├─3133 /usr/sbin/smbd -D --option=server role check:inhibit=yes --foreground
           ├─3134 /usr/sbin/smbd -D --option=server role check:inhibit=yes --foreground
           └─3136 /usr/sbin/smbd -D --option=server role check:inhibit=yes --foreground

Sep 10 09:16:32 nas samba[3120]: task[dnsupdate][3120]: [2019/09/10 09:16:32.586143,  0] ../../lib/util/util_runcmd.c:327(samba_runcmd_io_handler)
Sep 10 09:16:32 nas samba[3120]: task[dnsupdate][3120]:   /usr/sbin/samba_dnsupdate:     elif not check_dns_name(d):
Sep 10 09:16:32 nas samba[3120]: task[dnsupdate][3120]: [2019/09/10 09:16:32.586198,  0] ../../lib/util/util_runcmd.c:327(samba_runcmd_io_handler)
Sep 10 09:16:32 nas samba[3120]: task[dnsupdate][3120]:   /usr/sbin/samba_dnsupdate:   File "/usr/sbin/samba_dnsupdate", line 324, in check_dns_name
Sep 10 09:16:32 nas samba[3120]: task[dnsupdate][3120]: [2019/09/10 09:16:32.586281,  0] ../../lib/util/util_runcmd.c:327(samba_runcmd_io_handler)
Sep 10 09:16:32 nas samba[3120]: task[dnsupdate][3120]:   /usr/sbin/samba_dnsupdate:     raise Exception("Unable to contact a working DNS server while looking for %s as %s"
Sep 10 09:16:32 nas samba[3120]: task[dnsupdate][3120]: [2019/09/10 09:16:32.586351,  0] ../../lib/util/util_runcmd.c:327(samba_runcmd_io_handler)
Sep 10 09:16:32 nas samba[3120]: task[dnsupdate][3120]:   /usr/sbin/samba_dnsupdate: Exception: Unable to contact a working DNS server while looking for A nas.marconinew.lo
Sep 10 09:16:32 nas samba[3120]: task[dnsupdate][3120]: [2019/09/10 09:16:32.637838,  0] ../../source4/dsdb/dns/dns_update.c:331(dnsupdate_nameupdate_done)
Sep 10 09:16:32 nas samba[3120]: task[dnsupdate][3120]:   dnsupdate_nameupdate_done: Failed DNS update with exit code 1

-- 
You received this question notification because your team Ubuntu
Server/Client Support Team is an answer contact for samba in Ubuntu.