Ftp connectivity between two UNIX servers


 
Thread Tools Search this Thread
Special Forums IP Networking Ftp connectivity between two UNIX servers
# 8  
Old 11-12-2013
And what are the symptoms/messages?
# 9  
Old 11-12-2013
ftp connectivity between two servers

From the server that I want to ftp I just type :
Code:
# ftp 10.1.20.33

and nothing happens, but if
Code:
ftp

to a different server on same chassis like:
Code:
# ftp 10.1.20.31
Connected to 10.1.20.31.
220 mcelVMhost3 FTP server (Revision 6.0 Version wuftpd-2.6.1 Fri Apr  1 07:44:09 GMT 2011) ready.
Name (10.1.20.31:root): root
331 Password required for root.
Password:
230 User root logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>

it works

Now if I even change source server like from
Code:
10.100.48.73

try to ftp to the server that is refusing to accept ftp sessions:
Code:
# ftp 10.1.20.33
Connected to 10.1.20.33.
220 mcelVMhost5 FTP server (Revision 6.0 Version wuftpd-2.6.1 Fri Apr  1 07:44:09 GMT 2011) ready.
Name (10.1.20.33:root): root
331 Password required for root.
Password:
230 User root logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> bye
221-You have transferred 0 bytes in 0 files.
221-Total traffic for this session was 274 bytes in 0 transfers.
221-Thank you for using the FTP service on mcelVMhost5.
221 Goodbye.

it works fine as well
# 10  
Old 11-12-2013
So no response even in five minutes?

Still looks like a firewall issue to me. Can you telnet to a few things:-
Code:
telnet 10.1.20.33                    # Simple telnet
telnet 10.1.20.33 21                 # FTP port
telnet 10.1.20.33 25                 # SMTP, just as a test
telnet 10.1.20.33 123                # Hit the time server
telnet 10.1.20.33 99999              # Pick a port that should not respond

They should either connect or fail. Try pressing ENTER a few times. You can monitor their success from another session with netstat -na | grep 10.1.20.33 21 to see if the session is established.

Some may never connect, but you should wait at least 60 seconds before cancelling them.

What do you get?

If you are running Linux on either side, are you also using SELinux? That is know for odd errors unless you get it right, and i don't know how.




Robin
# 11  
Old 11-13-2013
Could be firewall/iptables on that client or on the route in. Try ping 10.1.20.33, traceroute 10.1.20.33, telnet 10.1.20.33 21 from that client host.
# 12  
Old 11-14-2013
ftp connectivity between two servers

Hi

we´ve not solved yet, the network team are saying that no restrictions were imposed on traffic between those two servers, so they are alledging that may be the routing table on the destination server is wrong, but I cant spot anything wrong on it:
Code:
#netstat -nrv
Routing tables
Dest/Netmask                    Gateway            Flags Refs Interface  Pmtu
127.0.0.1/255.255.255.255       127.0.0.1          UH    0    lo0       32808
10.1.20.33/255.255.255.255      10.1.20.33         UH    0    lan2      32808
10.0.0.0/255.0.0.0              10.1.20.33         U     2    lan2       1500
10.100.0.0/255.255.0.0          10.1.20.100        UG    0    lan2       1500
127.0.0.0/255.0.0.0             127.0.0.1          U     0    lo0       32808
192.168.0.0/255.255.254.0       10.1.20.100        UG    0    lan2       1500
default/0.0.0.0                 10.1.20.1          UG    0    lan2       1500

# 13  
Old 11-26-2013
It seems odd that you have a 24 bit lan aove an 16 bit lan (10.*.*.* over 10.100.*.*).

Traceroute in each direction should show you the routing out and back. However, if routing is bad, ping should fail.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Establishing connectivity between two servers

I am trying to establish passwordless connectivity between server A and server B, but unsuccessfuly, because I beleive two issues. the first one is that on both servers, it is not possible to use root to login, it only allows to connect using a user (any) them su - root, which in turns I am able... (1 Reply)
Discussion started by: fretagi
1 Replies

2. IP Networking

Help with to check the tcp network connectivity between servers and hosts

ello, i am new to the networking side. I have a requirement to check the tcp network connectivity between server it's running on and the list of host's and ports combination. please help me where i am going wrong. my code: #!/bin/bash #read the file line by line cd "$1" cat... (17 Replies)
Discussion started by: sknovice
17 Replies

3. Windows & DOS: Issues & Discussions

Help with Windows to Unix connectivity

Hi Can we pass the parameter from the excel in windows and invoke the unix shell script from excel VBA by passing this parameter and get the results of shell script to the excel sheet? We tried to get the things in unix independently but we still strucked in connecting the excel to... (5 Replies)
Discussion started by: bikky6
5 Replies

4. Shell Programming and Scripting

Database connectivity using unix

Hi, I am trying to connect to the database through Unix serer using following command- mysql -u root -Jepadt -D dtdatabase But it giving me error - mysql: unknown option '-J' Can anybody help me to solve this problm Thanks in advance Please use code tags, thanks. (2 Replies)
Discussion started by: pspriyanka
2 Replies

5. IP Networking

Connectivity problem in two servers.

HI I have made a connection with external server which is also UNIX. I was tryign connectivity with this by telnet which fails and ping i sshowing socket is alive and traceroute tells the asterisk astersik:traceroute to 153.88.182.28 (153.88.182.28), 30 hops max, 8080 byte packets 1 * * * 2 *... (1 Reply)
Discussion started by: nixhead
1 Replies

6. Solaris

connectivity between servers

We have two servers A and B (both running Solaris 10) out of which one is application server and the other is database server. The two servers faced certain network issues and the two servers were temporarily disconnected.this happened around 5AM GMT monday.Can anyone suggest some log files or... (2 Replies)
Discussion started by: asalman.qazi
2 Replies

7. IP Networking

Need to check the connectivity between 2 servers

Hi All, I need an automation script to check the connectivity between 2 UNIX servers. Could anybody please help in this regards? regards, janardhan (1 Reply)
Discussion started by: rjanardhan83
1 Replies

8. Shell Programming and Scripting

Automated FTP script using .netrc to multiple FTP servers

Hi all, I'm using the following script to automated ftp files to 1 ftp servers host=192.168.0.1 /usr/bin/ftp -vi >> $bkplog 2>&1 <<ftp open $host bin cd ${directory} put $files quit ftp and the .netrc file contain machine 192.168.0.1 login abc... (4 Replies)
Discussion started by: varu0612
4 Replies

9. Shell Programming and Scripting

FTP between two UNIX servers

Hi I have server A and server B. On server B the directory is called /tmp/hmp On server A I want to get the files on server B:/tmp/hmp via FTP. After I have got the files via FTP I have to delete them. In the script below I'm affraid of that I delete files before I get them by ftp. ... (1 Reply)
Discussion started by: hpedersen4
1 Replies
Login or Register to Ask a Question