PIMUT001E Failed to open terminal /dev/tty. Error code 6

PIMUT001E Failed to open terminal /dev/tty. Error code 6

95
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 13:03 PM


Symptom


The following message appears when running PIMSU on a remote UNIX server using ssh
PIMUT001E Failed to open terminal /dev/tty. Error code 6

Example command:
ssh servername "/opt/CARKaim/bin/pimsu -?"


Environment


11.5;11.7;12.0;12.1;12.2;12.6;13.0;13.2 Privileged Access Manager (PAM, self-hosted) OPM For Unix OPM

Cause


The problem is that by default ssh doesn't allocate terminal (or pseudo terminal) for commands it executes. PIMSU requires terminal in order to execute.

Resolution


Add the -t option to the ssh command to force it to allocate this terminal.
For example: 
ssh -t servername "/opt/CARKaim/bin/pimsu -?" 


Additional Information


Details

SYMPTOM:
The following message appears when running PIMSU on a remote UNIX server using ssh
PIMUT001E Failed to open terminal /dev/tty. Error code 6

Example command:
ssh servername "/opt/CARKaim/bin/pimsu -?"

PROBLEM:
The problem is that by default ssh doesn't allocate terminal (or pseudo terminal) for commands it executes. PIMSU requires terminal in order to execute.

SOLUTION:
Add the -t option to the ssh command to force it to allocate this terminal.
For example: 
ssh -t servername "/opt/CARKaim/bin/pimsu -?" 




Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001WDyCAM&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail