FTP connection problem

Thread Tools Search this Thread
Special Forums IP Networking FTP connection problem
# 1  
Old 08-27-2002
Network FTP connection problem

We have moved our DNS and DHCP to Windows 2000 from BIND. Our FTP Server is running Solaris 2.6, users who receive an i.p. address from win2k DHCP receives a connection failed error when trying to FTP and users who have static i.p. address can FTP with no problems. Can anyone shed light as to why this would happen?
# 2  
Old 08-27-2002
From one of the system that cannot ftp, try to ping the ftp server by ip address. Does that work? If so, try to ping the ftp server by name. Does that work?
# 3  
Old 08-27-2002
I can ping by name and I can use nslookup to find the server. It appears that if Windows 2000 DHCP issued out the i.p. our Unix FTP server refuses the connection
# 4  
Old 08-27-2002
What ftp daemon are you running? Some of them try a reverse dns lookup to get the hostname. From the server can you do a nslookup on the ip address of the client? When the clients switched to dhcp did they wind up on a different subnet? Could you be running tcp wrappers or something like that on the server? Is there a firewall between the server and the client? This could be a firewall issue.
# 5  
Old 08-27-2002
We are running inetd.conf (1m) 1.2.7 SRV
Yes I can do a nslookup back to the client from the FTP Server
I not sure if we are running TCP wrapper or not but from what I can tell we are probably not, this is all I see when I check inetd.conf file: ftp stream tcp nowait root /usr/bin/in.ftpd
The dhcp client are on the same subnet as the Unix box
I am also having problem telneting into that Unix box as well.
# 6  
Old 08-27-2002
Check your /etc/hosts.allow and /etc/hosts.deny - you are probably being blocked because of the change in IP addresses. Add the new subnet to /etc/hosts.allow and it should work.
# 7  
Old 08-27-2002
The subnet range was in the host.allow, typed in the ip address of the client that was failing. Still no response, it connects to the port 21 and receives a message that "host lost connection". There is no deny.allow file.

When looking at DHCP, if I grab an i.p. address out of the range of ip address that has not been assigned by DHCP and hard code it into my workstation I can connect with no problem. But if I set DHCP up to send the i.p. by reserving the mac address it fails. Is there some type configuration in Unix that can distiquish if an I.P. address was sent via DHCP. As you can tell I am not a Unix expert just a beginner. But I appreciate all the response you are giving.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

FTP connection refused

Hi I am trying to execute a shell script which is in unix server gs1. The script is below which basically connects to another unix server q15 and tries to get a file using FTP . But i get error as "ftp: connect: Connection refused Not connected. Not connected." Please help with if the below... (8 Replies)
Discussion started by: samrat dutta
8 Replies

2. Solaris

Solaris 10 ftp connection problem (connection refused, connection timed out)

Hi everyone, I am hoping anyone of you could help me in this weird problem we have in 1 of our Solaris 10 servers. Lately, we have been having some ftp problems in this server. Though it can ping any server within the network, it seems that it can only ftp to a select few. For most servers, the... (4 Replies)
Discussion started by: labdakos
4 Replies

3. HP-UX

ftp first connection closed

Hi, Have anyone seen this problem, there is one remote side where their ftp connection to our server will always fail with connection closed by remote host and the second connection will be working. is this an OS issue or network issue? Thanks Robert (4 Replies)
Discussion started by: robertngo
4 Replies

4. UNIX for Dummies Questions & Answers

vxWorks connection to solaris 9.0 rsh vs ftp problem

Can anyone point me in the right direction.. I have a test system which requires vxWorks to be loaded via TCPIP I am using a Sun ultra10 box with Sol 9.0 installed as the server I have configured the server and am able to load the boot image without any problems. I assume it is using the... (0 Replies)
Discussion started by: shortsrkt
0 Replies

5. Shell Programming and Scripting

FTP connection problem

I am getting the error in this command when i am pitting it in shell script ftp -nvi jcmpcor1.abc.com >/work/test98.dat << EOD error:- invalid command. but when i am writting it from outside it work fine. (7 Replies)
Discussion started by: ravi214u
7 Replies

6. UNIX for Dummies Questions & Answers

FTP Connection

Hi, Anyone encounter whereby when you FTP from an Unix server (Solaris 8) to another server (Window Server 2003), you tend to wait a long while when you do a "ls" and you get a timeout after that. However, when you FTP again and do a "ls", the result of "ls" shown immediately. All connection are... (5 Replies)
Discussion started by: ahlude
5 Replies

7. SCO

ftp connection

I have problem with ftp connection on SCO UNIX 5.0.7, it is work slowly. How I can make accelerate. (6 Replies)
Discussion started by: draganmi
6 Replies

8. Solaris

ftp connection problem

Hi all, i am not able to connect the ftp through userA. Can you please tell me what are the possible ways to troubleshoot this issue? Regards krishna (2 Replies)
Discussion started by: krishna176
2 Replies

9. Cybersecurity

FTP Connection

I just started a new job and inherited a Fedora core 3 server. I wanted to open the ftp ports and I wanted to verify this code before I mess things up. From my reading the two lines below should allow ftp access can anyone confirm my attempt. iptables -A INPUT -p tcp - sport 21 -m state - state... (0 Replies)
Discussion started by: mungaz
0 Replies

10. UNIX for Dummies Questions & Answers

FTP connection problem on new server

Solaris Server (V880) version 8 Brand new box just installed O/S, what do I need to do in order to get FTP working. I have updated the /etc/hosts.equiv file Problem - When trying to ftp to the server I get a login incorrect message, this is with the root user. Are there some... (1 Reply)
Discussion started by: miredale
1 Replies
Login or Register to Ask a Question