- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: FTP Problems (continued)
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-21-2002 01:17 AM
11-21-2002 01:17 AM
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 localhost from the machine itself, I get
"421 Service not available, remote server has closed connection"
There is an entry in /etc/services for FTP and the listener is there when I look using lsof -i, and netstat -an
Any help would be appreciated.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 01:17 AM
11-21-2002 01:17 AM
Re: FTP Problems (continued)
have you checked the following
1. /etc/ftpd/ftpusers
2. /etc/inetd.conf (ftpd -l)
3. /etc/shells
4. /etc/ftpd/ftpaccess
5. /etc/netgroups
6. /etc/nsswitch.conf (for th proper order of services file )
and also verify the port number on the host from where
you are trying to connect.
-Niraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 01:27 AM
11-21-2002 01:27 AM
SolutionSome people asked you information in your previous post, but I can't see any answer to these questions :
- 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 case, you should create a /etc/shells file, then list all default shells (see man getusershell) and finally add yours.
- do you use a /var/adm/inetd.sec file ? If yes, you could try to rename it just during an ftp session.
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 01:31 AM
11-21-2002 01:31 AM
Re: FTP Problems (continued)
Thanks. Yes I have checked these files, and they are identical to a system where FTP works.
Nothing has been altered on the system since I last FTP'd to it. It stopped working last thursday at 21:00 when I wasn't even here! No one else has access to the machine. I know when it stopped, because the monitoring agent on it (Firehunter) uses FTP to transfer it's stats to the central monitoring station, and I haven't got stats since then.
I immediately thought "Firewall", and the firewall's disk was full, which might have prevented the machine FTPing to another, but surely that could not have affected
ftp localhost?
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 01:33 AM
11-21-2002 01:33 AM
Re: FTP Problems (continued)
Thanks - inetd.sec in /var/adm contained an entry limiting the ftp to the router. I changed to localhost, and can now FTP from localhost. There obviously was some change on the router.
Will investigate.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 01:35 AM
11-21-2002 01:35 AM
Re: FTP Problems (continued)
Its might sound Irrelevant ....
but have you also checked the permission of the above files ???
jsut a thought !!!
-Niraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 01:37 AM
11-21-2002 01:37 AM
Re: FTP Problems (continued)
Its might sound Irrelevant ....
but have you also checked the permission of the above files ???
jut a thought !!!
-Niraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 01:39 AM
11-21-2002 01:39 AM
Re: FTP Problems (continued)
Problem solved, thanks