Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Samba Crashing with Network use.

Status
Not open for further replies.

Kasperpa

MIS
Oct 6, 2004
5
US
Hey guys, (New to the forum)

I am running RedHat 9, Kernel 2.4.20-8, Samba 3.0.7-1

Samba shares work fine, from all my client machines.. (IE: I can find them and map and view)

Transferring files, working directly off the share drive crashes the server, now it will work for a few times , minutes, then crash. I have to manually reboot the server. I have chanegd out the NIC, Cable, switched ports on switch, and upgraded to the 3.0.7-1 samba.

Can anyone help? pls :)

My smb.conf:

[global]

workgroup = ARBINC_DOMAIN
netbios name = arbsuisun
server string = ARB, Inc. File Server
printcap name = /etc/printcap
load printers = yes
printing = cups
log file = /var/log/samba/%m.log
max log size = 0
security = user
password level = 8
username level = 8
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
pam password change = yes
obey pam restrictions = yes

# Debug Options
deadtime = 60
debug uid = yes
debug pid = yes
oplocks = no
log level = 1
max connections = 50
max smbd processes = 50
hostname lookups = no
socket options = TCP_NODELAY SO_KEEPALIVE

dns proxy = no

#============================ Share Definitions ==============================
[homes]
comment = Home Directories
browseable = no
writable = yes
valid users = %S
create mode = 0664
directory mode = 0775
# If you want users samba doesn't recognize to be mapped to a guest user
; map to guest = bad user

[vscan-homes]
comment = Virus Check Share for Home Directories
path = /home
browseable = no
read only = no
preserve case = yes
short preserve case = yes
; NOTE: We don't follow symlinks. We'd be scanning the same files for
; every user on project X if we did. Over and over. Ugh.
follow symlinks = yes
force create mode = 0770
valid users = revans,virusman
admin users = revans,virusman
force user = root
; force group = mis
; share modes required by Norton Antivirus. This is BROKEN and is THEIR FAULT
; the concept here is that we want to be able to detect and possibly clean the
; file NO MATTER WHAT.
share modes = no


# NOTE: If you have a BSD-style print system there is no need to
# specifically define each individual printer
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
# Set public = yes to allow user 'guest account' to print
guest ok = no
writable = no
printable = yes


[web]
path = /web/
read only = no
browseable = yes
valid users = cslack ssummers revans

[temp]
comment = ARB T Drive
path = /arb/
public = yes
only guest = no
writable = yes
printable = no
; read only = no
; browseable = yes

[safety]
path = /var/ read only = no
browseable = yes
valid users = revans
 
Here is an error from smbd.log:

[2004/10/06 09:24:57, 0, pid=3095, effective(0, 0), real(0, 0)] lib/util_sock.c:get_peer_addr(1000)
getpeername failed. Error was Transport endpoint is not connected

and from a per user/pc log:

[2004/10/06 09:24:41, 0, pid=3093, effective(0, 0), real(0, 0)] lib/util_sock.c:write_socket(455)
write_socket: Error writing 4 bytes to socket 22: ERRNO = Connection reset by peer
[2004/10/06 09:24:41, 0, pid=3093, effective(0, 0), real(0, 0)] lib/util_sock.c:send_smb(647)
Error writing 4 bytes to client. -1. (Connection reset by peer)
 
It has crashed 7 times now in 2 hrs... just opening an excel file!! excel file located on the server.

Anyone help please :)

excel file is only 211k

please :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top