Subject: inetd problems
To: None <tech-install@netbsd.org>
From: Darren Patterson <dapatter@cisco.com>
List: tech-install
Date: 08/06/2001 18:46:02
hi i am getting the following inetd problems

Aug  7 02:36:17 legend inetd[217]: tftp/udp: bind: Address already in use
Aug  7 02:36:17 legend inetd[217]: nntp/tcp: bind: Address already in use
Aug  7 02:36:17 legend inetd[217]: telnet/tcp: bind: Address already in use
Aug  7 02:36:17 legend inetd[217]: ftp/tcp: bind: Address already in use
Aug  7 02:36:18 legend inetd[231]: qotd/tcp: bind: Address already in use
Aug  7 02:36:18 legend inetd[231]: time/udp: bind: Address already in use
Aug  7 02:36:18 legend inetd[231]: tftp/udp: bind: Address already in use
Aug  7 02:36:18 legend inetd[231]: nntp/tcp: bind: Address already in use
Aug  7 02:36:18 legend inetd[231]: telnet/tcp: bind: Address already in use
Aug  7 02:36:18 legend inetd[231]: ftp/tcp: bind: Address already in use

my inetd file and rc.conf files are below if anyone can spot the problem:

#       $NetBSD: inetd.conf,v 1.35.2.4 2000/09/19 19:07:59 fvdl Exp $
#
# Internet server configuration database
#
#       @(#)inetd.conf  8.2 (Berkeley) 3/18/94
#
ftp             stream  tcp     nowait  root    /usr/libexec/ftpd
      ftpd -ll
telnet          stream  tcp     nowait  root    /usr/libexec/telnetd
telnetd
#shell          stream  tcp     nowait  root    /usr/libexec/rshd
      rshd -L
#login          stream  tcp     nowait  root    /usr/libexec/rlogind
rlogind
-L
#exec           stream  tcp     nowait  root    /usr/libexec/rexecd
rexecd
#uucpd          stream  tcp     nowait  root    /usr/libexec/uucpd
uucpd
nntp            stream  tcp     nowait  usenet  /usr/libexec/nntpd
nntpd
#finger         stream  tcp     nowait  nobody  /usr/libexec/fingerd
fingerd
#ident          stream  tcp     nowait  nobody:kmem /usr/libexec/identd
identd -
l -o -e -N
tftp            dgram   udp     wait    root    /usr/libexec/tftpd
tftpd -l
 -s /tftpboot
#comsat         dgram   udp     wait    root    /usr/libexec/comsat
comsat
#ntalk          dgram   udp     wait    nobody:tty      /usr/libexec/ntalkd
ntalkd
#bootps         dgram   udp     wait    root    /usr/sbin/bootpd
bootpd
ntalkd
#bootps         dgram   udp     wait    root    /usr/sbin/bootpd
bootpd
#
#       Games
#
#hunt           dgram   udp     wait    nobody  /usr/games/huntd
huntd
#
#       Internal services
#
#tcpmux         stream  tcp     nowait  root    internal
#echo           stream  tcp     nowait  nobody  internal
#discard        stream  tcp     nowait  nobody  internal
#chargen        stream  tcp     nowait  nobody  internal
#daytime        stream  tcp     nowait  nobody  internal
#time           stream  tcp     nowait  nobody  internal
#echo           dgram   udp     wait    nobody  internal
#discard        dgram   udp     wait    nobody  internal
#chargen        dgram   udp     wait    nobody  internal
#daytime        dgram   udp     wait    nobody  internal
time            dgram   udp     wait    nobody  internal
qotd            stream  tcp     nowait  nobody  /usr/games/fortune
fortune
#
#       Kerberos authenticated services
#
#       Kerberos authenticated services
#
#klogin         stream  tcp     nowait  root    /usr/libexec/rlogind
rlogind
-k
#eklogin        stream  tcp     nowait  root    /usr/libexec/rlogind
rlogind
-k -x
#kshell         stream  tcp     nowait  root    /usr/libexec/rshd
      rshd -k
#
#       Services run ONLY on the Kerberos server
#
#kerberos-adm   stream  tcp     nowait  root    /usr/libexec/kadmind
kadmind
#kpasswd        dgram   udp     nowait  root    /usr/libexec/kpasswdd
kpasswdd
#
# The hprop service is run on slave KDCs to receive the database from
# the master KDC.
#hprop          stream  tcp     nowait  root    /usr/libexec/hpropd
hpropd
#
#       RPC based services
#
#rstatd/1-3     dgram   rpc/udp wait:100        nobody:kmem
/usr/libexec/rpc
.rstatd rpc.rstatd
#rusersd/2-3    dgram   rpc/udp wait:100        nobody
/usr/libexec/rpc.rusersd
#rusersd/2-3    dgram   rpc/udp wait:100        nobody
/usr/libexec/rpc.rusersd
 rpc.rusersd
#walld/1        dgram   rpc/udp wait    nobody:tty
/usr/libexec/rpc.rwalld
rpc.rwalld
#sprayd/1       dgram   rpc/udp wait    nobody  /usr/libexec/rpc.sprayd
rpc.spra
yd
#rquotad/1      dgram   rpc/udp wait    root    /usr/libexec/rpc.rquotad
rpc.rqu
otad
#
#       IPv6 services.
#       The only difference with the above is "tcp6" instead of "tcp".
#       Be sure to enable both "tcp" and "tcp6" when you need service for
#       both IPv4/v6.  Consult inetd(8) for details.
#
#ftp            stream  tcp6    nowait  root    /usr/libexec/ftpd
      ftpd -ll
#telnet         stream  tcp6    nowait  root    /usr/libexec/telnetd
telnetd
#shell          stream  tcp6    nowait  root    /usr/libexec/rshd
      rshd -L
#login          stream  tcp6    nowait  root    /usr/libexec/rlogind
rlogind
-L
#finger         stream  tcp6    nowait  nobody  /usr/libexec/fingerd
fingerd
#tftp           dgram   udp6    wait    root    /usr/libexec/tftpd
tftpd -l
 -s /tftpboot




#       $NetBSD: rc.conf,v 1.85.2.8 2000/10/02 03:29:38 lukem Exp $
#
# see rc.conf(5) for more information.
#
# Use program=YES to enable program, NO to disable it. program_flags are
# passed to the program on the command line.
#

# Load the defaults in from /etc/defaults/rc.conf (if it's readable).
# These can be overriden below.
#
if [ -r /etc/defaults/rc.conf ]; then
        . /etc/defaults/rc.conf
fi

# If this is not set to YES, the system will drop into single-user mode.
#
rc_configured=YES
wscons=YES
lpd=YES
mount -rw /
mount -rw /usr
# Add local overrides below
# passed to the program on the command line.
#

# Load the defaults in from /etc/defaults/rc.conf (if it's readable).
# These can be overriden below.
#
if [ -r /etc/defaults/rc.conf ]; then
        . /etc/defaults/rc.conf
fi

# If this is not set to YES, the system will drop into single-user mode.
#
rc_configured=YES
wscons=YES
lpd=YES
mount -rw /
mount -rw /usr
# Add local overrides below
inetd
hostname=legend.cisco.com
defaultroute=10.1.1.1
ifconfig de0 10.1.1.10 netmask 255.255.255.0
#