- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ftp issue
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
05-31-2011 03:19 PM
05-31-2011 03:19 PM
Re: ftp issue
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/nsswitch.conf
#
# /etc/nsswitch.nis:
#
# @(#)B11.23_LR
#
# An example file that could be copied over to /etc/nsswitch.conf; it
# uses NIS (YP) in conjunction with files.
#
passwd: compat
#passwd: files nis
group: compat
#group: files nis
hosts: nis [NOTFOUND=return] files
ipnodes: files
networks: nis [NOTFOUND=return] files
protocols: nis [NOTFOUND=return] files
rpc: nis [NOTFOUND=return] files
publickey: nis [NOTFOUND=return] files
netgroup: nis [NOTFOUND=return] files
automount: files nis
aliases: files nis
services: files
#
# netstat -an|grep '*.21'
tcp 0 0 *.2121 *.* LISTEN
tcp 0 0 *.2148 *.* LISTEN
udp 0 0 *.2121 *.*
udp 0 0 *.2148 *.*
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2011 05:31 PM
05-31-2011 05:31 PM
Re: ftp issue
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l
ftp stream tcp6 nowait root /usr/lbin/ftpd ftpd -l
Try commenting out the ftp line that has tcp6 in it and run 'inetd -c' again.
Also, can you attach a copy of the /etc services file? There still appears to be something wrong there.
Also:
ls -l /etc/services /etc/inetd.conf /etc/nsswitch.conf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2011 07:55 PM
05-31-2011 07:55 PM
Re: ftp issue
attaching services file as txt format.
# ls -l /etc/services /etc/inetd.conf /etc/nsswitch.conf
-rw-r--r-- 1 root sys 4892 May 31 21:51 /etc/inetd.conf
-rw-r--r-- 1 root sys 591 May 31 16:58 /etc/nsswitch.conf
-rw-r--r-- 1 bin bin 11545 May 31 14:53 /etc/services
Thanks in advance for all your time!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2011 08:48 PM
05-31-2011 08:48 PM
SolutionOn my 11.31 system, it says:
[...]
WARNINGS
Within each process that uses nsswitch.conf(), the entire file is read
only once. If the file is later changed, the process will continue
using the old configuration.
[...]
So, "inetd -c" (or "kill -HUP") may not be
enough. You may need to stop and restart the
inetd process to get it to see any changes in
the name resolution configuration.
> You could also re-boot the system to restart
> inetd, but that shouldn't be necessary.
But it might have worked better than "inetd
-c". "-k" (followed by a manual restart)
might do more than "-c".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2011 09:00 AM
06-01-2011 09:00 AM
Re: ftp issue
did "inetd -k" and then inetd. ftp is working finr now
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2011 02:12 PM
06-01-2011 02:12 PM
Re: ftp issue
- « Previous
-
- 1
- 2
- Next »