FTP connection problem

Thread Tools Search this Thread
Special Forums IP Networking FTP connection problem
# 8  
Old 08-28-2002
The unix host should not care whether or not dhcp was used to assign the client's ip address. Most unix systems can be a dhcp server. My pc got its ip address via dhcp and I can ftp to our ftp server just fine.

More stuff than ip address comes from a dhcp server. Netmask, default gateway, and even routing table entries can be set. Could these be wrong? Is it only ftp? Can you telnet? Can you ftp to any other boxes?
# 9  
Old 08-30-2002
The configuration for the subnet mask, default gateway, DNS, WINS is the right IP address in DHCP. I have not done anything with routing table we are on a flat network the only router we have goes out to the Internet. I cannot ftp or telnet the Unix box, although I can telnet and ftp other Unix box in our network. It seems like a configuration problem within this one box. I just do not no what it is.

Sorry, for getting back so late but I had another project that I needed to finish. However, we are still having the problem; the temporary fix is to hard code all clients that need to ftp or telnet to the Unix box with a static i.p. address.
# 10  
Old 09-04-2002
I was checking back through old posts I had responded to and came across yours. Did you ever get this working?

Some other thoughts:
You could change your /etc/hosts.allow file to have all ftp accepted by putting this into the file:
in.ftpd: ALL

You wrote:
this is all I see when I check inetd.conf file:
ftp stream tcp nowait root /usr/bin/in.ftpd

The entry should have one more piece:
ftp stream tcp nowait root /usr/bin/in.ftpd in.ftpd

Insure no spaces at the begining of the line or at the end (actual case in SunSolve mentioned this error)

Insure that /etc/inet/inetd.conf is linked from /etc/inetd.conf.
# ls -l /etc/inetd.conf
lrwxrwxrwx 1 root root 17 May 7 2001 /etc/inetd.conf -> ./inet/inetd.conf

Did you check your /etc/resolv.conf to point to the correct nameserver? Are you running bind on the ftp server? If so, was it stopped and restarted (Solaris will cache entries and ignore changes in DNS - caching only servers are needed on the server if you use any round robin).

Last resort - reboot and see if the problem goes away. Could have cached other info which is interfering (arp table, network routes,...)
# 11  
Old 09-06-2002
We have tried everything you listed, except for reboot and nothing helps. We will reboot over the weekend and I will keep you posted.
# 12  
Old 09-09-2002
Thank you for your response to this problem. The problem has been resolved. It appears that our unix server had a restrict set that did not allow a workstation to connect via FTP Or Telnet if it did not have the domain name associated with it. When workstations were dynamically registering itself with DNS it did not registered the FQDN, just the host name.
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