HP-UX Secure Resource Partitions

Posted on 2010-11-10
Medium Priority
Last Modified: 2013-12-06
Help! Can someone post links to additional relevant documentation except the “HP-UX Secure Resource Partitions Administrator's Guide”?

I built a compartment following the "Administrator's Guide", and whenever I try to log in to the compartment as a NIS user, via the srp_su command, it takes a long time (with local root I get the prompt without waiting).
Also, before the process of logging in as a NIS user is complete, I get this error:
yp_all: TCP channel create failure: RPC: Rpcbind failure - RPC: Timed out

How can I know for sure that I am logged in to the compartment?

And with ssh, it's just freezes until I break it (using ctrl+c) - I added the sshd template to the compartment, created the required authorizations, roles & assignments.

Any idea what is missing?...

Question by:questil
LVL 21

Accepted Solution

tfewster earned 1500 total points
ID: 34111833
"slow login" problems are almost always due to nameserver lookup failure - The login process tries to contact the (NIS/DNS) server to verify hostnames & usernames, and when it times out reverts to a local login. Ensure the Compartment can contact the nameserver(s). Test it with "ypwhich"; I've never used SRP, but a brief look at the Admin Guide indicates each compartment has a local "etc" directory which may override the nsswitch.conf/resolver.conf files in the "master" (INIT) compartment

This may also solve the ssh issue.

From the Administrators guide:
"you can use the following command to determine the compartment you are running in: getprocxsec -c"
- Or lanscan/ipconfig or looking at the filesystem structure should give you an indication?

Good luck!

Author Closing Comment

ID: 34400408
the solution was incomplete

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

August and September have been big months for VMware—from VMworld last month to our new Course of the Month in VMware Professional - Data Center Virtualization. We reached out to Andrew Hancock, resident VMware vExpert, to have a more in-depth discu…
This article will explain How to fix Broken backup chain in Veeam Backup & Replication.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question