Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.12.3 available

The official documentation can be found on https://wiki.ocsinventory-ng.org. Read it before asking your question.

ERROR *** AGENT => Failed to write Prolog Frequency <Error code 5 = Access is denied.

What means these error:

==============================================================================
Starting OCS Inventory NG Agent on Thursday, July 23, 2015 17:12:01.
AGENT => Running OCS Inventory NG Agent Version 2.1.1.1
AGENT => Using OCS Inventory NG FrameWork Version 2.1.1.1
AGENT => Loading plug-in(s)
AGENT => Using network connection with Communication Server
AGENT => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.1.1.1>
AGENT => Sending Prolog
AGENT => Prolog successfully sent
SUPPORT => No support detected, Registration key : N/A
ERROR *** AGENT => Failed to write Prolog Frequency <Error code 5 = Access is denied.  >
AGENT => Inventory required
AGENT => Launching hardware and software checks
AGENT => Communication Server ask for IpDiscover

How can I fix it?

 

in OCS Inventory NG agent for Windows by (120 points)

1 Answer

0 votes

Hi,

  1. With which user have you installed the agent? 
  2. Otherwise you have declared a user in ocsinventory.ini and this user is not declared in Apache. Verify this. 

Regards

Frank

by (90.4k points)

Hello,

I got the same error and to answer your questions :

1. With local administrator first and domain administrator with ocspackager... 

When I run the package with an account with admin rights -> no problem in logs; 

When a non-admin run it -> ERROR *** AGENT => Failed to write Prolog Frequency <Error code 5 = Access is denied.  >

2. No user is declared in ocsinventory.ini

Is this error blocking something? I tried to sync computer with OCS inventory -> OK; OCS inventory with GLPI -> OK.

It seems not blocking sync but I want to be sure it won't be a problem if I deploy it to the whole company.

Thanks in advance for your answer.

 
Powered by Question2Answer
...