Error message Solaris 8 /var/adm/messages

David Collier-Brown David.Collier-Brown at Sun.COM
Tue Apr 27 12:59:59 GMT 2004


Larry Paulson wrote:
> Could you please help me troubleshoot these error messages that receive
> within my Solaris 8 /var/adm/messages file: <<trussy.txt>> 

	Overview: client or networking problems!


> Apr 25 06:01:25 mojo smbd[27108]: [ID 702911 daemon.error] [2004/04/25 06:01:25, 0] lib/util_sock.c:(1010)
> Apr 25 06:01:25 mojo smbd[27108]: [ID 702911 daemon.error]   getpeername failed. Error was Transport endpoint is not connected

	The socket has become disconnected, so a query for the ip
	address ("peername") of the machine at the other end failed.


> Apr 25 06:01:25 mojo smbd[27108]: [ID 702911 daemon.error] [2004/04/25 06:01:25, 0] lib/util_sock.c:(497)
> Apr 25 06:01:25 mojo smbd[27108]: [ID 702911 daemon.error]   write_socket_data: write failure. Error = Broken pipe
> Apr 25 06:01:25 mojo smbd[27108]: [ID 702911 daemon.error] [2004/04/25 06:01:25, 0] lib/util_sock.c:(522)
> Apr 25 06:01:25 mojo smbd[27108]: [ID 702911 daemon.error]   write_socket: Error writing 4 bytes to socket 5: ERRNO = Broken pipe
> Apr 25 06:01:25 mojo smbd[27108]: [ID 702911 daemon.error] [2004/04/25 06:01:25, 0] lib/util_sock.c:(702)
> Apr 25 06:01:25 mojo smbd[27108]: [ID 702911 daemon.error]   Error writing 4 bytes to client. -1. (Broken pipe)

	And now we get an EPIPE, reported three times from different
	 operations.


	Your samba logs should be showing disconenctions and
	probably reconnections.

	This mat be a bad hub, cable or router, or you may
	have a bad client. Look at the Samba logs to see
	which one it is.

	PC clients assume the server may crash at any time
	(which used to be very true!) and try to recover
	from that without "bothering" the user with error
	messages. This tends to make networking and client
	TCP problems **really** hard to diagnose.

--dave
-- 
David Collier-Brown,       | Always do right. This will gratify
Sun Microsystems,          | some people and astonish the rest.
Toronto, Ontario,          |                      -- Mark Twain
(905) 415-2849 or x52849   | davecb at canada.sun.com




More information about the samba-technical mailing list