Results 1 to 13 of 13

Thread: FTP through a second NIC and a local IP is not working

  1. #1
    Join Date
    Dec 2009
    Location
    Athens, Greece
    Posts
    75

    FTP through a second NIC and a local IP is not working

    Hi there,

    I have two servers within the DC connected together using their second NIC adapters with a crossover ethernet cable. I have assigned two static and local IPs on the two servers and I want to send backups from the DirectAdmin Webserver to the other one.

    Unfortunately the scheduled backup is not working and even when I try to backup manually some account(s) through FTP is not working too. After a few minutes I receive the following error message on the massaging system of DA

    Subject: An error occurred during the backup. Today at 18:58
    User angelos has been backed up.
    Could not connect to 10.9.9.3 -- try again later: Connection timed out.
    Could not connect to 10.9.9.3 -- try again later: Connection timed out.
    Could not connect to 10.9.9.3 -- try again later: Connection timed out.
    ncftpput: cannot open 10.9.9.3: could not connect to remote host, but can try again.
    I am trying for several days to find a solution but I can't. I checked the firewall etc, but it is not blocked by the firewall. I start thinking if I should do something in order to declare the other IP in DirectAdmin, because I have the feeling that it can't find the route (second NIC) to send the backup through FTP.

    Please help...


    Regards,
    Angelos Pitsos
    Anything can be achieved!

    pla.NET.gr | web hosting, VPS, web design & domain names

  2. #2
    Join Date
    Jun 2003
    Location
    California
    Posts
    26,123
    Test with pings, traceroutes and even with ftp, from the servers command lines, to make sure the servers can talk to each other.

    Jeff
    +1 951 643-5345
    Third-Party DirectAdmin administration and support
    Dedicated Servers, Dedicated Reseller Accounts
    NoBaloney Internet Services div. Qnito Incorporated
    848 North Rainbow Blvd., Suite #3789
    Las Vegas, NV 89107-1103

  3. #3
    Join Date
    Dec 2009
    Location
    Athens, Greece
    Posts
    75
    Hi jeff,

    I hope you are fine. Thanks for your reply. Ping is working properly... I haven't test traceroute and fpt. Not sure for the commands...


    Please advice...


    Regards,
    Angelos Pitsos
    Anything can be achieved!

    pla.NET.gr | web hosting, VPS, web design & domain names

  4. #4
    Join Date
    Jun 2003
    Location
    California
    Posts
    26,123
    As root:
    Code:
    traceroute 1.2.3.4
    and
    Code:
    ftp 1.2.3.4
    Of course replace 1.2.3.4 with the local IP# you're testing.

    Jeff
    +1 951 643-5345
    Third-Party DirectAdmin administration and support
    Dedicated Servers, Dedicated Reseller Accounts
    NoBaloney Internet Services div. Qnito Incorporated
    848 North Rainbow Blvd., Suite #3789
    Las Vegas, NV 89107-1103

  5. #5
    Join Date
    Dec 2009
    Location
    Athens, Greece
    Posts
    75
    Hello Jeff,

    Thank you very much...

    Ping responds.

    Traceroute:
    [root@manage ~]# traceroute 10.9.9.3
    traceroute to 10.9.9.3 (10.9.9.3), 30 hops max, 40 byte packets
    send: Operation not permitted
    ftp:
    I give the command ftp 10.9.9.3 and it is waiting forever...
    Anything can be achieved!

    pla.NET.gr | web hosting, VPS, web design & domain names

  6. #6
    Join Date
    Jun 2003
    Location
    California
    Posts
    26,123
    Turn off the firewall and check it. I know you said it's not the firewall. The only way to be sure is to turn off the firewall and to check it again.

    http://forums.fedoraforum.org/showthread.php?t=112516

    Jeff
    +1 951 643-5345
    Third-Party DirectAdmin administration and support
    Dedicated Servers, Dedicated Reseller Accounts
    NoBaloney Internet Services div. Qnito Incorporated
    848 North Rainbow Blvd., Suite #3789
    Las Vegas, NV 89107-1103

  7. #7
    Join Date
    Dec 2009
    Location
    Athens, Greece
    Posts
    75
    Hi Jeff,

    You were right regarding the firewall... Before disabling the firewall I couldn't even traceroute google. Here is the result:
    [root@manage ~]# traceroute www.google.gr
    traceroute to www.google.gr (173.194.35.152), 30 hops max, 40 byte packets
    send: Operation not permitted
    Then I disabled the firewall and here are the results of the traceroute...
    [root@manage ~]# traceroute www.google.gr
    traceroute to www.google.gr (173.194.35.151), 30 hops max, 40 byte packets
    1 fovos.iphost.gr (93.174.120.129) 2.500 ms 2.465 ms 2.437 ms
    2 31.177.56.97 (31.177.56.97) 1.648 ms 1.638 ms 1.621 ms
    3 195.97.13.27 (195.97.13.27) 2.584 ms 2.569 ms 2.552 ms
    4 gigaeth00-05-05-02.adr00.ccr.hol.gr (62.38.96.181) 4.264 ms 4.235 ms 4.216 ms
    5 62.38.96.150 (62.38.96.150) 5.931 ms 5.923 ms *
    6 212.162.9.5 (212.162.9.5) 74.564 ms 73.146 ms 73.126 ms
    7 ae-4-90.edge3.Frankfurt1.Level3.net (4.69.154.199) 61.099 ms 60.879 ms 58.625 ms
    8 212.162.24.18 (212.162.24.18) 73.308 ms 212.162.24.14 (212.162.24.14) 76.532 ms 212.162.24.18 (212.162.24.18) 73.271 ms
    9 209.85.248.12 (209.85.248.12) 61.248 ms 209.85.241.112 (209.85.241.112) 77.215 ms 209.85.248.12 (209.85.248.12) 61.444 ms
    10 72.14.239.62 (72.14.239.62) 73.421 ms 73.393 ms 73.381 ms
    11 216.239.48.116 (216.239.48.116) 96.580 ms 96.565 ms 115.272 ms
    12 209.85.250.35 (209.85.250.35) 74.525 ms 74.510 ms 73.413 ms
    13 muc03s01-in-f23.1e100.net (173.194.35.151) 90.157 ms 90.160 ms 87.410 ms
    [root@manage ~]# traceroute 10.9.9.3
    traceroute to 10.9.9.3 (10.9.9.3), 30 hops max, 40 byte packets
    1 * * *
    2 * * *
    3 * * *
    4 * * *
    5 * * *
    6 * * *
    7 * * *
    8 * * *
    9 * * *
    10 * * *
    11 * * *
    12 * * *
    13 * * *
    14 * * *
    15 * * *
    16 * * *
    17 * * *
    18 * * *
    19 * * *
    20 * * *
    21 * * *
    22 * * *
    23 * * *
    24 * * *
    25 * * *
    26 * * *
    27 * * *
    28 * * *
    29 * * *
    30 * * *
    [root@manage ~]#
    What do you think? I can't traceroute the local IP...

    I am looking forward to hearing from you.


    Best regards,
    Angelos Pitsos
    Anything can be achieved!

    pla.NET.gr | web hosting, VPS, web design & domain names

  8. #8
    Join Date
    Jun 2003
    Location
    California
    Posts
    26,123
    If ping works and traceroute doesn't that could indicate a firewall issue on the other system on the private network. Try with the firewall off on both systems.

    Have you tried ftp with the firewall off on both systems?

    Can you SSH between the two systems with the firewall off?

    Jeff
    +1 951 643-5345
    Third-Party DirectAdmin administration and support
    Dedicated Servers, Dedicated Reseller Accounts
    NoBaloney Internet Services div. Qnito Incorporated
    848 North Rainbow Blvd., Suite #3789
    Las Vegas, NV 89107-1103

  9. #9
    Join Date
    Dec 2009
    Location
    Athens, Greece
    Posts
    75
    Hi Jeff,

    Please note that the other system is a Windows 2008 R2 std Server. Not a linux one. I disabled the firewall on Windows 2008 R2 server but again I couldn't take a FTP backup. I will try traceroute and I will let you know now...

    Regards,
    Angelos
    Anything can be achieved!

    pla.NET.gr | web hosting, VPS, web design & domain names

  10. #10
    Join Date
    Dec 2009
    Location
    Athens, Greece
    Posts
    75
    Hi Jeff,

    If I disable firewall on both machines, traceroute seems to be working. Please check the below results.
    [root@manage ~]# traceroute 10.9.9.3
    traceroute to 10.9.9.3 (10.9.9.3), 30 hops max, 40 byte packets
    1 10.9.9.3 (10.9.9.3) 0.254 ms * *
    [root@manage ~]#
    What can I do for the FTP to work as well?

    Thanks a lot!


    Regards,
    Angelos
    Anything can be achieved!

    pla.NET.gr | web hosting, VPS, web design & domain names

  11. #11
    Join Date
    Dec 2009
    Location
    Athens, Greece
    Posts
    75
    Jeff,

    With both the firewalls disabled, the backup procedure failed again...

    Here is the message I am getting from DA.

    User angelos has been backed up.
    Could not connect to 10.9.9.3: Connection refused.
    Could not connect to 10.9.9.3: Connection refused.
    Could not connect to 10.9.9.3: Connection refused.
    ncftpput: cannot open 10.9.9.3: remote host refused connection.
    Anything can be achieved!

    pla.NET.gr | web hosting, VPS, web design & domain names

  12. #12
    Join Date
    Jun 2003
    Location
    California
    Posts
    26,123
    Your connectivity is fine. I still don't see where you've tried manual backup. Trying that, also checking logs on Windows machine, may give you some clues.

    Otherwise since DirectAdmin is working and Network is working, I don't think we support Windows on these forums .

    Jeff
    +1 951 643-5345
    Third-Party DirectAdmin administration and support
    Dedicated Servers, Dedicated Reseller Accounts
    NoBaloney Internet Services div. Qnito Incorporated
    848 North Rainbow Blvd., Suite #3789
    Las Vegas, NV 89107-1103

  13. #13
    Join Date
    Dec 2009
    Location
    Athens, Greece
    Posts
    75
    Nothing on the Event Viewer and Windows logs...

    Anyway, agree with your comment. I hope it will not be a communication issue. I have to investigate it more.

    Thanks a lot Jeff for your time. Much appreciated.


    Regards,
    Angelos Pitsos
    Anything can be achieved!

    pla.NET.gr | web hosting, VPS, web design & domain names

Similar Threads

  1. not spamscan local to local mail
    By chrisly in forum E-Mail
    Replies: 4
    Last Post: 03-31-2011, 09:42 PM
  2. Replies: 9
    Last Post: 05-03-2010, 09:47 AM
  3. Urgent: Sendmail / php mail not working for local files
    By damn in forum General Technical Discussion & Troubleshooting
    Replies: 3
    Last Post: 04-21-2008, 05:53 PM
  4. Replies: 1
    Last Post: 12-27-2006, 12:32 PM
  5. local php.ini
    By Titam in forum MySQL / PHP
    Replies: 5
    Last Post: 06-04-2005, 10:54 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •