- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- FTP problem - invalid argument: getpeername
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
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-15-2005 01:51 AM
тАО07-15-2005 01:51 AM
FTP problem - invalid argument: getpeername
Jul 15 15:50:09
Jul 15 15:50:09
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2005 01:52 AM
тАО07-15-2005 01:52 AM
Re: FTP problem - invalid argument: getpeername
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2005 02:09 AM
тАО07-15-2005 02:09 AM
Re: FTP problem - invalid argument: getpeername
could you please provide output from
ps -ef | grep ftpd
While you are ftp ing to this server from a remote host
also output of
grep ftp /etc/inetd.conf
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2005 02:13 AM
тАО07-15-2005 02:13 AM
Re: FTP problem - invalid argument: getpeername
root 16446 4507 0 17:09:08 pts/2 0:00 grep ftpd
root 16374 1310 0 17:08:44 ? 0:00 ftpd:
percival:/etc#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2005 02:16 AM
тАО07-15-2005 02:16 AM
Re: FTP problem - invalid argument: getpeername
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2005 02:28 AM
тАО07-15-2005 02:28 AM
Re: FTP problem - invalid argument: getpeername
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2005 02:34 AM
тАО07-15-2005 02:34 AM
Re: FTP problem - invalid argument: getpeername
The error you are getting getpeername:Invalid argument, implies that the socket connection ftpd is expecting to find is getting closed immediately, even before this getpeername call gets executed. I do not think that your server is doing it. The only other option is to look for the restrictions in the firewall.
Are you able to successfully establish ftp sessions from other clients to this server or is it the response to ftp request coming from anywhere ?
try ftp'ing from a neighboring node while watching the syslog. By neighboring node, I am implying something like this :
ftp server ip : 192.168.100.40
ftp client ip : 192.168.100.x
where netmask is 255.255.255.0, i.e., on the same subnet so that we should not worry about any cross network routing hence eliminating firewall blockage possibilities.
also you can change your ftp line in your inetd.conf file to something like this:
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -Llu 111
for more extensive logging. Then
inetd -k
inetd -l
then try the ftp while on a separate window, running
tail -f /var/adm/syslog/syslog.log
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2005 02:39 AM
тАО07-15-2005 02:39 AM
Re: FTP problem - invalid argument: getpeername
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2005 02:42 AM
тАО07-15-2005 02:42 AM
Re: FTP problem - invalid argument: getpeername
I do not believe you can do anything unless you are the firewall administrator at the same time. And even if you are, I do not have any experience in the firewalls to tell you want to do.
Bring the issue up to the attention of your firewall admins as quickly as possible if this is a production issue.
UNIX because I majored in cryptology...