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

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

Error in local import

I would use  ocsinventory-injector.pl to local import inventory: from GUI I have this error message:

Errore 111 / Connection refused Al server: http://localhost:80/ocsinventory

I’ve tried:

perl ocsinventory-injector.pl -f /tmp/<filename>.ocs -u http://localhost/ocsinventory -v

error:

ERROR: 500 Can't connect to <IPaddress>:80 (Connection refused)

Then:

 perl ocsinventory-injector.pl -f /tmp/<filename>.ocs -u https://localhost/ocsinventory -v
with:

ERROR: 500 SSL_ca_file cacert.pem can't be used: No such file or directory
Then :

 perl ocsinventory-injector.pl -f /tmp/<filename>.ocs -u https://localhost/ocsinventory --sslmode 0 -v
With:

ERROR: 500 SSL_ca_file cacert.pem can't be used: No such file or directory

I do not want to use any certificate because I work on a LAN without external connection.Thanks

in OCS Inventory NG agent for Unix by (160 points)
edited by

1 Answer

–1 vote

Hi @MassimoP,

maybe this post can help you :

Imports Locaux Impossible - Ocsinventory Q&A (ocsinventory-ng.org)

Regards

by (27.9k points)
 
Powered by Question2Answer
...