Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SMB sharing dies





On 6/21/07, James Peach <email@hidden> wrote:
On Jun 20, 2007, at 8:53 AM, Alex M wrote:

> Hello,
>
> I am sharing a couple directories via SMB from a 10.4.9 server.  SMB
> seems to be dying after about day (at the most).  I get a bunch of
> these entries in /var/log/samba/log.smbd:
>
> [2007/06/20 08:41:22, 0] /SourceCache/samba/samba- 100.7/samba/
> source/lib/util_sock.c:get_peer_addr(1016)
>   getpeername failed. Error was Socket is not connected
> [2007/06/20 08:41:22, 0] /SourceCache/samba/samba-100.7/samba/source/
> lib/util_sock.c:read_socket_data(400)
>   read_socket_data: recv failure for 4. Error = Connection reset by
> peer

This means that the client dropped the TCP connection. It's normal.
You might see it if a client crashes or has it's network cable pulled.

>
>
> In /var/log/samba/log.nmbd I get:
>
> [2007/06/19 10:00:34, 0] /SourceCache/samba/samba-100.7/samba/source/
> nmbd/nmbd.c:terminate(56)
>   Got SIGTERM: going down...
> [2007/06/20 08:03:23, 0] /SourceCache/samba/samba-100.7/samba/source/
> nmbd/nmbd.c:main(668)
>   Netbios nameserver version 3.0.10 started.
>   Copyright Andrew Tridgell and the Samba Team 1994-2004
> [2007/06/20 08:09:02, 0] /SourceCache/samba/samba-100.7/samba/source/
> nmbd/nmbd_become_lmb.c:become_local_master_stage2(396)

This means that someone restarted nmbd. I'm not sure why this would
occur on your system, but unless you're seeing it all the time (eg.
every few minutes) I wouldn't worry too much about it.

I guess I should have quoted the logs a bit better - that was me restarting it by hand.  The service dies and does not start back up until I stop and start it.  In server admin it still shows that the service is running when it clearly isn't.  I haven't checked if the process actually stops via `ps`.

It appears pretty random -- I can't tie it to any actions on my end...

Thanks for the help!

-Alex
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden

References: 
 >SMB sharing dies (From: "Alex M" <email@hidden>)
 >Re: SMB sharing dies (From: James Peach <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.