- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- getservbyname
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-17-2002 05:00 PM
04-17-2002 05:00 PM
getservbyname
My application having problem in getservbyname.
Error messages of "Systemerror =
Currently my system have apply NIS.
Please advise.
Thanks.
Regards,
Pat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2002 05:09 PM
04-17-2002 05:09 PM
Re: getservbyname
http://www.informatik.uni-frankfurt.de/doc/man/hpux/getservent.3n.html
If the system is running Network Information Service (NFS), getservbyname() gets the service information from the NIS server (see ypserv(1M) and ypfiles(4)).
http://www.informatik.uni-frankfurt.de/doc/man/hpux/ypserv.1m.html
http://www.informatik.uni-frankfurt.de/doc/man/hpux/ypfiles.4.html
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2002 05:16 PM
04-17-2002 05:16 PM
Re: getservbyname
Was /etc/services recently updated?
If /etc/services was updated but NIS was not aware, then you need to update the NIS yellow pages by running make inside /var/yp:
# cd /var/yp
# make
Hope this helps. Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2002 05:23 PM
04-17-2002 05:23 PM
Re: getservbyname
Thanks for replying.
The NIS is always update.
My Current Server act as NIS Client.
Please advise.
Thanks
Regards,
Pat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2002 06:06 PM
04-17-2002 06:06 PM
Re: getservbyname
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2002 07:18 PM
04-17-2002 07:18 PM
Re: getservbyname
Yes. I agree with you. cause i did modify file permission somewhere last week for security purpose.
But i can't remember what file i did change.
I have check those file that u meantion ( /etc/host, /etc/hosts.equiv , /etc/inetd.conf,/etc/services ) all permission have set to 444
if there any other file i need to concern???
Many Thanks.
Regards,
Pat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2002 08:29 PM
04-17-2002 08:29 PM
Re: getservbyname
In /etc
resolv.conf
nsswitch.conf
networks
netgroup
netmasks
netconfig
In /var/adm
inetd.sec
Are you able to trace which file/files permission did you change ? Check .sh_history (if you got one setup -- hopefully) for previous executed commands. What about comparing the files permission with that of other NIS client box that worked fine.