IBM Support

Cannot login remotely to WPAR

Troubleshooting


Problem

Remote logins to WPAR are not allowed due to console and ptys allocation

Symptom

If using telnet, the following symptoms are shown:
- WPAR connection fails telnetd: All network ports in use
- login: root's Password:
/dev/pts/66: Password read timed out -- possible noise on port

If using ssh, the following symptoms are shown:
- PRNG is not seeded
- Server refused to allocate pty

Cause

- WPAR console is not set.
- Random device driver is not loaded
- PTY is not configured.

Resolving The Problem

# swcons /var/adm/ras/conslog
# lscons
/var/adm/ras/conslog
# rm -rf /dev/random
# rm -rf /dev/urandom
# randomctl -u
# randomctl -k
# odmget -q "value1=random" CuDvDr | grep value2 | awk '{print $3}'
"528"
# mknod /dev/random c 528 0
# mknod /dev/urandom c 528 1
# randomctl -l
# /usr/lib/methods/wpar_cfgpty -l pty0
# stopsrc -s sshd
# startsrc -s sshd
# lssrc -s sshd
Subsystem Group PID Status
sshd ssh 8257662 active


Thanks for reading through the above document.
Ahmed Mahhour

[{"Product":{"code":"SWG10","label":"AIX"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"}],"Version":"6.1;7.1;7.2","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
17 June 2018

UID

isg3T1027254