- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: rcp failure: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
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
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
тАО08-22-2002 01:01 PM
тАО08-22-2002 01:01 PM
rcp failure:getservbyname
The 2 systems are HP-UX 11.00 with the March 2002 Quality Pack installed. I have uncommented the kshell/ekshell services. My .rhosts files have the entries for the servers and several others. The servers with the problem are NIS clients. Nslookup works correctly for all servers. The nsswitch.conf file points to local, then DNS. Inetsvcs_sec has Kerberos disabled. I followed the directions for disabling reverse lookup for remshd mentioned in PHNE_21731, and also downloaded and installed the superceding patch PHNE_23003 to one of the machines to see if it changed the results.
I suspect that it involves the Quality Pack, since I have another HP-UX 11.0 server with the Sep. 2001 Quality Pack installed which does not have this problem. It's files were compared to the affected servers and no differences in inetd.conf or services files were found. It is an NIS master Server for another NIS domain.
Any more suggestions to try would be much appreciated...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2002 01:04 PM
тАО08-22-2002 01:04 PM
Re: rcp failure:getservbyname
Do you have permision to do the remsh in the .rhosts?
~ Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2002 01:10 PM
тАО08-22-2002 01:10 PM
Re: rcp failure:getservbyname
the following should be uncommented:
shell stream tcp nowait root /usr/lbin/remshd remshd
kshell stream tcp nowait root /usr/lbin/remshd remshd -K
klogin stream tcp nowait root /usr/lbin/rlogind rlogind -K
after you uncomment them do
inetd -c
to reread the file and accept the changes.
~ Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2002 12:51 AM
тАО08-23-2002 12:51 AM
Re: rcp failure:getservbyname
Fatal error on "workstation": (remsh error: rcmd: primary connection shutdown)
then try the following:
Edit /var/adm/inetd.sec
and look for the line shell if the server you try to connect from is within the IP ranges.
Hope that helped.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2002 07:29 AM
тАО08-23-2002 07:29 AM
Re: rcp failure:getservbyname
The root problem was NIS. We had recently changed our master server to a Solaris system which was little utilized or rebooted for upgrades/changes. Solaris has no Kerberos entries for kshell, klogin, etc. The March 2002 Quality Pack brought these services into play more tightly, especially with NIS. But since the services file served by the Sun machine didn't have them listed, the getservbyname error came up for any external request for those services occurred. Local requests used the local services file, found them and worked.
Host3, the other HP-UX server just proves my point since it is an NIS master and no problems have occured on that domain.
Adding the line: "services: files nis" to the nsswitch file for the problem systems forced a local lookup first and removed the error.
Problem solved.