1826372 Members
4625 Online
109692 Solutions
New Discussion

Re: Samba errors

 
dictum9
Super Advisor

Samba errors

I am getting the following error, over and over again.

tail -f /usr/local/samba/var/logs/machine_name.log


write_socket_data: write failure. Error = Broken pipe
[2005/12/02 08:51:42, 0] lib/util_sock.c:(499)
write_socket_data: write failure. Error = Broken pipe
[2005/12/06 12:33:01, 0] lib/util_sock.c:(499)
write_socket_data: write failure. Error = Broken pipe
6 REPLIES 6
dictum9
Super Advisor

Re: Samba errors


P.S. Some accounts are having problems writing files, some work sometimes. What does this all mean?

This is on HP-UX 11.0.
Geoff Wild
Honored Contributor

Re: Samba errors

Try stop/start samba...

What version are you running?

what /opt/samba/bin/smbd

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
dictum9
Super Advisor

Re: Samba errors


HP CIFS Server: Version: A.01.11.04 based on Samba version: 2.2.12
Geoff Wild
Honored Contributor

Re: Samba errors

I have had that before - it may just be a setting...

In smb.conf, try:

keepalive = 0
client schannel = No

and if running wins:

winbind enum users = No
winbind enum groups = No

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Sameer_Nirmal
Honored Contributor

Re: Samba errors

Hi,

These errors are socket errors showing "write failure" occured while writing socket data at client side.

I guess you have Windows 2K clients for which you are getting these errors. If these clients shutdown or reboots, such errors are logged in.

You need to put a parameter

keepalive = 0 in the /etc/opt/samba/smb.conf

To get rid of those messages.
Sameer_Nirmal
Honored Contributor

Re: Samba errors

Hi again,

Need to mention...

After adding/changing the parameter in the smb.conf file , you need to re start the samba using

# /sbin/init.d/samba stop
# /sbin/init.d/samba start