Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Strange Samba Problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
DooMi
Tux's lil' helper
Tux's lil' helper


Joined: 03 May 2004
Posts: 103
Location: /dev/null

PostPosted: Mon Nov 26, 2007 5:30 pm    Post subject: Strange Samba Problem Reply with quote

good evening guys 8)

i got a really strange samba problem on my fresh installed gentoo box.

the problem

i'm trying to reinject a backup from a ~40gb big folder. in this folder are 4-5mb files. the backup is on my windows xp machine.
now i'm trying to copy the folder to my samba share and after a random timeframe windows tells me an error that the connection was resetted and copying failed.

the logs

Code:

/var/log/samba/log.smbd

[2007/11/26 18:25:39, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/11/26 18:25:39, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!


Code:

/var/log/samba/log.client

[2007/11/26 18:25:39, 0] lib/util_sock.c:read_data(534)
  read_data: read failure for 4 bytes to client 192.168.1.2. Error = Connection reset by peer
[2007/11/26 18:25:39, 0] lib/util_sock.c:write_data(562)
  write_data: write failure in writing to client 192.168.1.2. Error Broken pipe
[2007/11/26 18:25:39, 0] lib/util_sock.c:send_smb(769)
  Error writing 75 bytes to client. -1. (Broken pipe)
[2007/11/26 18:25:39, 1] smbd/service.c:make_connection_snum(1033)
  monster (192.168.1.2) connect to service data initially as user mc (uid=1000, gid=440) (pid 7505)


the solution (?)

i already searched a bit and read different threads, where - 2006 - somebody talks about a shorewall problem: watched shorewall logs, nothing relating to smbd problems.
in a newer post - summer 2007 - a guy talks about setting the mounted share to chmod 777: already tryed, not solving the problem.

now what should i do next? any experts? any user with same experience who got it solved?

thanks in advance,
doomi
_________________
cyrex ~ # ./vpenis
--- Weeee! Congrats! Your VPenis is actually 356.8 cm long ---
Back to top
View user's profile Send private message
godish
n00b
n00b


Joined: 05 Oct 2004
Posts: 50
Location: Boston MA

PostPosted: Wed Nov 28, 2007 5:30 am    Post subject: Reply with quote

any errors in the kernel logs?
run dmesg and see if it spews out any disk read/write errors.

I would also check your network cables (anything layer 1).
_________________
Nobody makes me bleed my own blood... NOBODY!
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Wed Nov 28, 2007 12:49 pm    Post subject: Reply with quote

try to stop samba, remove all files in /var/cache/samba and subdirs (the subdirs must be cleaned but not deleted), and restart it.
_________________
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum