[Samba] Device WinDfs error

Kevin Bailey kbailey at freewayprojects.com
Sun Apr 29 18:59:00 GMT 2007


Hi,

Have recently upgraded from Samba 2.2 on Debian Woody to Samba 3.0.24-6 
on Debian Etch.

Some PC's have now reported errors similar to this one.

Windows - delay write failed.
Windows was unable to save all the data for the file
\Device\WinDfs\H:0000000000186bf9\psctpdc\bpeters\thunderbird\ImapMail\10.1.1.10\INBOX.msf
The data has been lost.
This error may be caused by a failure of your computer hardware or 
network connection.


This seems to be related to when the users are using Thunderbird.  
Thunderbird on each PC is set up to use a profile which is stored under 
the users H: drive which is the home folder supplied by Samba.  All the 
profiles are set to pick up mail over IMAP and the actual mail is stored 
under a Maildir in each users home directory.

Funny thing is that I can't see an INBOX.msf file anywhere.  I'm not 
sure what Windows is trying to do here.

The server runs dual SCSI HDD's as RAID 1 from an adaptec SCSI RAID 2110s.

uname -a gives
Linux psctpdc 2.6.18-4-486 #1 Mon Mar 26 16:39:10 UTC 2007 i686 GNU/Linux

and this is the output from the samba log file which I fairly sure is 
the right PC on the day when the error appeared.


Thanks for any help.

[2007/04/23 08:42:11, 1] smbd/service.c:make_connection_snum(950)
  xp4 (10.1.1.144) connect to service netlogon initially as user bpeters 
(uid=1007, gid=1007) (pid 25434)
[2007/04/23 08:42:14, 1] smbd/service.c:make_connection_snum(950)
  xp4 (10.1.1.144) connect to service bpeters initially as user bpeters 
(uid=1007, gid=1007) (pid 25434)
[2007/04/23 08:42:24, 1] smbd/service.c:make_connection_snum(950)
  xp4 (10.1.1.144) connect to service bksb initially as user bpeters 
(uid=1007, gid=1007) (pid 25434)
[2007/04/23 08:42:25, 1] smbd/service.c:make_connection_snum(950)
  xp4 (10.1.1.144) connect to service public initially as user bpeters 
(uid=1007, gid=1007) (pid 25434)
[2007/04/23 08:50:00, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 08:50:00, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 08:52:46, 1] smbd/service.c:close_cnum(1150)
  xp4 (10.1.1.144) closed connection to service public
[2007/04/23 08:52:46, 1] smbd/service.c:close_cnum(1150)
  xp4 (10.1.1.144) closed connection to service bksb
[2007/04/23 08:52:46, 1] smbd/service.c:close_cnum(1150)
  xp4 (10.1.1.144) closed connection to service netlogon
[2007/04/23 09:02:56, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 09:02:56, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 09:07:45, 1] smbd/service.c:make_connection_snum(950)
  xp4 (10.1.1.144) connect to service bksb initially as user bpeters 
(uid=1007, gid=1007) (pid 25434)
[2007/04/23 09:16:01, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 09:16:01, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 09:18:01, 1] smbd/service.c:close_cnum(1150)
  xp4 (10.1.1.144) closed connection to service bksb
[2007/04/23 09:29:03, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 09:29:03, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 09:42:05, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 09:42:05, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 09:55:01, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 09:55:01, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 10:08:00, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 10:08:00, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 10:21:00, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 10:21:00, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 10:34:00, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 10:34:00, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 10:47:00, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 10:47:00, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 11:00:00, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 11:00:00, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 11:05:00, 1] smbd/service.c:close_cnum(1150)
  xp4 (10.1.1.144) closed connection to service bpeters
[2007/04/23 11:20:46, 1] smbd/service.c:make_connection_snum(950)
  xp4 (10.1.1.144) connect to service bpeters initially as user bpeters 
(uid=1007, gid=1007) (pid 26616)
[2007/04/23 11:31:22, 1] smbd/service.c:close_cnum(1150)
  xp4 (10.1.1.144) closed connection to service bpeters
[2007/04/23 11:34:42, 1] smbd/service.c:make_connection_snum(950)
  xp4 (10.1.1.144) connect to service bpeters initially as user bpeters 
(uid=1007, gid=1007) (pid 26738)
[2007/04/23 11:48:06, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 11:48:06, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 12:01:20, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 12:01:20, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 12:15:19, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 12:15:19, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 12:28:26, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 12:28:26, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 12:41:26, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 12:41:26, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 12:54:18, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 12:54:18, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 13:07:18, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 13:07:18, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 13:21:33, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 13:21:33, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 13:34:19, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 13:34:19, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 13:47:21, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 13:47:21, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 14:00:47, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 14:00:47, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 14:13:47, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 14:13:47, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 14:26:40, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 14:26:40, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 14:38:26, 0] lib/util_sock.c:write_data(562)
  write_data: write failure in writing to client 10.1.1.144. Error 
Connection reset by peer
[2007/04/23 14:38:26, 0] lib/util_sock.c:send_smb(769)
  Error writing 4 bytes to client. -1. (Connection reset by peer)
[2007/04/23 14:39:12, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 14:39:12, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 14:43:10, 1] smbd/service.c:make_connection_snum(950)
  xp4 (10.1.1.144) connect to service netlogon initially as user bpeters 
(uid=1007, gid=1007) (pid 28092)
[2007/04/23 14:43:11, 1] smbd/service.c:make_connection_snum(950)
  xp4 (10.1.1.144) connect to service bpeters initially as user bpeters 
(uid=1007, gid=1007) (pid 28092)
[2007/04/23 14:43:15, 1] smbd/service.c:make_connection_snum(950)
  xp4 (10.1.1.144) connect to service bksb initially as user bpeters 
(uid=1007, gid=1007) (pid 28092)
[2007/04/23 14:43:16, 1] smbd/service.c:make_connection_snum(950)
  xp4 (10.1.1.144) connect to service public initially as user bpeters 
(uid=1007, gid=1007) (pid 28092)
[2007/04/23 14:52:12, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 14:52:12, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 14:52:27, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 14:52:27, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 14:53:39, 1] smbd/service.c:close_cnum(1150)
  xp4 (10.1.1.144) closed connection to service public
[2007/04/23 14:53:39, 1] smbd/service.c:close_cnum(1150)
  xp4 (10.1.1.144) closed connection to service bksb
[2007/04/23 14:54:09, 1] smbd/service.c:close_cnum(1150)
  xp4 (10.1.1.144) closed connection to service netlogon
[2007/04/23 14:57:23, 0] lib/util_sock.c:read_data(534)
  read_data: read failure for 4 bytes to client 10.1.1.144. Error = 
Connection timed out
[2007/04/23 14:57:23, 1] smbd/service.c:close_cnum(1150)
  xp4 (10.1.1.144) closed connection to service bpeters
[2007/04/23 15:07:09, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 15:07:09, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 15:20:30, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 15:20:30, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 15:33:27, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 15:33:27, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 15:46:34, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 15:46:34, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 15:59:48, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 15:59:48, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/04/23 16:06:21, 1] smbd/service.c:close_cnum(1150)
  xp4 (10.1.1.144) closed connection to service bpeters
[2007/04/23 16:20:28, 1] smbd/service.c:make_connection_snum(950)
  xp4 (10.1.1.144) connect to service bpeters initially as user bpeters 
(uid=1007, gid=1007) (pid 28859)
[2007/04/23 16:20:49, 1] smbd/service.c:close_cnum(1150)
  xp4 (10.1.1.144) closed connection to service bpeters



More information about the samba mailing list