Error using psPAS

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

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

Error using psPAS

L2 Linker

I'm using psPAS, I used Cyberark authentication to establish my session. When I tried to use the Add-PASAccount cmdlet I'm getting this error.

 

 

Invoke-PASRestMethod : [500] Failed to open log file [E:\PVWA\Logs\CyberArk.WebApplication.log]. Code [5]

At line:480 char:13

+ ...  $result = Invoke-PASRestMethod -Uri $URI -Method POST -Body $Body - ...

+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  + CategoryInfo     : NotSpecified: ({"ErrorCode":"C...og]. Code [5]"}:ErrorRecord) [Invoke-PASRestMethod], Ex

  ception

  + FullyQualifiedErrorId : CASLG004E,Invoke-PASRestMethod

 

I'm guessing it has something to do with the account being used not having permissions, but its a VaultAdmin and seems to be hung up trying to write to the PVWA\Log files.

1 accepted solution

Accepted Solutions

L6 Presenter

Responses with a status code of 500 are usually due to server or web service configuration.

CASLG004E is the error code from the operation, for which there is this article:

https://community.cyberark.com/s/article/PVWA-Servers-are-not-loading

 

If you think there is an issue with the module, feel free to log an issue on the project site: https://github.com/pspete/psPAS/issues

View solution in original post

3 REPLIES 3

L6 Presenter

Responses with a status code of 500 are usually due to server or web service configuration.

CASLG004E is the error code from the operation, for which there is this article:

https://community.cyberark.com/s/article/PVWA-Servers-are-not-loading

 

If you think there is an issue with the module, feel free to log an issue on the project site: https://github.com/pspete/psPAS/issues

L7 Applicator

Your PVWA might be broken. Other logins (to the normal web UI) work? Did you check the PVWA and IIS logs?

Added permissions for the PasswordVaultWebAccessPool to the pvwa logs directory, which I had moved and this resolved my problem.

  • 1 accepted solution
  • 744 Views
  • 3 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!