inetd unknown service
Dear Sir :
I am building a embedded system with INETD. I have open the ftp and telnet services list in inetd.conf file by deleting the "#" in front of the line with ftp and telnet
ftp stream tcp nowait root /usr/sbin/tcpd in.ftpd
telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd
and conform the
"ftp 21/tcp"
and
"telnet 23/tcp"
list in /etc/service
But while I booting the system, the message
"ftp : ftp/tcp : unknown service"
comes after I trying to use ftp, and connection will be refused while I trying to login into this small system via telnet.
And I check the files /usr/sbin/in.telnetd and /usr/sbin/in.ftpd do really exist.
And the log message show :
daemon.err inetd[117]: echo/tcp: unknown service
daemon.err inetd[117]: echo/udp: unknown service
daemon.err inetd[117]: ftp/tcp: unknown service
daemon.err inetd[117]: telnet/tcp: unknown service
daemon.err inetd[117]: login/tcp: unknown service
daemon.err inetd[117]: netstat/tcp: unknown service
daemon.info inetd[117]: Online and ready (0 sockets)
What did I lost ?
Please kindly tail me if you have any idea.
Thank you so much
B.R.
|