Quantcast
Channel: Serbian Tech » samba
Viewing all articles
Browse latest Browse all 3

SAMBA – open_once_socket: open_socket_in: Address aldready in use. – Solution

$
0
0

I was getting really frustrating about “Address already in use” warning each time
starting SAMBA and from time to time entering my main logs.

The warning was :

Jun 26 10:32:18 server1 smbd[13902]: [2012/06/26 10:32:18.286523, 0] smbd/server.c:500(smbd_open_one_socket)
Jun 26 10:32:18 server1 smbd[13902]: smbd_open_once_socket: open_socket_in: Address already in use

There is a solution. If you are not using IPv6 then we are good to go.

Just disable IPv6 globally on your Linux System.

echo 1 >> /proc/sys/net/ipv6/conf/all/disable_ipv6

Or you could also just configure it in sysctl.conf to have it across reboots.

echo " " >> /etc/sysctl.conf
echo "# Disable IPv6 Globally" >> /etc/sysctl.conf
echo "net.ipv6.conf.all.disable_ipv6 = 1" >> /etc/sysctl.conf
sysctl -p

No more “address aldready in use” bullshit entering your main log files… :)


Viewing all articles
Browse latest Browse all 3

Latest Images

Trending Articles





Latest Images