HP 9000 Containers A.03.01 on HP Integrity Server Administrator Guide HP-UX 11i v3 (5900-3112, June 2013)
Verifying host name and node name
Legacy containers have issues when long host name or node name is used for either the global
container or 9000 containers. Examine the /etc/rc.config.d/netconf and /var/hpsrp/
<srp_name>/etc/rc.config.d/netconf files for these parameters.
There is a workaround for using long host name in the global; run the $ kctune
uname_eoverflow=0 command.
12.2 Recovering from HP 9000 container startup and shutdown issues
If an HP 9000 container hangs at startup:
• Run the $ srp_ps <srp_name> -ef command and identify the RC service that hangs at
startup.
• Kill the service daemon and the RC script to complete the rest of startup.
• If these options do not work, try to get the prompt using Ctrl+\.
If an HP 9000 container reports errors at shutdown indicating that some processes are not stopped,
run the command again:
$ srp –stop <srp_name>
An HP 9000 container is locked during life cycle operations. The lock file, srp_<srp_name>.lck
is available in the /var/opt/hpsrp/tmp directory. You can remove this file manually if it is left
over from a previous operation (which is incomplete for some reason) as long as no other life cycle
operation is in progress at the time of deletion.
12.3 Triaging HP 9000 container access issues
Examine the /etc/rc.config.d/netconf file on the host HP-UX 11i v3 server and ensure that
the IP address, gateway, and subnet mask for the container are configured correctly. To change
the values, see Section 8.6 (page 52).
Examine the /opt/ssh/etc/sshd_config file on the host and ensure that the ListenAddress
parameter is set to host IP address. Do not comment out or set this parameter to any container IP
address.
If you fail to access HP 9000 classic containers using SSH, verify whether the following are true:
• The ListenAddress parameter in the /var/hpsrp/<srp_name>/opt/ssh/
sshd_config file is set to the container IP address.
• The chroot directory in the /var/hpsrp/<srp_name>/opt/ssh/sshd_config file is
set to the root directory (<hp9000_root>), where HP 9000 files are recovered.
• The host HP-UX 11i v3 root directory (/) has 755 permissions and root:sys or root:root
ownership.
• All other directory components of the path leading up to <hp9000_root> have 755
permissions and root:sys or root:root ownership.
If you fail to access HP 9000 system containers using SSH, verify the following:
• Is the UseDNS parameter set in the sshd_config file inside the container? If yes, is the DNS
server accessible from the container and is the container host name registered in DNS? Does
setting UseDNS help?
• Is the PermitRootLogin parameter for the sshd_config command set to no?
• Are the host keys regenerated and used on the clients?
• Is the routing configuration correct?
• Does SSH version upgrade inside the container help?
78 HP 9000 Containers troubleshooting