Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Can't FTP To My Linode
PostPosted: Tue Sep 09, 2008 4:39 pm 
Offline
Senior Newbie
User avatar

Joined: Fri May 07, 2004 12:24 am
Posts: 13
Website: http://morganizeit.com
AOL: m0r9u3
Location: Austin, TX
Hi All,

I'm having issues with my Linode Server running Debian 4.0. It is running and serving up webpages, but I can't FTP to it to access files and make edits.

When I reboot the system, it goes through the normal start up options, but hangs with the message "INIT: no more processes left in this runlevel" after "Running local boot scripts (/etc/rc.local)".

Linode Support recommended that I "boot with the "init=/bin/bash" configuration profile option, connect to lish, run: "mount -o remount,rw /" and then make any repairs to your config" but being a relative Linode Newbie, I'm not exactly sure how to do that.

I tried creating a recovery boot image using Fennix, but I got the same error. Any thoughts? Suggestions? Links to a detailed way of working through this? Any help is appreciated.

_________________
--
We're all in for it; please shut the door.


Top
   
 Post subject:
PostPosted: Tue Sep 09, 2008 4:44 pm 
Offline
Senior Member

Joined: Tue Apr 27, 2004 5:10 pm
Posts: 212
You might want to try using scp to transfer files instead of FTP. Download WinSCP and away you go! Much more secure and easy to use than FTP.


Top
   
 Post subject:
PostPosted: Tue Sep 09, 2008 4:47 pm 
Offline
Senior Newbie

Joined: Sat Aug 09, 2008 3:04 pm
Posts: 11
What's the error your FTP client gives?


Top
   
 Post subject:
PostPosted: Tue Sep 09, 2008 4:48 pm 
Offline
Senior Newbie
User avatar

Joined: Fri May 07, 2004 12:24 am
Posts: 13
Website: http://morganizeit.com
AOL: m0r9u3
Location: Austin, TX
That doesn't really solve my current issue though does it? I still wont be able to connect using WinSCP.

_________________
--

We're all in for it; please shut the door.


Top
   
 Post subject:
PostPosted: Tue Sep 09, 2008 5:05 pm 
Offline
Senior Newbie
User avatar

Joined: Fri May 07, 2004 12:24 am
Posts: 13
Website: http://morganizeit.com
AOL: m0r9u3
Location: Austin, TX
Daniel_G wrote:
What's the error your FTP client gives?


I simply get a "connection refused" error message.

_________________
--

We're all in for it; please shut the door.


Top
   
 Post subject:
PostPosted: Tue Sep 09, 2008 5:07 pm 
Offline
Senior Newbie

Joined: Sat Aug 09, 2008 3:04 pm
Posts: 11
Do you have an FTP server installed? Is it running?

Try:

Code:
ps aux | grep ftp


as root.


Top
   
 Post subject:
PostPosted: Tue Sep 09, 2008 5:11 pm 
Offline
Linode Staff
User avatar

Joined: Sat Jun 21, 2003 2:21 pm
Posts: 160
Location: Absecon, NJ
If I'm remembering correctly, "INIT: no more processes left in this runlevel" is the last message that init outputs before a shutdown or reboot. Did you issue a reboot command from within your Linode? I haven't tried in a while, but I remember that not working on my Linode so I always issues reboots from Lish or the Linode Manager--that's the web interface. If you're getting the init error after a reboot command, try doing the reboots through the Linode Manager. If it's happening when you try to boot from the Linode Manager, it sounds like you're either booting into the wrong run level or you have something in your rc scripts issuing a shutdown--which would be really weird.

That said, I have to concur with anderiv - FTP is antiquated and insecure. SCP is much better and has the advantage that if you can SSH to your Linode, you can move files with SCP.

--James


Top
   
 Post subject:
PostPosted: Tue Sep 09, 2008 5:23 pm 
Offline
Senior Newbie
User avatar

