On Sat, 27 Apr 2002 00:09:48 -0500 Paul wrote:

>> [paul@tbird paul]$ ftp tbird
>> Connected to tbird.merlijn.
>> Compiled-in modules:
>> ftp> user paul
>> Not connected.
>
>You should be getting a login prompt of some kind... what security level
>do you have msec set to?  Looks to me like you're never actually getting
>connected at all.

Hi Paul,

I have set security to standard, nothing fancy.
Did some checks. What I did wrong, probably, was disable the FTP ports 20
and 21 in /etc/services. I noticed that this had an impact, since I couldn't
FTP to the outside world anymore. Changed that back now.

Still I wonder how to get ProFTPd going in Xinetd-mode, since that is what I
seem to need. At this point port 21 is in use:

[root@tbird paul]# fuser -n tcp 21
21/tcp:               9251

[root@tbird etc]# proftpd -n -d0
tbird.merlijn - Failed binding to 0.0.0.0, port 21: Address already in use
tbird.merlijn - Check the ServerType directive to ensure you are configured
correctly.

ProFTPd is set up as Standalone when I do this.

Setting it up as "inetd" system tells me:

[root@tbird etc]# proftpd -n -d0
tbird.merlijn - Fatal: Socket operation on non-socket
tbird.merlijn - (Running from command line? Use `ServerType standalone' in
config file!)

(After some more typing...)
It works?!   I just wanted to show what PID 9251 is saying. It says:
[paul@tbird etc]# ps 9251
  PID TTY      STAT   TIME COMMAND
 9251 ?        S      0:00 proftpd (accepting connections)

Accepting connections???

So why not:

[paul@tbird etc]# ftp
ftp> open tbird
Connected to tbird.merlijn.
220 ProFTPD 1.2.5rc1 Server (ProFTPD on TBIRD) [tbird.merlijn]
500 AUTH not understood.
500 AUTH not understood.
KERBEROS_V4 rejected as an authentication type
Name (tbird:paul):

I do NOT know what I changed to the better this time. But it works!
Apparently it has been running all the time.

I think I need more coffee...  Have a good weekend, and thanks for the
stimulus to dig into this again.

Paul

--
When things go wrong, don't go with them.

http://nlpagan.net - Registered Linux User 174403
Linux Mandrake 8.2 - Sylpheed 0.7.5

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to