?
Solved

HP-UX Secure Resource Partitions

Posted on 2010-11-10
2
Medium Priority
?
977 Views
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?...

Thanks,
Tal
0
Comment
Question by:questil
2 Comments
 
LVL 21

Accepted Solution

by:
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!
0
 

Author Closing Comment

by:questil
ID: 34400408
the solution was incomplete
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
Is your company's data protection keeping pace with virtualization? Here are 7 dynamic ways to adapt to rapid breakthroughs in technology.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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.
Suggested Courses
Course of the Month13 days, 13 hours left to enroll

757 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