[Samba] Running Samba 2.2.2 on Solaris

Pierce, Shawn D
2002-06-24T07:27:23Z

Hi all. This is my first time posting here so please be patient with me.
Currently running SAMBA 2.2.2 on a Solaris 2.6 server to allow an automated
program to access data created and stored on the Unix machine. For the most
part this works perfectly but about 20% of the time it will fail with the
error below ( Captured using tail -f and got very lucky ). If I immediately
retry the process it reads the file in correctly. I have a number of servers
all over that are doing the same things and some are failing with more
frequency than others. Has anyone seen this error or have an idea where to
start looking for the root cause?

	[2002/06/24 14:19:22, 0] lib/util_sock.c:get_socket_addr(1038)
	  getpeername failed. Error was Transport endpoint is not connected
	[2002/06/24 14:19:22, 2] tdb/tdbutil.c:tdb_log(342)
	  tdb(/usr/local/samba/var/locks/connections.tdb): tdb_mmap failed
for size 1638
	4 (Resource temporarily unavailable)
	[2002/06/24 14:19:23, 0] lib/util_sock.c:write_socket_data(542)
	  write_socket_data: write failure. Error = Broken pipe
	[2002/06/24 14:19:23, 0] lib/util_sock.c:write_socket(565)
	  write_socket: Error writing 4 bytes to socket 4: ERRNO = Broken
pipe
	[2002/06/24 14:19:23, 0] lib/util_sock.c:send_smb(729)
	  Error writing 4 bytes to client. -1. (Broken pipe)
	[2002/06/24 14:19:23, 3] smbd/sec_ctx.c:set_sec_ctx(320)
	  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
	[2002/06/24 14:19:23, 2] smbd/server.c:exit_server(458)
	  Closing connections
	[2002/06/24 14:19:23, 3] smbd/connection.c:yield_connection(50)
	  Yielding connection to
	[2002/06/24 14:19:28, 0] lib/util_sock.c:get_socket_addr(1038)
	  getpeername failed. Error was Transport endpoint is not connected
	[2002/06/24 14:19:28, 2] tdb/tdbutil.c:tdb_log(342)
	  tdb(/usr/local/samba/var/locks/connections.tdb): tdb_mmap failed
for size 1638
	4 (Resource temporarily unavailable)
	[2002/06/24 14:19:28, 0] lib/util_sock.c:write_socket_data(542)
	  write_socket_data: write failure. Error = Broken pipe
	[2002/06/24 14:19:28, 0] lib/util_sock.c:write_socket(565)
	  write_socket: Error writing 4 bytes to socket 4: ERRNO = Broken
pipe
	[2002/06/24 14:19:28, 0] lib/util_sock.c:send_smb(729)
	  Error writing 4 bytes to client. -1. (Broken pipe)
	[2002/06/24 14:19:28, 3] smbd/sec_ctx.c:set_sec_ctx(320)
	  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
	[2002/06/24 14:19:28, 2] smbd/server.c:exit_server(458)
	  Closing connections
	[2002/06/24 14:19:28, 3] smbd/connection.c:yield_connection(50)
	  Yielding connection to
	[2002/06/24 14:19:33, 0] lib/util_sock.c:get_socket_addr(1038)
	  getpeername failed. Error was Transport endpoint is not connected
	[2002/06/24 14:19:33, 2] tdb/tdbutil.c:tdb_log(342)
	  tdb(/usr/local/samba/var/locks/connections.tdb): tdb_mmap failed
for size 1638
	4 (Resource temporarily unavailable)
	[2002/06/24 14:19:33, 0] lib/util_sock.c:write_socket_data(542)
	  write_socket_data: write failure. Error = Broken pipe
	[2002/06/24 14:19:33, 0] lib/util_sock.c:write_socket(565)
	  write_socket: Error writing 4 bytes to socket 4: ERRNO = Broken
pipe
	[2002/06/24 14:19:33, 0] lib/util_sock.c:send_smb(729)
	  Error writing 4 bytes to client. -1. (Broken pipe)
	[2002/06/24 14:19:33, 3] smbd/sec_ctx.c:set_sec_ctx(320)
	  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
	[2002/06/24 14:19:33, 2] smbd/server.c:exit_server(458)
	  Closing connections
	[2002/06/24 14:19:33, 3] smbd/connection.c:yield_connection(50)
	  Yielding connection to
	[2002/06/24 14:19:42, 3] smbd/server.c:exit_server(493)
	  Server exit (process_smb: send_smb failed.
	  )
	[2002/06/24 14:19:42, 3] smbd/server.c:exit_server(493)
	  Server exit (process_smb: send_smb failed.
	  )
	[2002/06/24 14:19:42, 3] smbd/server.c:exit_server(493)
	  Server exit (process_smb: send_smb failed.
	  )
	[2002/06/24 14:19:45, 0] lib/util_sock.c:get_socket_addr(1038)
	  getpeername failed. Error was Transport endpoint is not connected
	[2002/06/24 14:19:45, 2] tdb/tdbutil.c:tdb_log(342)
	  tdb(/usr/local/samba/var/locks/connections.tdb): tdb_mmap failed
for size 1638
	4 (Resource temporarily unavailable)
	[2002/06/24 14:19:45, 0] lib/util_sock.c:write_socket_data(542)
	  write_socket_data: write failure. Error = Broken pipe
	[2002/06/24 14:19:45, 0] lib/util_sock.c:write_socket(565)
	  write_socket: Error writing 4 bytes to socket 4: ERRNO = Broken
pipe
	[2002/06/24 14:19:45, 0] lib/util_sock.c:send_smb(729)
	  Error writing 4 bytes to client. -1. (Broken pipe)
	[2002/06/24 14:19:45, 3] smbd/sec_ctx.c:set_sec_ctx(320)
	  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
	[2002/06/24 14:19:45, 2] smbd/server.c:exit_server(458)
	  Closing connections
	[2002/06/24 14:19:45, 3] smbd/connection.c:yield_connection(50)
	  Yielding connection to
	[2002/06/24 14:19:48, 3] smbd/server.c:exit_server(493)
	  Server exit (process_smb: send_smb failed.
	  )

Thank you,
 Shawn Pierce
 Shawn.D.Pierce@intel.com