I don't get that, but then I'm running samba from rc3.d: the
messages you see are inetd seeing something odd with nmbd.
I generally recommend against using inetd with samba, unless
you only have one or two very-occasional users.
The "looping" message is a warning about the application
misbehaving:
if it doesn't consume UDP packets before exiting, inetd spots that
and puts out that particular message.
[Put Sun hat on]
If you have a service contract, tell your salesperson that you
I think you may have an inetd bug, number 4335695
It's harmless, by the way...
[Take Sun hat off]
I reccomend you use an S95samba.server script in /etc/rc3.d:
mine is attached.
--dave
--
David Collier-Brown, | Always do right. This will gratify some people
185 Ellerslie Ave., | and astonish the rest. -- Mark Twain
Willowdale, Ontario | //www.oreilly.com/catalog/samba/author.html
Work: (905) 415-2849 Home: (416) 223-8968 Email: davecb@canada.sun.com
-------------- next part --------------
#!/bin/sh
#
# S95samba.server -- start and stop samba
#
main() {
if [ $# -lt 1 ]; then
say "S95samba.server: you must provide a command."
say "Usage: $0 {start | stop | restart | status}"
exit 1
fi
command="$1"
shift
case "$command" in
start) start "$@" ;;
stop) stop "$@" ;;
restart) stop "$@"; start "$@" ;;
status) status "$@" ;;
esac
}
start() {
root
/usr/local/samba/bin/nmbd -D "$@"
LD_PRELOAD=/usr/local/samba/lib/arm.so \
/usr/local/samba/bin/smbd -D "$@"
}
stop() {
root
x=`ps -ef |\
egrep '/usr/local/samba/bin/nmbd|/usr/local/samba/bin/smbd' |\
egrep -v 'egrep' |\
awk ' {print $2}'`
kill $x
}
status() {
echo " UID PID PPID C STIME TTY TIME CMD"
ps -ef | grep -v grep | grep '/usr/local/samba/bin/'
}
say() {
echo "$*" 1>&2
}
root() {
if [ "`/usr/ucb/whoami`" != "root" ]; then
say "You must be root to issue this command."
kill $$
fi
}
main "$@"