Visit Our UNIX and Linux User Community

ftp connection problem

Thread Tools Search this Thread
Operating Systems Solaris ftp connection problem
# 1  
Old 03-24-2007
Power 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?

# 2  
Old 03-24-2007
First I would make sure that other users can connect, and log in. If not, check the /etc/inet/inetd.conf on the server to see if FTP is enabled. [Solaris 10 check the "services" (svcs -a | grep ftp) and look for "enabled" or "online" in the left hand column.] Either edit the inetd.conf and remove the 'comment' ( # ) from the first column, or enter the command "svcadm enable /network/ftp".

DISCLAIMER: I have not mentioned ANY of the issues involved with enabling FTP on a particular machine.

If it is only this user (userA) that cannot login, I'd check to make sure they have an account on the FTP server that they can login to, that their name does not exist in the /etc/ftpd/ftpusers file, that the host they are coming from is not disallowed in the /etc/ftpd/ftphosts file (could be coulpled with their username), that the SHELL their account uses DOES appear in the /etc/shells file, and that the 'rules' setup in the /etc/ftpd/ftpaccess file do not block access.

The problem I am having is that I don't know/remember ALL the details of all the possible FTP servers that can be running on this server of yours, so I have only scratched the surface here. The files I mentioned may be in a different place on your server, or some (ftphosts) may not exist at all.

I hope this helps.
# 3  
Old 03-24-2007
Thank you very much "dsbeerf".


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 >/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. 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

9. 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

10. IP Networking

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... (11 Replies)
Discussion started by: cassy
11 Replies

Featured Tech Videos