QNX 4.25, ftpd exits

I have two computers (node1 and node3) connected via serial link PPP. Here
is output of the ping command:

PING node3 (192.9.200.3): 56 data bytes
64 bytes from 192.9.200.3: icmp_seq=0 ttl=255 time=19 ms
64 bytes from 192.9.200.3: icmp_seq=1 ttl=255 time=19 ms
64 bytes from 192.9.200.3: icmp_seq=2 ttl=255 time=19 ms
64 bytes from 192.9.200.3: icmp_seq=3 ttl=255 time=19 ms

— node3 ping statistics —
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 19/19/19 ms

This is a part of sin output:

0 38 //1/bin/Net 23r REPLY 0 32k 73k
0 40 //1/bin/Net.ether905 20r RECV 0 45k 86k
0 42 //1/bin/nameloc 20o RECV 0 6144 20k
0 43 //1/bin/nameloc 20o REPLY 1377 6144 16k
5 144 //1//usr/ucb/Socket 22r RECV 0 225k 217k
5 219 //1/
/4.25/usr/ucb/pppd 10o RECV 223 102k 61k
5 1134 //1/*/usr/bin/syslogd 10o RECV 0 36k 32k

When I start ftpd, it exits immediately. The syslog file contains the
following:

Thu Dec 12 14:52:31 est 2002
Dec 12 14:52:53 node1 syslogd: restart
Dec 12 14:53:11 localhost ftpd[1150]: getpeername (ftpd): Function not
implemented

Can you explain what went wrong?
Thank you,
Yuriy

“Yuriy Synytskyy” <ysynytskyy@mds.nordion.com> wrote in message
news:atan8a$arb$1@inn.qnx.com

I have two computers (node1 and node3) connected via serial link PPP. Here
is output of the ping command:

PING node3 (192.9.200.3): 56 data bytes
64 bytes from 192.9.200.3: icmp_seq=0 ttl=255 time=19 ms
64 bytes from 192.9.200.3: icmp_seq=1 ttl=255 time=19 ms
64 bytes from 192.9.200.3: icmp_seq=2 ttl=255 time=19 ms
64 bytes from 192.9.200.3: icmp_seq=3 ttl=255 time=19 ms

— node3 ping statistics —
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 19/19/19 ms

This is a part of sin output:

0 38 //1/bin/Net 23r REPLY 0 32k 73k
0 40 //1/bin/Net.ether905 20r RECV 0 45k 86k
0 42 //1/bin/nameloc 20o RECV 0 6144 20k
0 43 //1/bin/nameloc 20o REPLY 1377 6144 16k
5 144 //1//usr/ucb/Socket 22r RECV 0 225k 217k
5 219 //1/
/4.25/usr/ucb/pppd 10o RECV 223 102k 61k
5 1134 //1/*/usr/bin/syslogd 10o RECV 0 36k 32k

When I start ftpd, it exits immediately. The syslog file contains the
following:

Thu Dec 12 14:52:31 est 2002
Dec 12 14:52:53 node1 syslogd: restart
Dec 12 14:53:11 localhost ftpd[1150]: getpeername (ftpd): Function not
implemented

Can you explain what went wrong?

Not sure if that is your problem but I beleive can only be started by inetd.

Thank you,



Yuriy



\

You are absolutely correct. It works this way. One must not start ftpd
directly. Instead one must start inetd, and inetd will launch ftpd on the
server when ftp is run on the client.
Thank you very much.
Yuriy