LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   lftp delaying before reconnect (https://www.linuxquestions.org/questions/linux-newbie-8/lftp-delaying-before-reconnect-556092/)

mariusek 05-23-2007 09:59 AM

lftp delaying before reconnect
 
Hi,

I'm a very beginner in Linux. I have a problem with lftp. How should I set up the lftp.conf ? I use knoppix. In lftp.conf I have this:
set ftp:home "/home/ftp"
set ftp:anon-user "anonymous"
set ftp:anon-pass "anon"
set ftp:client "john"
passive-mode is on.

but when I tried to login and then write for example ls I become
"ls at 0 [Delaying before reconnect: 60 ]"

When I login with lftp -d anonymous@127.0.0.1 and then ls :
--connecting to 127.0.0.1 port 21
**** Socket error Connection refused - reconnecting
----Closing Control socket

thanks for help.

Mara 05-24-2007 03:59 PM

Check the situation using:
telnet 127.0.0.1 21
Does it connect? If not, the server is not running or you're blocking the connection for some reason.

mariusek 06-13-2007 12:41 PM

telnet 127.0.0.1 21 doesn't work :( .
Any reason and how to solve it ?

Mara 06-16-2007 05:24 PM

First use ps to see if it's running. Then, if it is, iptables -L to see your firewall rules which may be blocking it.

mariusek 06-18-2007 05:31 AM

no process exists for ftp :( . I dont know how can I start it. etc/init.d/ do not have ftp or lftp.
I have shutdown the firewall.


All times are GMT -5. The time now is 06:30 PM.