Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Oct 2011 16:08:55 -0400
From:      Chris Brennan <xaero@xaerolimit.net>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Samba
Message-ID:  <CANLX3yjQTqyePb8fGV7UpQJE0UWE2rh%2BjVNc1_Q_mCn4dyQgPg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Greetings!

I have FreeBSD8.2 running on an x86 box and samba sharing a hardware
raid1 array with zfs ontop and something strange happened today. Samba
stopped accepting connections for some reason and I can't figure out why.
I'm not sure if this is freebsd-specific or if it's a samba-only issue. But
I can
note that it had been working fine for months, the box itself has been up
for
23 days w/o incident.

I don't get it, it was working this morning, I changed nothing (in fact,
this is
the first time I logged in as root in several days and there is no outside
access to this box). I connected to it this morning to map it's shares on my
laptop and then noticed I couldn't connect to those very same shares on my
desktop.

As you can see, samba is running and the port is open

[root@ziggy ~]# ps auxf | grep -e smbd -e nmbd
root  42252  0.0  0.2  7636  3704  ??  Ss    3:53PM   0:00.07
/usr/local/sbin/nmbd -D -s /usr/local/etc/smb.conf
root  42256  0.0  0.4 14616  7844  ??  Is    3:53PM   0:00.02
/usr/local/sbin/smbd -D -s /usr/local/etc/smb.conf
root  42258  0.0  0.4 14616  7776  ??  I     3:53PM   0:00.00
/usr/local/sbin/smbd -D -s /usr/local/etc/smb.conf
root  42472  0.0  0.1  3500  1248   0  S+    4:05PM   0:00.00 grep -e smbd
-e nmbd
[root@ziggy ~]# nmap -sT -p139 ziggy

Starting Nmap 5.59BETA1 ( http://nmap.org ) at 2011-10-05 16:05 EDT
Nmap scan report for ziggy (192.168.0.3)
Host is up (0.0022s latency).
rDNS record for 192.168.0.3: ziggy.xaerolimit.net
PORT    STATE SERVICE
139/tcp open  netbios-ssn

Nmap done: 1 IP address (1 host up) scanned in 0.09 seconds
[root@ziggy ~]#

So I don't get what gives.

> --
> Chris Brennan
> A: Yes.
> >Q: Are you sure?
> >>A: Because it reverses the logical flow of conversation.
> >>>Q: Why is top posting frowned upon?
> http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
> GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)
------------------------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANLX3yjQTqyePb8fGV7UpQJE0UWE2rh%2BjVNc1_Q_mCn4dyQgPg>