Operating System - HP-UX
1849592 Members
6463 Online
104044 Solutions
New Discussion

ftp ports enabled but am unable to do ftp..

 
fizan
Super Advisor

ftp ports enabled but am unable to do ftp..

# cat /etc/inetd.conf
##
#
# @(#)B11.23_LRinetd.conf $Revision: 1.24.214.3 $ $Date: 97/09/10 14:50:49 $
#
# Inetd reads its configuration information from this file upon execution
# and at some later time if it is reconfigured.
#
# A line in the configuration file has the following fields separated by
# tabs and/or spaces:
#
# service name as in /etc/services
# socket type either "stream" or "dgram"
# protocol as in /etc/protocols
# wait/nowait only applies to datagram sockets, stream
# sockets should specify nowait
# user name of user as whom the server should run
# server program absolute pathname for the server inetd will
# execute
# server program args. arguments server program uses as they normally
# are starting with argv[0] which is the name of
# the server.
#
# See the inetd.conf(4) manual page for more information.
##

##
#
# ARPA/Berkeley services
#
##
ftp stream tcp6 nowait root /usr/lbin/ftpd ftpd -l
telnet stream tcp6 nowait root /usr/lbin/telnetd telnetd
-----------------------------------------------
# cat /etc/services |more
# @(#)B11.23_LRservices $Revision: 1.32.214.7 $ $Date: 97/09/10 14:50:42 $
#
# This file associates official service names and aliases with
# the port number and protocol the services use.
#
# Some of the services represented below are not supported on HP-UX.
# They are provided solely as a reference.
#
# The form for each entry is:
#
#
# See the services(4) manual page for more information.
# Note: The entries cannot be preceded by a blank space.
#
tcpmux 1/tcp # TCP port multiplexer (RFC 1078)
echo 7/tcp # Echo
echo 7/udp #
discard 9/tcp sink null # Discard
discard 9/udp sink null #
systat 11/tcp users # Active Users
daytime 13/tcp # Daytime
daytime 13/udp #
qotd 17/tcp quote # Quote of the Day
chargen 19/tcp ttytst source # Character Generator
chargen 19/udp ttytst source #
ftp-data 20/tcp # File Transfer Protocol (Data)
ftp 21/tcp # File Transfer Protocol (Control)
telnet 23/tcp # Virtual Terminal Protocol
smtp 25/tcp # Simple Mail Transfer Protocol
time 37/tcp timeserver # Time
time 37/udp timeserver #
rlp 39/udp resource # Resource Location Protocol
-----------------------------------------------
# cat /var/adm/inetd.sec
# @(#)B11.23_LRinetd.sec $Revision: 1.10.214.1 $ $Date: 96/10/08 13:20:06 $
#
#
# The lines in the file contain a service name, permission field and
# the Internet addresses or names of the hosts and/or networks
# allowed to use that service in the local machine.
# The form for each entry in this file is:
#
#
#
# For example:
#
# login allow 10.3-5 192.34.56.5 ahost anetwork
#
# The above entry allows the following hosts to attempt to access your system
# using rlogin:
# hosts in subnets 3 through 5 in network 10,
# the host with Internet Address of 192.34.56.5,
# the host by the name of "ahost",
# all the hosts in the network "anetwork"
#
# mountd deny 192.23.4.3
#
# The mountd entry denies host 192.23.4.3 access to the NFS rpc.mountd
# server.
#
# Hosts and network names must be official names, not aliases.
# See the inetd.sec(4) manual page for more information.
dtspc allow 127.0.0.1 loopback HPUX1150
-----------------------------------------------
5 REPLIES 5
Torsten.
Acclaimed Contributor

Re: ftp ports enabled but am unable to do ftp..

What does "unable" means - please be more specific and post your command and error messages.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Victor Fridyev
Honored Contributor

Re: ftp ports enabled but am unable to do ftp..

Please check whether FTP os permitted in /etc/inetd.conf
If strong with ftp is commented out, uncomment it and restart inetd:
Find PID of inetd and kill -1 its PID

HTH
Entities are not to be multiplied beyond necessity - RTFM
fizan
Super Advisor

Re: ftp ports enabled but am unable to do ftp..

ftp 50.50.50.50
from my local desktop,

-----------------------

it shows as connection refused.
fizan
Super Advisor

Re: ftp ports enabled but am unable to do ftp..

now the ping is happening, the issue is am trying to connect with the natted ip, after that i tried with the base ip, now am able to perform ftp to the server.

Thanks.
fizan
Super Advisor

Re: ftp ports enabled but am unable to do ftp..

got solution!!