Server Automation (SA): Global shell and remote terminal functionality broken from OCCC.

  • KM974729
  • 11-Aug-2010
  • 03-Jun-2021

Archived Content: This information is no longer maintained and is provided "as is" for your convenience.

Summary

Users of the OCC Client (aka Java client, aka NGUI) are unable to invoke a global shell or a remote terminal. This article addresses a very specific failure mode.

Error

No error messages are shown to the user. However, the following error message appears in the syslogs every time launching the OGSH is attempted:

Aug 11 18:32:15 rimeriops1060u.opsware.d2lab.net pamela[20962]: [ID 839283 auth.error] Error Pamela cannot exec ogsh.py retval=-1
Aug 11 18:32:15 rimeriops1060u.opsware.d2lab.net pamela[20962]: [ID 444947 auth.error] Forcing exit of NGUI connection

Cause

The root cause is that the permissions on a critical file on the slice in question are incorrect:

[root@core ~]# ls -l /var/opt/opsware/ogfs/mnt/opt/opsware/bin/python
-rwxr-xr-x  1 root root 1069635 Feb 20  2009 /var/opt/opsware/ogfs/mnt/opt/opsware/bin/python

Correct:

[root@core ~]# ls -l /var/opt/opsware/ogfs/mnt/opt/opsware/bin/python
-rwxr-xr-x  1 root root 1069635 Feb 20  2009 /var/opt/opsware/ogfs/mnt/opt/opsware/bin/python

Fix

Set the permissions of this file to "u+w,a+rx".