Hi, i have a lot of entries in my logs which i can't solve, but everything works as expected. my setup: samba pdc - bacula samba bdc - mule Ubuntu 10.04-LTS Server samba 3.4.7 log file entries: Aug 1 08:25:40 bacula smbd[23854]: canonicalize_connect_path failed for service alex, path /\\mule\alex Aug 1 08:25:41 bacula smbd[23854]: [2012/08/01 08:25:41, 0] smbd/service.c:988(make_connection_snum) Aug 1 08:25:41 bacula smbd[23854]: canonicalize_connect_path failed for service alex, path /\\mule\alex Aug 1 08:25:44 bacula smbd[24003]: [2012/08/01 08:25:44, 0] lib/util_sock.c:1498(get_peer_addr_internal) Aug 1 08:25:44 bacula smbd[24003]: getpeername failed. Error was Transport endpoint is not connected Aug 1 08:25:44 bacula smbd[24003]: [2012/08/01 08:25:44, 0] lib/util_sock.c:743(write_data) Aug 1 08:25:44 bacula smbd[24003]: [2012/08/01 08:25:44, 0] lib/util_sock.c:1498(get_peer_addr_internal) Aug 1 08:25:44 bacula smbd[24003]: getpeername failed. Error was Transport endpoint is not connected Aug 1 08:25:44 bacula smbd[24003]: write_data: write failure in writing to client 0.0.0.0. Error Connection reset by peer Aug 1 08:25:44 bacula smbd[24003]: [2012/08/01 08:25:44, 0] smbd/process.c:62(srv_send_smb) Aug 1 08:25:44 bacula smbd[24003]: Error writing 4 bytes to client. -1. (Transport endpoint is not connected) Aug 1 08:26:07 bacula smbd[24002]: [2012/08/01 08:26:07, 0] lib/util_sock.c:539(read_fd_with_timeout) Aug 1 08:26:07 bacula smbd[24002]: [2012/08/01 08:26:07, 0] lib/util_sock.c:1498(get_peer_addr_internal) Aug 1 08:26:07 bacula smbd[24002]: getpeername failed. Error was Transport endpoint is not connected Aug 1 08:26:07 bacula smbd[24002]: read_fd_with_timeout: client 0.0.0.0 read error = Connection reset by peer. any hints how to resolve this? thanks juergen
Am 01.08.2012 09:17, schrieb J?rgen Echter:> Hi, > > i have a lot of entries in my logs which i can't solve, but everything > works as expected. > > my setup: > > samba pdc - bacula > samba bdc - mule > Ubuntu 10.04-LTS Server > samba 3.4.7 > > log file entries: > > Aug 1 08:25:40 bacula smbd[23854]: canonicalize_connect_path failed > for service alex, path /\\mule\alex > Aug 1 08:25:41 bacula smbd[23854]: [2012/08/01 08:25:41, 0] > smbd/service.c:988(make_connection_snum) > Aug 1 08:25:41 bacula smbd[23854]: canonicalize_connect_path failed > for service alex, path /\\mule\alex > Aug 1 08:25:44 bacula smbd[24003]: [2012/08/01 08:25:44, 0] > lib/util_sock.c:1498(get_peer_addr_internal) > Aug 1 08:25:44 bacula smbd[24003]: getpeername failed. Error was > Transport endpoint is not connected > Aug 1 08:25:44 bacula smbd[24003]: [2012/08/01 08:25:44, 0] > lib/util_sock.c:743(write_data) > Aug 1 08:25:44 bacula smbd[24003]: [2012/08/01 08:25:44, 0] > lib/util_sock.c:1498(get_peer_addr_internal) > Aug 1 08:25:44 bacula smbd[24003]: getpeername failed. Error was > Transport endpoint is not connected > Aug 1 08:25:44 bacula smbd[24003]: write_data: write failure in > writing to client 0.0.0.0. Error Connection reset by peer > Aug 1 08:25:44 bacula smbd[24003]: [2012/08/01 08:25:44, 0] > smbd/process.c:62(srv_send_smb) > Aug 1 08:25:44 bacula smbd[24003]: Error writing 4 bytes to client. > -1. (Transport endpoint is not connected) > Aug 1 08:26:07 bacula smbd[24002]: [2012/08/01 08:26:07, 0] > lib/util_sock.c:539(read_fd_with_timeout) > Aug 1 08:26:07 bacula smbd[24002]: [2012/08/01 08:26:07, 0] > lib/util_sock.c:1498(get_peer_addr_internal) > Aug 1 08:26:07 bacula smbd[24002]: getpeername failed. Error was > Transport endpoint is not connected > Aug 1 08:26:07 bacula smbd[24002]: read_fd_with_timeout: client > 0.0.0.0 read error = Connection reset by peer. > > any hints how to resolve this? > > thanks > > juergen > >Hi, i resolved this ones by setting smb ports = 139 in smb.conf but i still have this ones: Aug 5 20:55:18 bacula smbd[20419]: [2012/08/05 20:55:18, 0] rpc_server/srv_netlog_nt.c:603(_netr_ServerAuthenticate3) Aug 5 20:55:18 bacula smbd[20419]: _netr_ServerAuthenticate3: netlogon_creds_server_check failed. Rejecting auth request from client SERVER machine account SERVER$ these are only from successfully joined windows 7 machines. the ldap entry, exported as ldif, looks like this for this account: uid=server$,ou=computers,dc=workgroup,dc=local dn: uid=server$,ou=computers,dc=workgroup,dc=local cn: server$ description: Computer gecos: Computer gidnumber: 515 homedirectory: /dev/null loginshell: /bin/false objectclass: posixAccount objectclass: account objectclass: sambaSamAccount sambaacctflags: [W ] sambakickofftime: 2147483647 sambalogofftime: 2147483647 sambalogontime: 0 sambantpassword: 951640BFE27F4C16E7670E096C8121FA sambaprimarygroupsid: S-1-5-21-3842863818-2180709222-141296495-515 sambapwdcanchange: 0 sambapwdlastset: 1344165203 sambapwdmustchange: 2147483647 sambasid: S-1-5-21-3842863818-2180709222-141296495-3458 uid: server$ uidnumber: 1229 anyone with some hints? :) thanks juergen
Vladimiro Sabino
2013-Jan-17 23:42 UTC
[Samba] samba 3 - getting rid of some logfile errors
J?rgen Echter <j.echter <at> echter-kuechen-elektro.de> writes:> > Hi, > > i have a lot of entries in my logs which i can't solve, but everything > works as expected. > > my setup: > > samba pdc - bacula > samba bdc - mule > Ubuntu 10.04-LTS Server > samba 3.4.7 > > log file entries: > > Aug 1 08:25:40 bacula smbd[23854]: canonicalize_connect_path failed forservice alex, path /\\mule\alex> Aug 1 08:25:41 bacula smbd[23854]: [2012/08/01 08:25:41, 0]smbd/service.c:988(make_connection_snum)> Aug 1 08:25:41 bacula smbd[23854]: canonicalize_connect_path failed forservice alex, path /\\mule\alex> Aug 1 08:25:44 bacula smbd[24003]: [2012/08/01 08:25:44, 0]lib/util_sock.c:1498(get_peer_addr_internal)> Aug 1 08:25:44 bacula smbd[24003]: getpeername failed. Error was Transportendpoint is not connected> Aug 1 08:25:44 bacula smbd[24003]: [2012/08/01 08:25:44, 0]lib/util_sock.c:743(write_data)> Aug 1 08:25:44 bacula smbd[24003]: [2012/08/01 08:25:44, 0]lib/util_sock.c:1498(get_peer_addr_internal)> Aug 1 08:25:44 bacula smbd[24003]: getpeername failed. Error was Transportendpoint is not connected> Aug 1 08:25:44 bacula smbd[24003]: write_data: write failure in writing toclient 0.0.0.0. Error> Connection reset by peer > Aug 1 08:25:44 bacula smbd[24003]: [2012/08/01 08:25:44, 0]smbd/process.c:62(srv_send_smb)> Aug 1 08:25:44 bacula smbd[24003]: Error writing 4 bytes to client. -1.(Transport endpoint is not connected)> Aug 1 08:26:07 bacula smbd[24002]: [2012/08/01 08:26:07, 0]lib/util_sock.c:539(read_fd_with_timeout)> Aug 1 08:26:07 bacula smbd[24002]: [2012/08/01 08:26:07, 0]lib/util_sock.c:1498(get_peer_addr_internal)> Aug 1 08:26:07 bacula smbd[24002]: getpeername failed. Error was Transportendpoint is not connected> Aug 1 08:26:07 bacula smbd[24002]: read_fd_with_timeout: client 0.0.0.0read error = Connection reset> by peer. > > any hints how to resolve this? > > thanks > > juergen >Hello Juergen, I also have the same exact error messages in SMBD log?s: lib/util_sock.c:1498(get_peer_addr_internal and lib/util_sock.c:539(read_fd_with_timeout) we use Ubuntu Server 10.4 (Samba 3.4.7) Member server everything works ok two...We have an Active Directory 2008 domain Did you get to solve this problems? Vladimiro Sabino
hi, 2012/8/1 J?rgen Echter <j.echter at echter-kuechen-elektro.de>:> Hi, > > i have a lot of entries in my logs which i can't solve, but everything works > as expected. > > my setup: > > samba pdc - bacula > samba bdc - mule > Ubuntu 10.04-LTS Server > samba 3.4.7 > > log file entries: > > Aug 1 08:25:40 bacula smbd[23854]: canonicalize_connect_path failed for > service alex, path /\\mule\alex > Aug 1 08:25:41 bacula smbd[23854]: [2012/08/01 08:25:41, 0] > smbd/service.c:988(make_connection_snum) > Aug 1 08:25:41 bacula smbd[23854]: canonicalize_connect_path failed for > service alex, path /\\mule\alex > Aug 1 08:25:44 bacula smbd[24003]: [2012/08/01 08:25:44, 0] > lib/util_sock.c:1498(get_peer_addr_internal) > Aug 1 08:25:44 bacula smbd[24003]: getpeername failed. Error was > Transport endpoint is not connected > Aug 1 08:25:44 bacula smbd[24003]: [2012/08/01 08:25:44, 0] > lib/util_sock.c:743(write_data) > Aug 1 08:25:44 bacula smbd[24003]: [2012/08/01 08:25:44, 0] > lib/util_sock.c:1498(get_peer_addr_internal) > Aug 1 08:25:44 bacula smbd[24003]: getpeername failed. Error was > Transport endpoint is not connected > Aug 1 08:25:44 bacula smbd[24003]: write_data: write failure in writing > to client 0.0.0.0. Error Connection reset by peer > Aug 1 08:25:44 bacula smbd[24003]: [2012/08/01 08:25:44, 0] > smbd/process.c:62(srv_send_smb) > Aug 1 08:25:44 bacula smbd[24003]: Error writing 4 bytes to client. -1. > (Transport endpoint is not connected) > Aug 1 08:26:07 bacula smbd[24002]: [2012/08/01 08:26:07, 0] > lib/util_sock.c:539(read_fd_with_timeout) > Aug 1 08:26:07 bacula smbd[24002]: [2012/08/01 08:26:07, 0] > lib/util_sock.c:1498(get_peer_addr_internal) > Aug 1 08:26:07 bacula smbd[24002]: getpeername failed. Error was > Transport endpoint is not connected > Aug 1 08:26:07 bacula smbd[24002]: read_fd_with_timeout: client 0.0.0.0 > read error = Connection reset by peer. > > any hints how to resolve this?getpeername() is a normal libc function defined in sys/socket.h so if samba defined an error belongs to getpeername it is a usual DNS resolve error and specified the clients hostname could not resolved by the samba host. Hope this help Greetings, Bj?rn
Maybe Matching Threads
- roaming profiles - one file can't be copied to server
- windows7 and samba 3.4.7 in Ubuntu 10.04 LTS
- Samba + LDAP + SMBLDAP-Tools + Roaming Profiles
- The trust relationship between this workstation and the primary domain failed.
- win 7 client can't map drive: getpeername failed