1826290 Members
4492 Online
109692 Solutions
New Discussion

Re: problem with ftp

 
SOLVED
Go to solution
Jose Ramirez_6
Advisor

problem with ftp

Hi.

I cannot do ftp a server hp-ux with the version 11.11.

The message that receipt is:
The connection has been reject.

Thank you for your help
jose ramirez
5 REPLIES 5
Henk Geurts
Esteemed Contributor
Solution

Re: problem with ftp

ji Jose

make sure ftp is configured in
/etc/inetd.conf
/etc/services
/var/adm/inetd.sec
regards,
Jose Ramirez_6
Advisor

Re: problem with ftp

i send the configuration files


services

ftp-data 20/tcp # File Transfer Protocol (Data)
ftp 21/tcp # File Transfer Protocol (Control)

inetd.conf

ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l


The file inetd.sec not exist
jose ramirez
Denver Osborn
Honored Contributor

Re: problem with ftp

In addition to Henk's comments, if ftpd is turned on and listening you'll want to check the /etc/ftpd/ftpusers file.

The entry in /etc/inetd.conf should look similar to (all on one line)

ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l

Remember to run "inetd -c" after making any inetd config changes.

for info re: /etc/ftpd/ftpusers file refer to man ftpusers

-denver
Bill Hassell
Honored Contributor

Re: problem with ftp

If the ftp server and client are on the same subnet, then all the above should work OK, but check if the /var/adm/inetd.sec file has any entries denying ftp. If you are separated betweeen the client and server on different subnets, ask the network admin to verify that ftp is allowed between these subnets. If this is ftp through the Internet, it is highly likely that ftp is denied.


Bill Hassell, sysadmin
Zigor Buruaga
Esteemed Contributor

Re: problem with ftp

Hi,

Log on to your ftp server and try to do the ftp locally "# ftp your_server_name", that would help to isolate the problem.
If the connection is not rejected, and since you don't have inetd.sec file, I'd investigate the network, as per Mr. Hassell advice.

Regards,
Zigor