{"id":10669,"date":"2024-02-11T18:41:08","date_gmt":"2024-02-11T23:41:08","guid":{"rendered":"https:\/\/www.rushworth.us\/lisa\/?p=10669"},"modified":"2024-02-11T18:45:40","modified_gmt":"2024-02-11T23:45:40","slug":"samba-address-family-not-supported-by-protocol","status":"publish","type":"post","link":"https:\/\/www.rushworth.us\/lisa\/?p=10669","title":{"rendered":"Samba &#8211; Address family not supported by protocol"},"content":{"rendered":"<p>After upgrading to Fedora 39, we started having problems with Samba falling over on startup. The server has IPv6 disabled, and (evidently) something is not happy about that. I guess we could enable IPv6, but we don&#8217;t really <em>need<\/em> it.<\/p>\n<p>Adding the following to lines to the GLOBAL section of the smb.conf file and restarting samba sorted it:<\/p>\n<p><tt>bind interfaces only = yes<br \/>\ninterfaces = lo eth0<\/tt><\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2024\/02\/smb-bindtointerfaces.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10670\" src=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2024\/02\/smb-bindtointerfaces.png\" alt=\"\" width=\"1277\" height=\"240\" srcset=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2024\/02\/smb-bindtointerfaces.png 1277w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2024\/02\/smb-bindtointerfaces-300x56.png 300w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2024\/02\/smb-bindtointerfaces-1024x192.png 1024w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2024\/02\/smb-bindtointerfaces-768x144.png 768w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2024\/02\/smb-bindtointerfaces-750x141.png 750w\" sizes=\"auto, (max-width: 1277px) 100vw, 1277px\" \/><\/a><\/p>\n<p>Feb 11 06:26:01 systemd[1]: Started smb.service &#8211; Samba SMB Daemon.<br \/>\nFeb 11 06:26:01 smbd[1109]: [2024\/02\/11 06:26:01.285076, 0] ..\/..\/source3\/smbd\/server.c:1091(smbd_open_one_socket)<br \/>\nFeb 11 06:26:01 smbd[1109]: smbd_open_one_socket: open_socket_in failed: Address family not supported by protocol<br \/>\nFeb 11 06:26:01 smbd[1109]: [2024\/02\/11 06:26:01.290022, 0] ..\/..\/source3\/smbd\/server.c:1091(smbd_open_one_socket)<br \/>\nFeb 11 06:26:01 smbd[1109]: smbd_open_one_socket: open_socket_in failed: Address family not supported by protocol<br \/>\nFeb 11 08:01:43 systemd[1]: Stopping smb.service &#8211; Samba SMB Daemon&#8230;<br \/>\nFeb 11 08:01:43 systemd[1]: smb.service: Deactivated successfully.<br \/>\nFeb 11 08:01:43 systemd[1]: Stopped smb.service &#8211; Samba SMB Daemon.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After upgrading to Fedora 39, we started having problems with Samba falling over on startup. The server has IPv6 disabled, and (evidently) something is not happy about that. I guess we could enable IPv6, but we don&#8217;t really need it. Adding the following to lines to the GLOBAL section of the smb.conf file and restarting &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[30],"tags":[47,1291,294,867],"class_list":["post-10669","post","type-post","status-publish","format-standard","hentry","category-system-administration","tag-fedora","tag-ipv6","tag-linux","tag-samba"],"_links":{"self":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/10669","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10669"}],"version-history":[{"count":1,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/10669\/revisions"}],"predecessor-version":[{"id":10671,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/10669\/revisions\/10671"}],"wp:attachment":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10669"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10669"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10669"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}