Hi there everyone!
One of the users complained to me that yesterday, he suddenly couldn't
access the network. He was online the whole day, then suddenly at around
6:45pm he couldn't write. A restart of his workstation rendered him
completely disconnected from the Samba domain.
Server is running Samba 2.0.6 on a RedHat 6.0 machine with Linux kernel
2.2.13. Client is running Windows95 OSR2 with a Xircom Cardbus Ethernet II
NIC. The drivers used by the client are updated, and the machine is
connected directly to the ethernet switch to which the server is
connected.
I checked the logs and found a lot of these (that's ... 5 screens worth?
Didn't count anymore):
[1999/12/07 18:46:06, 0] lib/util_sock.c:write_socket_data(537)
write_socket_data: write failure. Error = Broken pipe
[1999/12/07 18:46:06, 0] lib/util_sock.c:write_socket(563)
write_socket: Error writing 4 bytes to socket 6: ERRNO = Broken pipe
[1999/12/07 18:46:06, 0] lib/util_sock.c:send_smb(751)
Error writing 4 bytes to client. -1. Exiting
Would anyone know why these happen? I don't know where to start working on
solving my problem with this connectivity (I can't just tell this
particular user to live with the problem, he's the CEO, my boss,
hahaha!!!).
BTW, FWIW, I'm also the one who had the problem with my Samba not being
able to perform my socket options for some wierd reason, my logs for that
problem read:
[1999/12/06 07:08:00, 0] lib/util_sock.c:set_socket_options(148)
Failed to set socket option SO_KEEPALIVE (Error Bad file descriptor)
[1999/12/06 07:08:00, 0] lib/util_sock.c:set_socket_options(148)
Failed to set socket option TCP_NODELAY (Error Bad file descriptor)
[1999/12/06 07:08:00, 0] lib/util_sock.c:set_socket_options(148)
Failed to set socket option IPTOS_LOWDELAY (Error Bad file descriptor)
[1999/12/06 07:08:00, 0] lib/util_sock.c:set_socket_options(148)
Failed to set socket option SO_KEEPALIVE (Error Bad file descriptor)
[1999/12/06 07:08:00, 0] lib/util_sock.c:set_socket_options(148)
Failed to set socket option SO_SNDBUF (Error Bad file descriptor)
[1999/12/06 07:08:00, 0] lib/util_sock.c:set_socket_options(148)
Failed to set socket option SO_RCVBUF (Error Bad file descriptor)
Also for whatever it's worth, I've recompiled my Samba, now using EGCS
1.1.2-12 (before I was using GCC 2.95.1 and thought maybe that was where
my problem lay). My optimization flags are: "-O3 -mpentiumpro
-march=pentiumpro -malign-loops=2 -malign-jumps=2 -malign-functions=2".
The server is on a Celeron 400 with 128MB of RAM. :-)
Please help!!! Solutions would be great, other people saying this is their
problem too would be great too (for notes comparison), and people with
explanations to these (personally) cryptic messages would be great also!
I'm no super-techie, so all help will be most appreciated!
BTW, if it's not too much to ask, please CC me in your reply at
<jijo@leather-collection.com> as I am not subscribed to the list. I will
just check it regularly via the web interface. :-)
Thanks again! :-)
[ Jijo Sevilla ]
[ jijo@leather-collection.com ]