- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Cannot FTP
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
Forums
Discussions
Discussions
Discussions
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
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
11-20-2002 05:45 AM
11-20-2002 05:45 AM
Cannot FTP
When I try to FTP to my server, it immediately responds with "Connection Refused" - no pause, no delay, no prompt for username, nothing.
I tried kill -s SIGHUP pid where pid what the process of the inetd daemon.
I also checked /etc/ftpusers, and tried removing all entries. It made no difference,
I know it's not a router or firewall issue, because I'm FTPing from a machine on the local subnet.
When I ftp to the machine from the machine itself, I get
"421 Service not available, remote server has closed connection"
Any help would be appreciated - This is out web server, and I cannot copy files to it!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2002 05:55 AM
11-20-2002 05:55 AM
Re: Cannot FTP
ftp-data......20/tcp...... # File Transfer Protocol (Data)
ftp...........21/tcp...... # File Transfer Protocol (Control)
tftp..........69/udp...... # Trivial File Transfer Protocol
sftp..........115/tcp...... # Simple File Transfer Protocol
bftp..........152/tcp...... # Background File Transfer Protocol
ftp-ftam.....8868/tcp...... # FTP->FTAM Gateway
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2002 05:56 AM
11-20-2002 05:56 AM
Re: Cannot FTP
Yes, thanks. I have all those services.
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2002 05:57 AM
11-20-2002 05:57 AM
Re: Cannot FTP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2002 06:00 AM
11-20-2002 06:00 AM
Re: Cannot FTP
Maybe ftpd has died, maybe it is a DNS issue, maybe the IP or name of the machine was changed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2002 06:12 AM
11-20-2002 06:12 AM
Re: Cannot FTP
Please make sure that the port is not used by any other process
2.Are you running any TCP Wrappers?
3.Do you have /etc/shells file which restricts the user from login.
4.Does other services like telnet work fine?
check for any duplicated ip.
Revert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2002 06:12 AM
11-20-2002 06:12 AM
Re: Cannot FTP
- check in sam, Networking and Communications, Network services that FTP is really enabled
- check that the user you are using to transfer has a 'standard' login shell. If it's not the cas, you should create a /etc/shells file, then list all default shells (see man getusershell) and finally add yours.
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2002 06:20 AM
11-20-2002 06:20 AM
Re: Cannot FTP
netstat -a | grep LISTEN
then look for port .21 or .ftp.
If you cannot find it - inet.d is not waiting for ftp requests.
Good luck
Adam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2002 06:27 AM
11-20-2002 06:27 AM
Re: Cannot FTP
*.ftp *.* LISTEN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2002 06:35 AM
11-20-2002 06:35 AM
Re: Cannot FTP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2002 06:37 AM
11-20-2002 06:37 AM
Re: Cannot FTP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 01:02 AM
11-21-2002 01:02 AM
Re: Cannot FTP
$ ftp lcalhost
Connected to localhost. 421 Service not available, remote server has closed connection
ftp>
Any thoughts?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 01:15 AM
11-21-2002 01:15 AM
Re: Cannot FTP
-----------------------------------------------
And make sure the /etc/inetd.conf file contains an entry for ftp.
---
There must be an entry like this:
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l
If there isn't an entry, create it and then stop and start inetd.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 01:24 AM
11-21-2002 01:24 AM
Re: Cannot FTP
Yes - it's there, and I've restarted inetd to no avail.
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -ld -t 300
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 02:58 AM
11-21-2002 02:58 AM
Re: Cannot FTP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 03:02 AM
11-21-2002 03:02 AM
Re: Cannot FTP
Yes, my apologies - the issue was inetd.sec in /var/adm contained a restriction that prevented FTP from any address other than my router. The router is the issue.
Dave