I have problems with Samba

Joel Hammer Joel at HammersHome.com
Tue Oct 2 19:54:06 GMT 2001


No idea but things to try/think about until you fall over the obvious answer:
Is smbd running after this error?
Is this error generated when you try to connect from the NT box?
The error code Tuberia rota looks like a nonEnglish thingee for something
broken. What does it mean in English?
If you can understand  C, try looking at the source code in
/lib/utils/util_socket.c, search for write failure and sniff around the code
for some inspiration.
Use tcpdump to see what packets are entering and leaving your samba box.
What does system error 121 mean in windows?
What does telnet chimera 139 do?
On my machine, which works, I get:
Trying 192.168.0.6...
Connected to jhammer6.jhammer.org.
Escape character is '^]'.        
Then, it just hangs. Have to kill it with kill -15.
Does netstat -an | less should show you something like:
tcp   0  0 0.0.0.0:139   0.0.0.0:*    LISTEN 
That means your samba box is listening on port 139 for connections.
Joel
> Hello!
> 
> I've installed SAMBA (redhat 6.1) I'm trying to connect from a NT
> Workstation, but i can't connect.
> When i do ping, it works (response time < 10ms)
> I can access to this machine withought problems via TCP/IP (telnet...)
> When i type the command "net view \\chimera" from within a "dos prompt"
> window i get :
> "System error 121"
> 
> When I look at the log file i can see this:
> 
> [2001/10/02 13:36:25, 0] lib/util_sock.c:write_socket_data(570)
>   write_socket_data: write failure. Error = Tubería rota
> [2001/10/02 13:36:25, 0] lib/util_sock.c:write_socket(596)
>   write_socket: Error writing 4 bytes to socket 7: ERRNO = Tubería rota
> [2001/10/02 13:36:25, 0] lib/util_sock.c:send_smb(784)
>   Error writing 4 bytes to client. -1. Exiting
> 




More information about the samba mailing list