Samba experts? nmbd constantly looping!

vash

Platinum Member
Feb 13, 2001
2,510
0
0
A few months back, I converted my Win2k server to linux/samba/cups/apache. All is relatively well (everything works), but I'm constantly getting nmbd looping errors. If I don't killall nmbd connections, it'll eat up all possible open files, then totally hang the machine, needing a reboot to fix it. My linux box is running Debian (woody/stable) and here are some config files:

smb.conf (the important area)

# Global parameters
[global]
passwd program = /usr/bin/passwd %u
obey pam restrictions = Yes
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .
encrypt passwords = Yes
server string = %h server (Samba %v)
syslog = 0
log file = /var/log/samba/log.%m
netbios name = Tunaroll
invalid users = root
max log size = 1000
hosts allow = 192.168.0.
workgroup = workgroup
security = server
preferred master = auto
admin users = vash
local master = yes
preferred master = auto
domain master = yes
create mask = 0775
directory mask = 0775
write cache size = 262144
level2 oplocks = yes
socket options = IPTOS_LOWDELAY TCP_NODELAY
log level = 1
read raw = yes
write raw = yes
oplocks = yes
max xmit = 65535
dead time = 5
getwd cache = yes
lpq cache time = 30
printcap name = cups
printing = cups
wins support = yes
interfaces = 192.168.0.40/24 127.0.0.1/8
bind interfaces only = yes

inetd.conf
netbios-ns dgram udp wait root /usr/sbin/tcpd /usr/sbin/nmbd -a
netbios-ssn stream tcp nowait root /usr/sbin/tcpd /usr/sbin/smbd
swa tstream tcp nowait.400 root /usr/sbin/tcpd /usr/sbin/swat

Here is what /var/log/daemon.log looks like for the looping errors:
Jul 25 07:27:34 tunaroll inetd[193]: /usr/sbin/tcpd: exit status 0x1
Jul 25 07:27:34 tunaroll nmbd[8774]: connect from tunaroll
Jul 25 07:27:34 tunaroll inetd[193]: /usr/sbin/tcpd: exit status 0x1
Jul 25 07:27:34 tunaroll nmbd[8776]: connect from tunaroll
Jul 25 07:27:34 tunaroll inetd[193]: /usr/sbin/tcpd: exit status 0x1
Jul 25 07:27:34 tunaroll nmbd[8778]: connect from tunaroll
Jul 25 07:27:34 tunaroll inetd[193]: /usr/sbin/tcpd: exit status 0x1
Jul 25 07:27:34 tunaroll nmbd[8780]: connect from tunaroll
Jul 25 07:27:34 tunaroll inetd[193]: /usr/sbin/tcpd: exit status 0x1
Jul 25 07:27:34 tunaroll inetd[193]: netbios-ns/udp server failing (looping), service terminated

This error happens quite frequently and just fills up /var/logdaemon.log. The goal of the Samba is to serve files, WINS and printing via CUPS, I believe the config of smb.conf is correct. If anyone wants another log file posted, or has other questions, I'll be glad to post back.

vash
 

cleverhandle

Diamond Member
Dec 17, 2001
3,566
3
81
I don't have Samba on a Debian box handy, but I'd guess something like dpkg-reconfigure samba might give you the option.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |