LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-23-2007, 10:59 AM   #1
mariusek
LQ Newbie
 
Registered: Jan 2007
Posts: 8

Rep: Reputation: 0
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.
 
Old 05-24-2007, 04:59 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
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.
 
Old 06-13-2007, 01:41 PM   #3
mariusek
LQ Newbie
 
Registered: Jan 2007
Posts: 8

Original Poster
Rep: Reputation: 0
telnet 127.0.0.1 21 doesn't work .
Any reason and how to solve it ?
 
Old 06-16-2007, 06:24 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
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.
 
Old 06-18-2007, 06:31 AM   #5
mariusek
LQ Newbie
 
Registered: Jan 2007
Posts: 8

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
lftp mikeshn Linux - Software 11 07-20-2011 01:44 PM
lftp problem bipins1979 Linux - General 1 06-21-2006 11:20 AM
lftp HELP knappster Linux - Software 2 08-03-2004 11:34 AM
lftp Scripting kittani Linux - Software 1 06-19-2004 12:28 PM
about lftp oskernel Linux - Software 1 10-29-2003 03:14 PM


All times are GMT -5. The time now is 04:13 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration