LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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


Reply
  Search this Thread
Old 08-09-2005, 10:08 PM   #1
golien
LQ Newbie
 
Registered: Nov 2004
Posts: 13

Rep: Reputation: 0
Question 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.
 
Old 08-09-2005, 10:15 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Are the proper services defined in /etc/services?
 
Old 08-09-2005, 10:21 PM   #3
golien
LQ Newbie
 
Registered: Nov 2004
Posts: 13

Original Poster
Rep: Reputation: 0
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

B.R.
 
Old 08-09-2005, 10:36 PM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
What are the permissions on /etc/services?
 
Old 08-09-2005, 10:58 PM   #5
golien
LQ Newbie
 
Registered: Nov 2004
Posts: 13

Original Poster
Rep: Reputation: 0
the file permission is 644

B.R.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
unknown service controling open port rysio Linux - Security 2 09-13-2005 12:48 PM
question about uucp service and /etc/inetd.conf file frankie_DJ Linux - Newbie 2 09-03-2005 01:23 AM
Adding a Service in inetd Icky_Joe Linux - Newbie 4 04-26-2005 09:05 AM
9.1: inetd service not starting. asklepios Slackware 2 01-31-2004 11:53 AM
chrooting or jailing inetd or inetd started daemons ? MasterC Linux - Security 2 07-15-2003 05:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration