Jump to content

samba access freezes mandrake 10.1


Guest santoshp
 Share

Recommended Posts

Guest santoshp

I am running Samba 3.0.7 on Mandrake 10.1 (Official). I can access shared folders from WinXP PC. But after sometime (may be 20-25 mins) the connection to Mandrake is lost. Mandrake PC freezes and only option is to push "Reset" button or "Power Off". I can not even ping the linux box.

 

Just a background: Earlier on the same PC, I had Mandrake10.1 and WinXP dual boot and Samba was just great. Never got any issue with it.

 

Pls help.

Link to comment
Share on other sites

Guest santoshp
maybe u can try to check the logs of your linux to get some idea whats happening

 

I dont see anything unusual in logs. I noticed that machine is running, can hear fan sound but no graphics (black monitor). Also I can't ping the linux box.

Link to comment
Share on other sites

Guest santoshp
are you sure theres nothing in either /var/log/messages or the X log in /var/log? Without a bit more info its hard to diagnose - it could even be a hardware fault.

 

got into the logs... somehow missed these in first pass.

 

Here is the problem log (/var/log/messages)

----------------------------------------------------

Feb 28 22:26:29 localhost smb: smbd startup succeeded

Feb 28 22:26:29 localhost smb: nmbd startup succeeded

Feb 28 22:27:07 localhost smbd[559]: [2005/02/28 22:27:07, 0] lib/util_sock.c:ge

t_peer_addr(1000)

Feb 28 22:27:07 localhost smbd[559]: getpeername failed. Error was Transport e

ndpoint is not connected

Feb 28 22:27:07 localhost smbd[559]: [2005/02/28 22:27:07, 0] lib/util_sock.c:wr

ite_socket_data(430)

Feb 28 22:27:07 localhost smbd[559]: write_socket_data: write failure. Error =

Connection reset by peer

Feb 28 22:27:07 localhost smbd[559]: [2005/02/28 22:27:07, 0] lib/util_sock.c:wr

ite_socket(455)

Feb 28 22:27:07 localhost smbd[559]: write_socket: Error writing 4 bytes to so

cket 22: ERRNO = Connection reset by peer

Feb 28 22:27:07 localhost smbd[559]: [2005/02/28 22:27:07, 0] lib/util_sock.c:se

nd_smb(647)

Feb 28 22:27:07 localhost smbd[559]: Error writing 4 bytes to client. -1. (Con

nection reset by peer)

Feb 28 22:28:36 localhost kernel: NETDEV WATCHDOG: eth0: transmit timed out

Feb 28 22:28:36 localhost kernel: eth0: Transmit timed out, status 0000, PHY sta

tus 786d, resetting...

Feb 28 22:28:36 localhost kernel: eth0: link up, 100Mbps, full-duplex, lpa 0x45E

1

Feb 28 22:29:14 localhost su(pam_unix)[32023]: session closed for user root

Feb 28 22:29:19 localhost su(pam_unix)[30839]: session closed for user root

Feb 28 22:35:36 localhost syslogd 1.4.1: restart.

Feb 28 22:35:36 localhost kernel: klogd 1.4.1, log source = /proc/kmsg started.

Feb 28 22:35:36 localhost kernel: Inspecting /boot/System.map-2.6.8.1-12mdksmp

------------------------------------------------------------------------------

 

as it shows in the log, Mandrake hanged at Feb 28 22:29:19.

 

I powered off the box and restarted at Feb 28 22:35:36.

 

It seems its related to network, but can't understand why this makes linux freeze.

I had same box, exact same configuration, did not even tighten the screws :o , earlier with Mandrake10.0, never had any samba issue with that.

 

Pls post experiences.

 

Thanks in advance!

Edited by santoshp
Link to comment
Share on other sites

try to change your NIC, since you have there extra working PC.. try also to change the cable .... you mention earlier that you cant ping that box, maybe connection problem

 

try to issue $/sbin/ifconfig

verify if you have your NIC detected and if thereś an IP on it

Edited by aioshin
Link to comment
Share on other sites

  • 1 month later...
Guest carvalhoso

I have the same problem.

I try to change de NIC, the whole computer, don't have anything of stranger in the log.

 

The services is on:

- Samba

- Apache

- Proftpd

- Postfix

- Syslog

- ssh

- pop3

 

The computer that i chaged continued with Mandrake 10.1, without de Samba and the Postfix. Didn't freeze more...

 

There are 50-70 computers acessing de server.

 

 

 

Ps.: Mandrake is updated...

When the computer freezes it continues answering the ping (but no accepts connection).

 

Ps2.: Sorry, i don't write in English very well...

Edited by carvalhoso
Link to comment
Share on other sites

Guest carvalhoso
Have you checked for updates to samba from mandrakesoft?

 

I already updated for the mandrakesoft and for samba.org (version 3.0.13). It locked again...

I changed the NIC (SiS900, ee100pro, rtl8029 - ne2k-pci, rtl8139) and it wasn't solve.

Today (and yesterday) it locked in the same moment that the connection with the internet locked (the gateway is independent and DNS server are in another sub-net).

I am thinking about installing a DNS server to try if it solves the problem, no longer I know if the fault is of the SAMBA.

Edited by carvalhoso
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...