- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: FTP Strange Problem
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
04-28-2005 07:50 AM
04-28-2005 07:50 AM
We have HP ux v.11, called caribe, time ago I can use ftp without problem, but now I can not, the only thing that has been change is the DNS. All seen to be right...!!!
I get error:
From DOS: Connection closed by remote host.
From HP box: 421 Service not available, remote server has closed connection
Here show you some important files for your reference:
[root@caribe]/etc> tail -n 5 /var/adm/inetd.sec
# 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 caribe
ftp allow 10.58.0.0 ahost anetwork
ftp allow 10.58.0.182
[root@caribe]/etc>
*********************
[root@caribe]/etc> tail /var/adm/syslog/syslog.log
Apr 28 14:20:22 caribe inetd[618]: Rereading configuration
Apr 28 14:20:22 caribe inetd[618]: protocol = tcp
Apr 28 14:20:22 caribe inetd[618]: protocol = udp
Apr 28 14:20:23 caribe inetd[618]: Configuration complete
Apr 28 14:20:31 caribe ftpd[3138]: FTP session closed
Apr 28 14:20:23 caribe inetd[618]: protocol = udp
Apr 28 14:21:11 caribe above message repeats 7 times
Apr 28 14:20:23 caribe inetd[618]: protocol = tcp
Apr 28 14:23:12 caribe above message repeats 18 times
Apr 28 14:31:37 caribe ftpd[3356]: FTP session closed
[root@caribe]/etc>
*******************
more inetd.conf
##
#
# ARPA/Berkeley services
#
##
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l
telnet stream tcp nowait root /usr/lbin/telnetd telnetd
*****************
Already, restart the inetd -c and inetd -k and reboot the server too...
****************
Also, I run the follow command:
[root@caribe]/etc> netstat -a | grep ftp | grep LISTEN
tcp 0 0 *.ftp *.* LISTEN
[root@caribe]/etc>
****************
Yes, I can do a ftp from this HP box to others
[root@caribe]/etc> ftp 10.58.0.39
Connected to 10.58.0.39.
220 bandeco.cr.freshdelmonte.com FTP server (Version 1.1.214.8 Fri Apr 20 07:27:42 GMT 2001) ready.
Name (10.58.0.39:root): oracle8i
331 Password required for oracle8i.
Password:
230 User oracle8i logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>
****************
The HP unix box with the problem=caribe=10.58.0.3
Another HP unix box=bandeco=10.58.0.39
Other PC windowze
__They are together into same network, without firewall between them..
****************
Has DNS to see with this problem???
What's wrong...??? I don't know What more can I do?
I apreciate your help...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2005 08:23 AM
04-28-2005 08:23 AM
Re: FTP Strange Problem
problem.
Run the command "nslookup caribe" on both caribe
and the other client and post the output here.
- Biswajit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2005 08:47 AM
04-28-2005 08:47 AM
Re: FTP Strange Problem
[root@caribe]/etc> nslookup caribe
Name Server: crsnjdc001.freshdelmonte.corp
Address: 10.58.0.13
Trying DNS
Name: caribe.cr.freshdelmonte.com
Address: 10.58.0.3
Aliases: caribe.freshdelmonte.corp
***nslookup in the other HP box:
[oracle8i@bandeco]/home/oracle8i> nslookup caribe
Name Server: crsnjdc001.freshdelmonte.corp
Address: 10.58.0.13
Trying DNS
Name: caribe.cr.freshdelmonte.com
Address: 10.58.0.3
Aliases: caribe.freshdelmonte.corp
[oracle8i@bandeco]/home/oracle8i> nslookup bandeco
Name Server: crsnjdc001.freshdelmonte.corp
Address: 10.58.0.13
Trying DNS
Name: bandeco.cr.freshdelmonte.com
Address: 10.58.0.39
Aliases: bandeco.freshdelmonte.corp
***nslookup in the PC windowze
C:\WINNT\system32>ftp caribe
Connected to caribe.cr.freshdelmonte.com.
Connection closed by remote host.
C:\WINNT\system32>nslookup caribe
Server: crsnjdc001.freshdelmonte.corp
Address: 10.58.0.13
Name: caribe.cr.freshdelmonte.com
Address: 10.58.0.3
Aliases: caribe.FreshDelmonte.corp
*** BUT SEE HERE it's works
c:\>nslookup caribe
Server: crsnjdc001.freshdelmonte.corp
Address: 10.58.0.13
Name: caribe.cr.freshdelmonte.com
Address: 10.58.0.3
Aliases: caribe.FreshDelmonte.corp
c:\>ftp caribe
Connected to caribe.cr.freshdelmonte.com.
220 caribe.cr.freshdelmonte.com FTP server (Version 1.1.214.8 Fri Apr 20 07:27:42 GMT 200
) ready.
User (caribe.cr.freshdelmonte.com:(none)): oracle8i
331 Password required for oracle8i.
Password:
230 User oracle8i logged in.
ftp> bye
221 Goodbye.
Only, it works in this PC, I just proved in other three and no connect..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2005 09:09 AM
04-28-2005 09:09 AM
Re: FTP Strange Problem
Let's just look at the four unix cases.
From bandeco:
1) ftp caribe
2) ftp 10.58.0.3
From caribe:
3) ftp 10.58.0.39
4) ftp bandeco
What happens for each of the four cases above ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2005 09:16 AM
04-28-2005 09:16 AM
Re: FTP Strange Problem
-------------
[oracle8i@bandeco]/home/oracle8i> ftp caribe
Connected to caribe.cr.freshdelmonte.com.
421 Service not available, remote server has closed connection
ftp> bye
[oracle8i@bandeco]/home/oracle8i> ftp 10.58.0.3
Connected to 10.58.0.3.
421 Service not available, remote server has closed connection
ftp> bye
From Caribe:
-------------
[oracle8i@caribe]/home/oracle8i> ftp bandeco
Connected to bandeco.cr.freshdelmonte.com.
220 bandeco.cr.freshdelmonte.com FTP server (Version 1.1.214.8 Fri Apr 20 07:27:42 GMT 2001) ready.
Name (bandeco:root): oracle8i
331 Password required for oracle8i.
Password:
230 User oracle8i logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> bye
221 Goodbye.
[oracle8i@caribe]/home/oracle8i> ftp 10.58.0.39
Connected to 10.58.0.39.
220 bandeco.cr.freshdelmonte.com FTP server (Version 1.1.214.8 Fri Apr 20 07:27:42 GMT 2001) ready.
Name (10.58.0.39:root): oracle8i
331 Password required for oracle8i.
Password:
230 User oracle8i logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> bye
221 Goodbye.
From caribe to bandeco, yes, but, bandeco to caribe, no..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2005 09:17 AM
04-28-2005 09:17 AM
Re: FTP Strange Problem
Look at your /var/adm/inetd.sec. You have 2 entries for FTP with allow statements. ONLY THE LAST ONE in the file will be used. The lines ARE NOT cumulative. They are exclusive. The 2nd 'ftp allow' statement basically overwrites the first, so that only the machine at 10.58.0.182 will be allowed to FTP to this server.
Fix that, and your FTP will probably work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2005 09:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2005 09:23 AM
04-28-2005 09:23 AM
Re: FTP Strange Problem
[root@caribe]/etc> tail /var/adm/inetd.sec
#
# 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 caribe
ftp allow 10.58.0.0 ahost anetwork
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2005 09:27 AM
04-28-2005 09:27 AM
Re: FTP Strange Problem
That still won't work.
Try:
ftp allow 10.58.0.*
and don't forget to do 'inetd -c'.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2005 09:28 AM
04-28-2005 09:28 AM
Re: FTP Strange Problem
ftp allow 10.58.*.* or 10.58.*
Thanks a lot Patrick..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2005 09:33 AM
04-28-2005 09:33 AM
Re: FTP Strange Problem
Thanks a lot...