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.4.1 available

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

Error HTTP 401 while inventorying

Hi everybody,

I open this thread because i haven't found the answer to my issue on another FAQs...

So, after an upgrade of OCSServer in version 2.4, the agents can't send em inventory, they get an error HTTP 401 in ocsinventory.log:

AGENT => Sending Prolog
ERROR *** AGENT => Failed to send Prolog <HTTP Status Code #401>

and here is the .ini file;

[OCS Inventory Agent]
ComProvider=ComHTTP.dll
Debug=0
Local=
NoSoftware=0
HKCU=0
NoTAG=0
IpDisc=
[HTTP]
Server=http://myserver/ocsinventory
SSL=1
CaBundle=cacert.pem
AuthRequired=0
User=
Pwd=
ProxyType=0
Proxy=
ProxyPort=0
ProxyAuthRequired=0
ProxyUser=
ProxyPwd=
[OCS Inventory Service]
TTO_WAIT=300
PROLOG_FREQ=4
OLD_PROLOG_FREQ=4
OLD_PROLOG_FREQ
 

I heard that the problem is caused by the authentication on the server by the client, but we didn't need that before... do you know how to configure apache to allow the  unauthentified inventory?

Thank you in advance!!

Arnaud

asked in OCS Inventory NG server for Unix by (120 points)

Please log in or register to answer this question.

 
Powered by Question2Answer
...