Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - inetd not starting: (10 Items)
   
inetd not starting  
I'm in the process of creating a custom bsp and I'm trying to install telnetd. I've added inetd to the start scipt and 
updated the inetd.conf file to point to where telnetd is in the build. The hardware design is based upon an lite5200B 
platform. 

I'm using QNX 6.4.0.

I am not seeing any output in the syslog when I start inetd with the -d option. So I'm sort of stumped since I've 
included all the libraries and binaries that I've found mentioned in the documentation. Any thoughts? 

TIA

Dave
Re: inetd not starting  
Have you added the /etc/inetd.conf file and enabled telnet in the file?


On 10-10-08 2:24 PM, "Dave Markland" <community-noreply@qnx.com> wrote:

> I'm in the process of creating a custom bsp and I'm trying to install telnetd.
> I've added inetd to the start scipt and updated the inetd.conf file to point
> to where telnetd is in the build. The hardware design is based upon an
> lite5200B platform.
> 
> I'm using QNX 6.4.0.
> 
> I am not seeing any output in the syslog when I start inetd with the -d
> option. So I'm sort of stumped since I've included all the libraries and
> binaries that I've found mentioned in the documentation. Any thoughts?
> 
> TIA
> 
> Dave
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post70103
> 

-- 
Hugh Brown                      (613) 591-0931 ext. 2209 (voice)
QNX Software Systems Ltd.        (613) 591-3579           (fax)
175 Terence Matthews Cres.       email:  hsbrown@qnx.com
Kanata, Ontario, Canada.
K2M 1W8
 

Re: inetd not starting  
Yes, I have updated the inet.conf file and the services file for the telnet. I think part of my issue is I don't have 
any visibility into what error is acturally happening. With the -d option on the inetd invocation, I would have expected
 to see some sort of debug info in syslog but it is clear of any inet issues. 
Re: inetd not starting  
Here's what I have in my build file:

/proc/boot/inetd.conf = {
ftp     stream  tcp nowait  root  /proc/boot/ftpd          in.ftpd -l
telnet  stream  tcp nowait  root  /proc/boot/telnetd       in.telnetd
shell   stream  tcp nowait  root  /proc/boot/rshd          in.rshd
login   stream  tcp nowait  root  /proc/boot/rlogind       in.rlogind
}

/etc/services = {
ftp             21/tcp
telnet          23/tcp
login           513/tcp
shell           514/tcp         cmd             # no passwords used
}

/etc/passwd = {
root::0:0:Superuser:/root:/bin/sh
}



On 10-10-08 2:49 PM, "Dave Markland" <community-noreply@qnx.com> wrote:

> Yes, I have updated the inet.conf file and the services file for the telnet. I
> think part of my issue is I don't have any visibility into what error is
> acturally happening. With the -d option on the inetd invocation, I would have
> expected to see some sort of debug info in syslog but it is clear of any inet
> issues. 
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post70108
> 

-- 
Hugh Brown                      (613) 591-0931 ext. 2209 (voice)
QNX Software Systems Ltd.        (613) 591-3579           (fax)
175 Terence Matthews Cres.       email:  hsbrown@qnx.com
Kanata, Ontario, Canada.
K2M 1W8
 

Re: inetd not starting  
That is effectively what I have  in my system. I am wondeing if there is a layout issue and that when inetd is started, 
it can't find something and then aborts without putting something in the log. Is there some hard coded paths in some of 
the files binaries? 
Re: inetd not starting  
No, there are no hard coded paths. Do you have login on your build file? You
might also need /etc/config/ttys.


On 10-10-08 3:17 PM, "Dave Markland" <community-noreply@qnx.com> wrote:

> That is effectively what I have  in my system. I am wondeing if there is a
> layout issue and that when inetd is started, it can't find something and then
> aborts without putting something in the log. Is there some hard coded paths in
> some of the files binaries?
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post70114
> 

-- 
Hugh Brown                      (613) 591-0931 ext. 2209 (voice)
QNX Software Systems Ltd.        (613) 591-3579           (fax)
175 Terence Matthews Cres.       email:  hsbrown@qnx.com
Kanata, Ontario, Canada.
K2M 1W8
 

Re: inetd not starting  
I didn't have the login but even adding that, it didn't change. I'm going to have to do some more research in the 
documentation to make sure that there isn't a library missing.
RE: inetd not starting  
What happens if you start it by hand?

-seanb


-----Original Message-----
From: Dave Markland [mailto:community-noreply@qnx.com]
Sent: Fri 10/8/2010 3:31 PM
To: general-networking
Subject: Re: inetd not starting
 
I didn't have the login but even adding that, it didn't change. I'm going to have to do some more research in the 
documentation to make sure that there isn't a library missing.



_______________________________________________

General
http://community.qnx.com/sf/go/post70119


Attachment: Text winmail.dat 2.47 KB
Re: RE: inetd not starting  
When I try to start it by hand, all I get is a prompt and I don't see the process started. It almost makes me wonder if 
there is something it is dependent upon that is not in my build. 
Re: RE: inetd not starting  
The issue seems to have been solved, I found that for some reason I picked up a ^M in the file at the end of a line. 
Found it when I brought the file up under system via vi.