[Samba] Problems after upgrade Samba 4

L.P.H. van Belle belle at bazuin.nl
Tue Jul 23 13:51:58 UTC 2019


Hai, 

If you run : apt-get dist-upgrade
Does it show extra packages to install, if yes, do so, if no. 

Can you run this for me and mail it to me. 
wget https://github.com/thctlo/samba4/blob/master/samba-collect-debug-info.sh
bash samba-collect-debug-info.sh

Greetz, 

Louis
 

> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens 
> Marcio Demetrio Bacci via samba
> Verzonden: dinsdag 23 juli 2019 15:41
> Aan: samba at lists.samba.org
> Onderwerp: [Samba] Problems after upgrade Samba 4
> 
> Hi,
> 
> I upgraded my Samba 4.5.16 installed (by apt-get) on Debian 
> 9.9 to Samba
> 4.10 through the Van Belle repository (apt.van-belle.nl).
> 
> apt-get install -t stretch-samba410 samba attr winbind libpam-winbind
> libnss-winbind libpam-krb5 krb5-config krb5-user bind9 ctdb ldb-tools
> smbldap-tools ufw glusterfs-common libcephfs1
> 
> The packages "bind9 ctdb ldb-tools smbldap-tools ufw glusterfs-common
> libcephfs1" were suggesteds by apt-get command itself.
> 
> However, Samba 4 has stopped working as follows:
> 
> 
> tail -n 50 /var/log/syslog
> Jul 23 10:19:25 samba4-dc systemd[1]: Starting Samba AD Daemon...
> Jul 23 10:19:25 samba4-dc liblogging-stdlog: action 'action 
> 14' resumed
> (module 'builtin:omfwd') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
> Jul 23 10:19:25 samba4-dc liblogging-stdlog: action 'action 
> 14' resumed
> (module 'builtin:omfwd') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
> Jul 23 10:19:25 samba4-dc samba: root process[823]: [2019/07/23
> 10:19:25.547350,  0] ../../source4/smbd/server.c:587(binary_smbd_main)
> Jul 23 10:19:25 samba4-dc samba: root process[823]:   samba version
> 4.10.6-Debian started.
> Jul 23 10:19:25 samba4-dc samba: root process[823]:   Copyright Andrew
> Tridgell and the Samba Team 1992-2019
> Jul 23 10:19:25 samba4-dc samba: root process[823]: [2019/07/23
> 10:19:25.942586,  0] ../../source4/smbd/server.c:773(binary_smbd_main)
> Jul 23 10:19:25 samba4-dc samba: root process[823]:   
> binary_smbd_main:
> samba: using 'standard' process model
> Jul 23 10:19:26 samba4-dc samba: task[dns][838]: [2019/07/23
> 10:19:26.025682,  0]
> ../../source4/smbd/service_stream.c:374(stream_setup_socket)
> Jul 23 10:19:26 samba4-dc samba: task[dns][838]:   
> stream_setup_socket:
> Failed to listen on :::53 - NT_STATUS_ADDRESS_ALREADY_ASSOCIATED
> Jul 23 10:19:26 samba4-dc samba: task[dns][838]: [2019/07/23
> 10:19:26.025819,  0]
> ../../source4/dns_server/dns_server.c:649(dns_add_socket)
> Jul 23 10:19:26 samba4-dc samba: task[dns][838]:   Failed to 
> bind to :::53
> TCP - NT_STATUS_ADDRESS_ALREADY_ASSOCIATED
> Jul 23 10:19:26 samba4-dc samba: task[dns][838]: [2019/07/23
> 10:19:26.025879,  0]
> ../../source4/smbd/service_stream.c:374(stream_setup_socket)
> Jul 23 10:19:26 samba4-dc samba: task[dns][838]:   
> stream_setup_socket:
> Failed to listen on 0.0.0.0:53 - NT_STATUS_ADDRESS_ALREADY_ASSOCIATED
> Jul 23 10:19:26 samba4-dc samba: task[dns][838]: [2019/07/23
> 10:19:26.025909,  0]
> ../../source4/dns_server/dns_server.c:649(dns_add_socket)
> Jul 23 10:19:26 samba4-dc samba: task[dns][838]:   Failed to bind to
> 0.0.0.0:53 TCP - NT_STATUS_ADDRESS_ALREADY_ASSOCIATED
> Jul 23 10:19:26 samba4-dc samba: task[dns][838]: [2019/07/23
> 10:19:26.025930,  0]
> ../../source4/smbd/service_task.c:36(task_server_terminate)
> Jul 23 10:19:26 samba4-dc samba: task[dns][838]:   
> task_server_terminate:
> task_server_terminate: [dns failed to setup interfaces]
> Jul 23 10:19:26 samba4-dc samba: root process[823]: [2019/07/23
> 10:19:26.026957,  0] ../../source4/smbd/server.c:371(samba_terminate)
> Jul 23 10:19:26 samba4-dc samba: root process[823]:   samba_terminate:
> samba_terminate of samba 823: dns failed to setup interfaces
> Jul 23 10:19:26 samba4-dc systemd[1]: samba-ad-dc.service: 
> Main process
> exited, code=exited, status=1/FAILURE
> Jul 23 10:19:26 samba4-dc samba: task[ldapsrv][829]: [2019/07/23
> 10:19:26.654493,  0]
> ../../source4/smbd/process_standard.c:84(sigterm_signal_handler)
> Jul 23 10:19:26 samba4-dc samba: task[ldapsrv][829]:
> sigterm_signal_handler: Exiting pid 829 on SIGTERM
> Jul 23 10:19:26 samba4-dc systemd[1]: Failed to start Samba AD Daemon.
> Jul 23 10:19:26 samba4-dc systemd[1]: samba-ad-dc.service: 
> Unit entered
> failed state.
> Jul 23 10:19:26 samba4-dc systemd[1]: samba-ad-dc.service: Failed with
> result 'exit-code'.
> 
> 
> Follow my file smb.conf
> 
> root at samba4-dc:~# cat /etc/samba/smb.conf
> # Global parameters
> [global]
> netbios name = SAMBA4-DC
> realm = EMPRESA.COM.BR
> workgroup = EMPRESA
> server role = active directory domain controller
> 
> [netlogon]
> path = /var/lib/samba/sysvol/empresa.com.br/scripts
> read only = No
> 
> [sysvol]
> path = /var/lib/samba/sysvol
> read only = No
> 
> 
> Regards,
> 
> Márcio Bacci
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
> 
> 




More information about the samba mailing list