[Samba] Upgrade From 4.0.16 To 4.0.17+ Breaks

David Minard david at scem.uws.edu.au
Tue Jun 24 06:02:54 MDT 2014


G'day Guys,

	I've hit a snag.  After using S4 from Alpha, beta, rc, 4.0.1..16 with success, I wanted to upgrade to the 4.1 series.  However, after compiling, installing, and provisioning, with no errors, samba4 won't start correctly.  I did a few tests by installing from scratch, on the same server each of the following versions (4.0.17, 4.0.18, 4.0.19, and 4.1.9), and got the same errors in log.samba.  Samba4.0.16, on the same server runs flawlessly.  I'm running on Centos6.5_64 with the latest updates as of today.  I've spend a few days with Google, but I couldn't find anything helpful.

The log.samba on all failed versions is:

[2014/06/24 13:18:42.373592,  0] ../source4/smbd/server.c:371(binary_smbd_main)
 samba version 4.0.17 started.
 Copyright Andrew Tridgell and the Samba Team 1992-2012
[2014/06/24 13:18:42.888921,  0] ../source4/smbd/server.c:489(binary_smbd_main)
 samba: using 'standard' process model
[2014/06/24 13:18:43.041274,  0] ../source4/lib/tls/tlscert.c:70(tls_cert_generate)
 Attempting to autogenerate TLS self-signed keys for https for hostname 'SAMBA4-00.samba4.scem.uws.edu.au'
[2014/06/24 13:18:43.107987,  0] ../source4/rpc_server/dcerpc_server.c:1708(add_socket_rpc_tcp_iface)
 service_setup_stream_socket(address=::,port=0) failed - NT_STATUS_INVALID_PARAMETER_MIX
[2014/06/24 13:18:43.108357,  0] ../source4/smbd/service_task.c:35(task_server_terminate)
 task_server_terminate: [Failed to startup dcerpc server task]
[2014/06/24 13:18:43.124097,  0] ../source4/cldap_server/cldap_server.c:134(cldapd_add_socket)
 Failed to bind to ipv6::::389 - NT_STATUS_INVALID_PARAMETER_MIX
[2014/06/24 13:18:43.124490,  0] ../source4/smbd/service_task.c:35(task_server_terminate)
 task_server_terminate: [cldapd failed to setup interfaces]
[2014/06/24 13:18:43.191985,  0] ../source4/kdc/kdc.c:672(kdc_add_socket)
 Failed to bind to :::88 TCP - NT_STATUS_INVALID_PARAMETER_MIX
[2014/06/24 13:18:43.192295,  0] ../source4/smbd/service_task.c:35(task_server_terminate)
 task_server_terminate: [kdc failed to setup interfaces]
[2014/06/24 13:18:43.326184,  0] ../source4/smbd/server.c:211(samba_terminate)
 samba_terminate: Failed to startup dcerpc server task
[2014/06/24 13:18:43.428995,  0] ../source4/dns_server/dns_server.c:616(dns_add_socket)
 Failed to bind to :::53 TCP - NT_STATUS_INVALID_PARAMETER_MIX
[2014/06/24 13:18:43.429280,  0] ../source4/smbd/service_task.c:35(task_server_terminate)
 task_server_terminate: [dns failed to setup interfaces]
[2014/06/24 13:18:43.641975,  0] ../source4/lib/tls/tlscert.c:166(tls_cert_generate)
 TLS self-signed keys generated OK
[2014/06/24 13:18:44.963337,  0] ../source4/ldap_server/ldap_server.c:821(add_socket)
 ldapsrv failed to bind to :::389 - NT_STATUS_INVALID_PARAMETER_MIX
[2014/06/24 13:18:44.963530,  0] ../source4/smbd/service_task.c:35(task_server_terminate)
 task_server_terminate: [Failed to startup ldap server task]


log.smbd:

[2014/06/24 21:36:37,  0] ../source3/smbd/server.c:1208(main)
 smbd version 4.0.19 started.
 Copyright Andrew Tridgell and the Samba Team 1992-2012
[2014/06/24 21:36:37.756792,  0] ../source3/smbd/server.c:1288(main)
 standard input is not a socket, assuming -D option
[2014/06/24 21:36:39.601954,  0] ../source3/lib/util_sock.c:423(open_socket_in)
 open_socket_in(): socket() call failed: Address family not supported by protocol
[2014/06/24 21:36:39.602302,  0] ../source3/smbd/server.c:692(smbd_open_one_socket)
 smbd_open_once_socket: open_socket_in: Address family not supported by protocol
[2014/06/24 21:36:39.641975,  0] ../source3/lib/util_sock.c:423(open_socket_in)
 open_socket_in(): socket() call failed: Address family not supported by protocol
[2014/06/24 21:36:39.642185,  0] ../source3/smbd/server.c:692(smbd_open_one_socket)
 smbd_open_once_socket: open_socket_in: Address family not supported by protocol


	It all points to samba trying to set up IPv6 bindings, but it cannot.  Any ideas why this might be?  How can I resolve it?  What changed from beyond version 4.0.16 that would cause this issue?

Cheers,
David Minard.
Ph:    0247 360 155
Fax:    0247 360 770

School of Computing, Engineering, and Mathematics
Building Y - Penrith Campus (Kingswood)
Locked bag 1797
Penrith South DC
NSW 1797

[Sometimes waking up just isn't worth the insult of the day to come.]


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the samba mailing list