Can't FTP To My Linode
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.
13 Replies
@Daniel_G:
What's the error your FTP client gives?
I simply get a "connection refused" error message.
Try:
ps aux | grep ftp
as root.
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
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?
@morganizeit:
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.
@Daniel_G:
@morganizeit: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.
@morganizeit:
@Daniel_G:
@morganizeit: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…
> 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.
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