Go Back   Linux Forums by TotalPenguin! Get linux Help! > Linux > Linux Web Server

Linux Web Server Web Server help and support (including cpanel, whm, plesk, etc.)

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-02-2008, 04:38 AM
Super Moderator
 
Join Date: Mar 2008
Posts: 24
jhyland87 is on a distinguished road
Default FTP from server to server failure?

So the backups on my server have been down for a while, and I did some testing, it seems I cant FTP from my server to the backup server.

I can FTP to extreme-hq.com from my local computer just fine, but when I log into my server via SSH and try it, with the same host, username, and password, it says authentication failure.. any idea?

I checked the ports in my firewall, 22 is open for inbound and out.

__________________
Vast Browser Check it out, its free!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 08-02-2008, 04:43 AM
Super Moderator
 
Join Date: Mar 2008
Posts: 24
jhyland87 is on a distinguished road
Default

Quote:
root@prs [//]# ftp extreme-hq.com
Connected to extreme-hq.com.
220---------- Welcome to Pure-FTPd [TLS] ----------
220-You are user number 1 of 50 allowed.
220-Local time is now 22:42. Server port: 21.
220-This is a private system - No anonymous login
220-IPv6 connections are also welcome on this server.
220 You will be disconnected after 15 minutes of inactivity.
500 This security scheme is not implemented
500 This security scheme is not implemented
KERBEROS_V4 rejected as an authentication type
Name (extreme-hq.com:root): toastedpenguin@extreme-hq.com
331 User toastedpenguin@extreme-hq.com OK. Password required
Password:
530 Login authentication failed
Login failed.
Remote system type is UNIX.
Using binary mode to transfer files.
Might it have something to do with

Quote:
extreme-hq.com:root
__________________
Vast Browser Check it out, its free!
Reply With Quote
  #3 (permalink)  
Old 08-03-2008, 12:27 PM
Jordan's Avatar
Administrator
 
Join Date: Nov 2006
Posts: 533
Jordan is on a distinguished road
Default

Is that your username, toastedpenguin@extgreme-hq.com? It doesn't seem right and would usually be just toastedpenguin (without the @).

Also note that if you have firewall port 21open for FTP that you will be able to FTP into sites.. However, if you are using "Passive" mode it will try to transfer files (and list directories) on random, high-level ports such as 21234. When I use a firewall on servers I always switch FTP to "Active". This causes FTP to use port 21 for everything.
Reply With Quote
  #4 (permalink)  
Old 08-03-2008, 08:57 PM
Super Moderator
 
Join Date: Mar 2008
Posts: 24
jhyland87 is on a distinguished road
Default

Jordan, toastedpenguin@extreme-hq.com is right, for sure...

ill enable active and see what happens

Quote:
Net::FTP=GLOB(0x9cf444c)<<< 220---------- Welcome to Pure-FTPd [TLS] ----------
Net::FTP=GLOB(0x9cf444c)<<< 220-You are user number 1 of 50 allowed.
Net::FTP=GLOB(0x9cf444c)<<< 220-Local time is now 14:59. Server port: 21.
Net::FTP=GLOB(0x9cf444c)<<< 220-This is a private system - No anonymous login
Net::FTP=GLOB(0x9cf444c)<<< 220-IPv6 connections are also welcome on this server.
Net::FTP=GLOB(0x9cf444c)<<< 220 You will be disconnected after 15 minutes of inactivity.
Net::FTP=GLOB(0x9cf444c)>>> USER toastedpenguin@extreme-hq.com^M
Net::FTP=GLOB(0x9cf444c)<<< 331 User toastedpenguin@extreme-hq.com OK. Password required
Net::FTP=GLOB(0x9cf444c)>>> PASS ....
Net::FTP=GLOB(0x9cf444c)<<< 530 Login authentication failed
Net::FTP=GLOB(0x9cf444c)>>> QUIT^M
Net::FTP=GLOB(0x9cf444c)<<< 221-Goodbye. You uploaded 0 and downloaded 0 kbytes.
Net::FTP=GLOB(0x9cf444c)<<< 221 Logout.
[cpbackup]: Unable to login to remote FTP server.
Thats from the log

When I SSH in the FTP to extreme-hq, I get this

Quote:
root@prs [/]# ftp extreme-hq.com
Connected to extreme-hq.com.
220---------- Welcome to Pure-FTPd [TLS] ----------
220-You are user number 1 of 50 allowed.
220-Local time is now 15:06. Server port: 21.
220-This is a private system - No anonymous login
220-IPv6 connections are also welcome on this server.
220 You will be disconnected after 15 minutes of inactivity.
500 This security scheme is not implemented
500 This security scheme is not implemented
KERBEROS_V4 rejected as an authentication type

Name (extreme-hq.com:root): toastedpenguin@extreme-hq.com
331 User toastedpenguin@extreme-hq.com OK. Password required
Password:
530 Login authentication failed
Login failed.
Remote system type is UNIX.
Using binary mode to transfer files.
__________________
Vast Browser Check it out, its free!

Last edited by jhyland87; 08-03-2008 at 09:10 PM.
Reply With Quote
  #5 (permalink)  
Old 08-05-2008, 10:19 PM
Super Moderator
 
Join Date: Mar 2008
Posts: 24
jhyland87 is on a distinguished road
Default

I talked to Orbit Support

Quote:
Michael C. - Tuesday August 5th, 2008; 3:25 AM CDT
Dear Justin,

While I can completely duplicate the issue. I can ftp from another server without a issue, while attempting to use your credentials from your server it gets an authentication error.

This isn't a firewall issue I've confirmed this by stopping iptables. (I thought this unlikely but I had to verify it myself.) Now I also tried using lftp to verify that there was nothing wrong on the server, this recieved authentication errors after connection.

My belief is that on the remote server has an rule to block access from your server specifically. I don't believe this is a firewall rule itself, more hosts.deny or the equivalent for pure-ftpd. Unfortunately this will be the extent we will be able to to troubleshoot this issue as the remote server isn't hosted by us.

Thank you for choosing The Planet.

MichaelC
Technical Support
The Planet - Dedicated Servers | Managed Hosting & Managed Server Hosting
Maybe the servers IP is blocked.. crap
__________________
Vast Browser Check it out, its free!
Reply With Quote

Sponsored Links
  #6 (permalink)  
Old 08-06-2008, 01:09 AM
Jordan's Avatar
Administrator
 
Join Date: Nov 2006
Posts: 533
Jordan is on a distinguished road
Default

I know that server you are trying to connect to didn't let me connect using an IP but did using a host-name. They do have funny rules there.
Reply With Quote
  #7 (permalink)  
Old 08-06-2008, 03:52 AM
Super Moderator
 
Join Date: Mar 2008
Posts: 24
jhyland87 is on a distinguished road
Default

Quote:
Originally Posted by Jordan View Post
I know that server you are trying to connect to didn't let me connect using an IP but did using a host-name. They do have funny rules there.
But I am using the host name..

whoa, maybe you meant the other way around, it let me connect via the IP!
__________________
Vast Browser Check it out, its free!

Last edited by jhyland87; 08-06-2008 at 03:56 AM.
Reply With Quote
  #8 (permalink)  
Old 08-06-2008, 01:30 PM
Jordan's Avatar
Administrator
 
Join Date: Nov 2006
Posts: 533
Jordan is on a distinguished road
Default

Really? I meant it the way you tried. So the IP works but not the hostname? Excellent.
Reply With Quote
  #9 (permalink)  
Old 08-10-2008, 09:21 AM
Junior Member
 
Join Date: Jul 2008
Posts: 6
xxxkings is on a distinguished road
Default

then is there any confilict in the hostname???
_____________________________
Holidays Auto Insurance
Reply With Quote
  #10 (permalink)  
Old 08-11-2008, 12:50 PM
Jordan's Avatar
Administrator
 
Join Date: Nov 2006
Posts: 533
Jordan is on a distinguished road
Default

Actually, he is now backing up to my server and I will be backing up to his server eventually. It will be a redundant backup scheme for us.
Reply With Quote

Sponsored Links
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Media Server Off Linux Applications 3 03-06-2008 01:59 PM
x-server LinuxBomber Linux Applications 7 01-11-2008 06:34 PM
New Server Admin Here Valor Introductions 6 10-24-2007 12:14 PM
Make my Server more secure Grub Linux Security 4 10-07-2007 02:23 PM
Web Server with Solaris Jame Solaris 1 05-27-2007 10:45 PM


All times are GMT. The time now is 02:04 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.