- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ftp & telnet 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
01-07-2008 03:06 AM
01-07-2008 03:06 AM
I am using root account to ftp files from the server
cat /etc/inetd.conf |grep ftp
ftp stream tcp6 nowait root /usr/lbin/ftpd ftpd -l
# cat /etc/inetd.conf |grep telnet
telnet stream tcp6 nowait root /usr/lbin/telnetd telnetd
# cat /etc/services |grep 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
# cat /etc/services |grep telnet
telnet 23/tcp # Virtual Terminal Protocol
# cat /etc/shells
/usr/bin/ksh
/bin/ksh
/usr/bin/sh
/bin/sh
/sbin/sh
unable to start the ftp & telnet services
# /usr/lbin/ftpd start
# ps -ef |grep ftpd
root 26384 25712 0 06:05:14 pts/2 0:00 grep ftpd
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2008 03:08 AM
01-07-2008 03:08 AM
Re: ftp & telnet problem
> ftp: connect :Connection refused
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2008 03:18 AM
01-07-2008 03:18 AM
Re: ftp & telnet problem
if so restart your services with command
#inetd -c
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2008 03:22 AM
01-07-2008 03:22 AM
Re: ftp & telnet problem
Sometimes when we change FTP/telnet connection from passive to port there could be problems.
You may use the below link to check if the mode of transfer is passive or port.
http://www.wu-ftpd.org/HOWTO/telnet.testing.HOWTO
Alternateive, you may check the /etc/ftpaccess to check if there has been any restriction on access.
Thanks,
Srikanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2008 03:41 AM
01-07-2008 03:41 AM
Re: ftp & telnet problem
Hi mjos!!
That's great that you had gone through the certain necessary areas but i want to add few more areas to have a look.
1]Please check out wheather the source and destination servers are within the same subnet.
2]If they are in different subnet, you need to get the firewall access to be open from your security team for telnet(port 23) and ftp (20 &21)ports.
3] Then also, if ftp is not working,please check out the file /etc/ftpd/ftpusers, if the user is present inside that make it hash then try.For more details check "man ftpusers"
I thinks by following above procedure, you can resolve your issuse.If you are happy with my explanation.Please do assign the points.
Cheers!!!!
Rgds
-Yogesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2008 03:43 AM
01-07-2008 03:43 AM
Solution> our hp-rp3440 server running B.11.11
> I am using root account to ftp files from
> the server
On which system are you running the FTP or
Telnet client, and on which system are you
trying to run the FTP and Telnet servers?
> cat /etc/inetd.conf |grep ftp
> ftp stream tcp6 nowait root /usr/lbin/ftpd ftpd -l
> # cat /etc/inetd.conf |grep telnet
> telnet stream tcp6 nowait root /usr/lbin/telnetd telnetd
Around here, that's:
dy # grep telnet /etc/inetd.conf
telnet stream tcp nowait root /usr/lbin/telnetd telnetd
dy # grep ^ftp /etc/inetd.conf
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l
So, "tcp", not "tcp6".
dy # grep tcp /etc/protocols
tcp 6 TCP # transmission control protocol
Perhaps yours includes "tcp6", but mine does
not.
> # /usr/lbin/ftpd start
/usr/lbin/ftpd is a program, not a start-stop
script in /sbin/init.d, so that was doomed.
> # ps -ef |grep ftpd
> root 26384 25712 0 06:05:14 pts/2 0:00 grep ftpd
And that was normal, as it only runs on
demand.
Does
grep ftpd /var/adm/syslog/syslog.log
tell you anything?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2008 04:05 AM
01-07-2008 04:05 AM
Re: ftp & telnet problem
grep ftpd /var/adm/syslog/syslog.log
getpeername (/usr/lbin/ftpd): Socket opera
tion on non-socket
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2008 04:17 AM
01-07-2008 04:17 AM
Re: ftp & telnet problem
hp-ux ftpd "Socket operation on non-socket"
suggest (and a quick experiment confirms),
this complaint may be caused by your command:
/usr/lbin/ftpd start
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2008 06:10 AM
01-07-2008 06:10 AM
Re: ftp & telnet problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2008 06:21 AM
01-07-2008 06:21 AM