Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: Access is denied. (0x80040005) when using with nxlog.exe #70

Open
kicsiburcsi opened this issue Jul 9, 2024 · 3 comments
Open
Assignees

Comments

@kicsiburcsi
Copy link

Receives the following error when trying to use the software with NXLog Agent
2a1d90db-a076-4591-accd-581a4bcdc355

This is the ps script I am using:

$workingdir = "C:\Program Files\procgov"
restart-service nxlog
$nxlog = (get-process nxlog | select -expand id)
& "$workingdir\procgov64.exe" --maxmem 200M --cpu 1 --cpurate 20 --pid $nxlog

@lowleveldesign
Copy link
Owner

Please add -v option to the procgov64.exe arguments and show the output. What is the account of the nxlog service?

@kicsiburcsi
Copy link
Author

Just to be clear, I appended -v to the end of the last line in the ps script. The output is below:
image

The nxlog service runs with the local system account.
image

@lowleveldesign
Copy link
Owner

I will need to do some debugging to see if I may fix this problem in procgov.

In the meantime, try running procgov as SYSTEM as well, using, for example, psexec:

"$workingdir\psexec" -s -i "$workingdir\procgov64.exe" --maxmem 200M --cpu 1 --cpurate 20 --pid $nxlog

You may skip the -i (interactive) option if you don't need to see the procgov output.

@lowleveldesign lowleveldesign self-assigned this Aug 5, 2024
@lowleveldesign lowleveldesign added this to the v3.0 milestone Aug 5, 2024
@lowleveldesign lowleveldesign removed this from the v3.0 milestone Dec 7, 2024
lowleveldesign added a commit that referenced this issue Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants