- 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
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
тАО05-31-2011 01:59 PM
тАО05-31-2011 01:59 PM
Re: ftp issue
Check /etc/nsswitch.conf and see what the services line looks like.
It should look something like:
services: files
If there is something like NIS there, then you need to check your NIS maps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2011 02:12 PM
тАО05-31-2011 02:12 PM
Re: ftp issue
"I guess" does not inspire much confidence.
What _does_ work on this system?
> This machine is of NIS client.
So, instead of "cat /etc/services", what do
you get from:
ypcat services
?
Where's the NIS master? Do other NIS clients
work better than this one?
> In fact, I restored the original file w/o
> any luck
Which file is that? Restored what? My
psychic powers are very weak. Guessing that
you might be using NIS is about the best
you'll get from me if you want to depend on
me to guess at this stuff.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2011 02:24 PM
тАО05-31-2011 02:24 PM
Re: ftp issue
2) # ypcat services
ypcat: no such map in server's NIS domain
#
3) restored services file from /usr/newconfig/etc/services.. which I feel is the original one from OS build
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2011 02:25 PM
тАО05-31-2011 02:25 PM
Re: ftp issue
> any luck
Also, "w/o any luck" is not a very detailed
description of what you tried, or what
happened when you tried it.
Knowing nothing, I'd guess that after you
change the nsswitch configuration, you'd need
to whack inetd to get it to try everything
again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2011 02:28 PM
тАО05-31-2011 02:28 PM
Re: ftp issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2011 02:31 PM
тАО05-31-2011 02:31 PM
Re: ftp issue
> ypcat: no such map in server's NIS domain
Really? That seems unusual. But, if there's
no NIS "services" map, then you probably want
an nsswitch.conf which says
services: files
instead of
services: files nis
> It should look something like:
>
> services: files
What he said.
Also potentially interesting:
ypwhich -m
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2011 02:33 PM
тАО05-31-2011 02:33 PM
Re: ftp issue
# ypwhich -m
netgroup.byuser yellow
netgroup.byhost yellow
netgroup yellow
ypservers yellow
group.byname yellow
group.bygid yellow
auto_home yellow
auto_master yellow
auto_direct yellow
passwd.byuid yellow
passwd.byname yellow
netid.byname yellow
hosts.byname yellow
hosts.byaddr yellow
publickey.byname yellow
# cat /etc/nsswitch.conf|grep -i services
services: files
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2011 02:37 PM
тАО05-31-2011 02:37 PM
Re: ftp issue
> changes and tried to check ftp and it did
> not work
Which "those changes"? "tried to check" how,
exactly? As usual, showing actual commands
with their actual output can be more helpful
than vague descriptions or interpretations.
Was there another "inetd -c" in there
anywhere?
The whole Forum points system may not be
worth much, but it might make more sense if
you waited until you found the solution to
your problem before deciding how helpful a
particular response was.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2011 02:39 PM
тАО05-31-2011 02:39 PM
Re: ftp issue
see my earlier reply and if you can respond back.. thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2011 02:39 PM
тАО05-31-2011 02:39 PM
Re: ftp issue
> [...]
You win. No "services.byname". So you need
to use the "/etc/services" _file_.