NS8 Samba Install Second IP Assignment

NethServer Version: NS8
Module: SAMBA

I’m sure there is a simple solution that I’m missing. Attempting to install SAMBA on a new NS8 installation using Alma Linux. When I assign the second IP address, as required, I obtain an error message indicating IP already in use, though I know it is not. I have blocks of 10 ip addresses at the bottom and top outside of the DHCP range. I have tried an IP from both sets that I know hasn’t been assigned. Can someone point me in the right direction? We’ve been running ClearOS 7 and I need to move away from it as quickly as possible.

Can you share the full error message? It should be in the Logs page.

Example; 2024-06-21T18:17:04-04:00 [1:samba6:agent@samba6] Address 192.168.123.2:53 bind failed: [Errno 98] Address already in use

You have another running DNS server that holds port 53. Please paste the output of

ss -tulpn | grep :53

As you have samba6, I suppose it is another Samba DC instance on that IP.

Only one DC can be running in a node, because they conflict on IP 127.0.0.1, as per Samba requirements.

As we do with all new users, a warm welcome to you too!

1 Like

Thank you. Looking forward to learning and implementing NS8 and subsequent releases for our networking needs. We were loyal ClearOS users from the initial evolution of Clark Connect to ClearOS 5, 6, and finally 7. It served us well and we were happy to support it.

Unfortunately, it became clear shortly after the ClearOS 7 release, the system was not long for the world as one by one the developers left and support dwindled. With the end of support for CentOS, NethServer appears the best positioned to meet our immediate and long term needs.

udp UNCONN 0 0 0.0.0.0:53 0.0.0.0:* users:((“dnsmasq”,pid=6735,fd=4))
udp UNCONN 0 0 0.0.0.0:5353 0.0.0.0:* users:((“avahi-daemon”,pid=1835,fd=12))
udp UNCONN 0 0 [::]:53 [::]:* users:((“dnsmasq”,pid=6735,fd=6))
udp UNCONN 0 0 [::]:5353 [::]:* users:((“avahi-daemon”,pid=1835,fd=13))
tcp LISTEN 0 32 0.0.0.0:53 0.0.0.0:* users:((“dnsmasq”,pid=6735,fd=5))
tcp LISTEN 0 32 [::]:53 [::]:* users:((“dnsmasq”,pid=6735,fd=7))

1 Like

DNSMasq is holding port 53: did you disable the DNS switch?

I did not. I will investigate how to do that now. Thank you for the tip.

I hadn’t completed the DNSMasq setup and attached it to one of the network adapters. Once I did this SAMBA was able to complete its installation.

1 Like