How to enable trace or debug log on connector node?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to enable trace or debug log on connector node?

L2 Linker

I have some difficulty in connecting to my target windows machine. I would like to see the detailed log why it is failing. Is there a way to enable debug logs in connector VM?

8 REPLIES 8

L7 Applicator

Is your Connector Server acting as PSM server if so then

 

https://docs.cyberark.com/PrivCloud/Latest/en/Content/Privilege%20Cloud/PrivCloud-connector-logs.htm?tocpath=Setup%7CDeploy%20and%20maintain%20Privilege%20Cloud%20connectors%7CDeploy%20Privilege%20Cloud%20Connector%7C_____2

Hello @Robert Stothard​ , I have log file under C:\Program Files\CyberArk\DPAConnector\Logs\connector.txt. But it does not provide much detail. Please help any suggestion.

L7 Applicator

Hi @Kyi Soe Thin​ 

 

Would you be able to share exact error message that you see while trying to connect to Windows Target machine ?

 

Please share the logs as well ! Thanks

Hi @Malhar Vora​ ,

Here is the error message that I would like to debug.

 

2024/01/02 00:54:25 {"tenant":"xxxxxxxxxx","origin_service_region":"","log_level":"ERROR","category":"general","host":"xxxxxxxx","version":"v1.5.191","origin_service_name":"ConnectorClient-WindowsProvisioningPlugin","origin_func_name":"/home/jenkins/go/pkg/mod/github.cyberng.com/pas/[email protected]/pkg/local_usermgmt_provisioning.go:131","message":"ConnectorClient-WindowsProvisioningPlugin: [session_id: b20b3087-34f0-40e1-84eb-2f69254ffa04] Failed to create ephemeral user: Verify that the strong account has permission to create users on the target machine. If the problem persists, contact Support","timestamp":"2024-01-02T08:54:24.273572","stack_trace":"","context_info":{"session_id":"b20b3087-34f0-40e1-84eb-2f69254ffa04"},"tags":{"group":"dpa"}}

Thanks.

 

 

L7 Applicator

Hi @Kyi Soe Thin​ 

 

Thanks for the sharing the error message.

 

The error message indicates that Strong Account doesn’t have enough privilege to provision an ephemeral user on target Windows instance.

 

The DPA requires to access Strong Account in order to create an ephemeral user on target instance.

 

  1. If the Strong Account is a domain account, it should be a part of the Domain Administrator group.
  2. Verify the Strong Account is added via GPO.

 

Hope it helps !

 

 

L2 Linker

Hi @Malhar Vora​ ,

 

Thanks a lot for the answer.

 

But I would like to have detailed debug log why it cannot create ephemeral user. I just wonder if DPA have such a feature to turn on debug log.

 

Kyi Soe

Hi @Kyi Soe Thin​ 

 If the issue is still relevant, I would advise raising a ticket with our Support team for further assistance.

 

Thanks,

Niv

L2 Linker

Hi @Niv Levi​ ,

Okay. Thank you.

 

Kyi Soe

  • 870 Views
  • 8 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!