I facing this error message in my samba server which serve 20 Windows XP user that store their file in the server daily. I setup a FreeBSD 7.2 samba server on my machine. So far it working good :)
But the error that I get is so annoying but since the samba server is working fine, it's no big deal for me to check for more details.
As I'm searching on the net, I found one of the web site mention regarding getpeername error which is this site.
So we have to add a new option in our global configuration
Restart the samba service and monitor your messages logs if you encounter any error regarding getpeername. Good luck!
But the error that I get is so annoying but since the samba server is working fine, it's no big deal for me to check for more details.
Oct 12 09:51:02 opigateway smbd[1239]: [2009/10/12 09:51:02, 0] lib/util_sock.c:get_peer_addr_internal(1676)
Oct 12 09:51:02 opigateway smbd[1239]: getpeername failed. Error was Socket is not connected
Oct 12 09:51:02 opigateway smbd[1239]: [2009/10/12 09:51:02, 0] lib/util_sock.c:write_data(1136)
Oct 12 09:51:02 opigateway smbd[1239]: [2009/10/12 09:51:02, 0] lib/util_sock.c:get_peer_addr_internal(1676)
As I'm searching on the net, I found one of the web site mention regarding getpeername error which is this site.
So we have to add a new option in our global configuration
smb ports = 139
Restart the samba service and monitor your messages logs if you encounter any error regarding getpeername. Good luck!
Comments