Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
Dear Sir :
Thanks for your reply ^_^
And sorry for typing the wrong file. It's /etc/services, not /etc/service
Yes. the "ftp 21/tcp" and "telnet 23/tcp" do exist in the /etc/services file
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.