Joined: Fri May 07, 2004 12:24 am
Posts: 13
Website: http://morganizeit.com
AOL: m0r9u3
Location: Austin, TX
I do have an FTP server installed, and I suspect that it's not running, which is why I can't connect. In the start-up process I see Apache fire up as it should, but not the FTP server, which is why I assumed webpages were still being served, but I couldn't access the Linode.

irgeek: Yes, I've issued restart commands from both the Linode Manager and from the console. Both end up the same. I should also note that this has been running fine for weeks now, and suddenly started having this issue, which makes it more perplexing.

I'm also on a Mac, so any suggestions for an SCP program that runs there?

_________________
--

We're all in for it; please shut the door.


Top
   
 Post subject:
PostPosted: Tue Sep 09, 2008 5:26 pm 
Offline
Senior Newbie

Joined: Sat Aug 09, 2008 3:04 pm
Posts: 11
morganizeit wrote:
I'm also on a Mac, so any suggestions for an SCP program that runs there?


I use Cyberduck and SFTP (SSH File Transfer Protocol) to transfer files to/from my Linode on my Mac.


Top
   
 Post subject:
PostPosted: Tue Sep 09, 2008 5:32 pm 
Offline
Senior Newbie
User avatar

Joined: Fri May 07, 2004 12:24 am
Posts: 13
Website: http://morganizeit.com
AOL: m0r9u3
Location: Austin, TX
Daniel_G wrote:
morganizeit wrote:
I'm also on a Mac, so any suggestions for an SCP program that runs there?


I use Cyberduck and SFTP (SSH File Transfer Protocol) to transfer files to/from my Linode on my Mac.


Ok. I use the same. And thats the very program thats giving me connection refused messages.

_________________
--

We're all in for it; please shut the door.


Top
   
 Post subject:
PostPosted: Tue Sep 09, 2008 5:42 pm 
Offline
Senior Newbie

Joined: Sat Aug 09, 2008 3:04 pm
Posts: 11
morganizeit wrote:
Daniel_G wrote:
morganizeit wrote:
I'm also on a Mac, so any suggestions for an SCP program that runs there?


I use Cyberduck and SFTP (SSH File Transfer Protocol) to transfer files to/from my Linode on my Mac.


Ok. I use the same. And thats the very program thats giving me connection refused messages.


You should be able to use SFTP even though your FTP server isn't running, SFTP works off SSH...


Top
   
 Post subject:
PostPosted: Wed Sep 10, 2008 8:37 am 
Offline
Senior Newbie
User avatar

Joined: Fri May 07, 2004 12:24 am
Posts: 13
Website: http://morganizeit.com
AOL: m0r9u3
Location: Austin, TX
Ok. I've been using "FTP" in the generic sense, but I have been connecting via "SFTP" and I'm still not able to sign in. I'm getting an error from Cyberduck that says: "The SFTP Subsystem could not be initialized"

_________________
--

We're all in for it; please shut the door.


Top
   
PostPosted: Thu Sep 11, 2008 6:53 pm 
Offline
Junior Member
User avatar

Joined: Thu Sep 11, 2008 6:46 pm
Posts: 36
Website: http://www.classhelper.org
Location: Atlanta, GA
Quote:
Ok. I've been using "FTP" in the generic sense, but I have been connecting via "SFTP" and I'm still not able to sign in. I'm getting an error from Cyberduck that says: "The SFTP Subsystem could not be initialized"


SFTP uses SSH; check to be sure your OpenSSH server is running.

_________________
Educational resources for parents and teachers: http://www.ClassHelper.org


Top
   
 Post subject:
PostPosted: Fri Sep 12, 2008 3:20 am 
Offline
Senior Member

Joined: Fri Sep 12, 2008 3:17 am
Posts: 166
Website: http://independentchaos.com
Enable sftp in your /etc/ssh/sshd_config, it should be the last line and look something like this:
Subsystem sftp /usr/lib/ssh/sftp-server
If that is commented, uncomment it, or if it doesn't exist, add it in.

As for your FTP server:
* what FTP server do you have installed?
* Can you show me the output of netstat -tap | grep 21
* Double check your config settings.
* (Maybe) enable local account login


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group