IPC Message Queue Failure (from Session Manager) and users can't login

If new Reality logins are hanging and Session Manager won't start you can try to clear the existing message queue.

A running Session Manager is required in order for new users to login. You can try to restart using the following command as root 
# rcs start
If this starts without error, then Session Manager seems to have been stopped for some reason. However, if you get an error as follows you can also try to reset Session Manager – e.g. error message [ SMANAGER NOT started – see /usr/adm/RCS/RCS_EVENT_LOG ]

If you see the error message [ RcsManager,RcsIpcInit,Create IPC Message Queue Failure ] in the above log file you can try the following. However, the safest way to reset from Reality platform resource issues like this is to request all Reality users logoff and then restart the host platform. However, if the existing logged in users are fine and it appears only new users can't logon, then you can try the procedure below to reset Session Manager and restart.

To reset Session Managers resources, from root execute:

# rcs stop

# ipcs -qm
IPC status from
T      ID     KEY               MODE               OWNER GROUP
Message Queues:
q      61    0xaaaaaaa   -Rrw-rw-rw-     root          sys
 

# ipcrm -Q0xaaaaaaaa  << the SM address given from the above ipcs output.

# rcs start

Now check that session manager has started successfully and new users can again login.

Note:
If you see the above repeatedly then please schedule a restart of the host platform and if this reoccurs contact your local Reality support personnel.

Back to articles