- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ftp issue on server.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2009 07:17 AM
тАО07-29-2009 07:17 AM
When checked i was able to do sftp to server successfully, but ftp was not working to server,
What needs to be done to open ftp ports.
Regards,
ARun K.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2009 07:21 AM
тАО07-29-2009 07:21 AM
SolutionLets see if ftp is configured to run.
vi /etc/inetd.conf
netstat -an | grep ":21 "
# Checks for a listener.
Based on your results, I am thinking ftp is not running.
If you can avoid activating it you should.
If not, its probably commented out in inetd.conf
inetd -c
# Reloads.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2009 07:23 AM
тАО07-29-2009 07:23 AM
Re: ftp issue on server.
It is likely that FTP has been disabled. This is a good choice when 'sftp' has been properly setup.
The first place to look is in '/etc/inetd.conf'. Make sure that the 'ftp' line isn't commented-out. It should look something like:
ftp stream tcp6 nowait root /usr/lbin/ftpd ftpd -l -a
If the line is commented-out and you truly want to enable FTP, then un-comment the line and restart the 'inetd' daemon with:
# /usr/sbin/inetd -c
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2009 07:24 AM
тАО07-29-2009 07:24 AM
Re: ftp issue on server.
1) Chek /etc/inetd.conf file for the following entry,
#ftp stream tcp6 nowait root /usr/lbin/ftpd ftpd -l
If # is there, remove it for enabling the port and restart the inetd by
#inetd -c
2) Check entry in /etc/ftpd/ftpusers file for checking any restriction for users.
Regards,
LIJEESH N G
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2009 07:40 AM
тАО07-29-2009 07:40 AM
Re: ftp issue on server.
ftp stream tcp6 nowait root /usr/lbin/ftpd ftpd -l
then also ftp is not working,
Either -a is required after -l to use the ftp configuration file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2009 07:45 AM
тАО07-29-2009 07:45 AM
Re: ftp issue on server.
#inetd -c
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2009 07:53 AM
тАО07-29-2009 07:53 AM
Re: ftp issue on server.
i m not seeing ftp port number in netstat -a output.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2009 10:42 AM
тАО07-29-2009 10:42 AM
Re: ftp issue on server.
UNIX because I majored in cryptology...