- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.
10-19-2023 03:08 AM
Hello.
Customer encounters error You are not authorized to execute command in PSMP-SSH connections when using Midnight Commander v 4.8.7. Operation System on TS is Oracle Linux 7.9 (EN). PSMP version is 12.2.5.17.
In the PSMPTrace.log we can see:
Reason: ITATS921E Internal error occurred when writing log record (diagnostic information = 361, 4). .. Rc: [-1531921] (Message data: [u_m1h7y CLK2-RETAIL Root\Operating System-UnixviaSSH-clk2auth1.intra.net-wlsadm Command=(DENIED) ┌<─ /WLS/instances/op2clkoid1/diagnostics/logs/OID/oid8 ───────────────────────────────────────────────
Also there are two unrecognised symbols in the Trace.log (see screenshot below):
As Customer said Command Access Control and OPM are not configured.
Is this a bug? Can upgrade to 13.2 help with this issue?
There is a similar error in this article:
KI#00009204: ITATS921E Internal error occurred when writing log record when writing audit
10-29-2023 05:39 PM
Hi @Eugene Vayman It seems to me that the permissions are not available to account using which user is trying to execute command. The permissions would need to be assigned to account on the .mc directory. As you mentioned, the Command Access Control and OPM are not being used. Hence I'm assuming that PSMP / CyberArk is not restricting any command execution. The way other way to validate this point is to connect to the target Unix host directly (not via PSMP) and see whether the user is able t execute the command. Hope this helps!
11-01-2023 03:45 AM
Hello.
Thanks for answer.
Customer says the direct connection works as expected (with no errors). Test connections via PSM are established correctly too.
10-07-2024 12:54 PM
Hey @Eugene Vayman
Did you ever find out what was causing this issue ?
We are getting getting the same issue with our PSMPs.
Error Trace from PSMPTrace.log :
:: | PSMPSC001E Session common exception occurred. PSMPSC129E Failed to write audit log record on Object [Root\xxxx_adm-yyyy-xxxx-adm] in Safe [xxxx_adm]. Reason: CASTM003E Vault transaction failed. Reason: ITATS921E Internal error occurred when writing log record (diagnostic information = 361, 4). .. Rc: [-1531921] (Message data: [xxxxxxxx_admRoot\xxxx_adm-yyyy-xxxx-admCommand=(DENIED) <0> all <ctrl-d> Delete <shift-f> Port-Forward <1> bc2-pwe-dev <d> Describe <r> Restart <2> default <e> Edit <s> Scale <3> ca-sba-d <?> Help <f> Show PortForward <l> Logs <y> YAML <p>
10-30-2025 07:15 AM
Same here, i'm looking for a solution 😉
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!

