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

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

OCS Teledeployment : can't find information file at ...

Hello,

I've got an issue with my OCS server. Everything is ok except my Teledeployment.

Before exposing my problem i've to tell that i am on a virtual machine, on VirtualBox. Running with a Debian Jessie system.

The creation of deployment package works. But when i try to activate a package i have this message : "Can't find information file at https://192.168.0.10/download/ (the number of the package)".

Obviously OCS find the fragment but not the info file on my server. I checked /var/lib/ocsinventory-reports/download/ and everything is there : fragment and info

I searched on Internet and found that it was a problem with SSL and certificate. So i've followed this tuto :

https://www.digitalocean.com/community/tutorials/how-to-create-a-ssl-certificate-on-apache-for-debian-8

Then i am able to connect to https://192.168.0.10/ocsreports/download for example, meaning that the creation of my certificate works i guess (my browser even ask me about security and self-signed certificate) but my problem is still there.

I've run out of idea, thanks in advance

P.S: I run with OCS 2.3

Regards

in OCS Inventory NG server for Unix by (440 points)

12 Answers

0 votes
Hello,

You certificate common name is IP of server ?

Do you have activate the ssl in z-ocsinventory conf ?

Thanks
by (6.9k points)
0 votes
The CN of my certificate is the IP adress (192.168.0.10).

And do you mean z-ocsinventory-server.conf ? In this case i don't see where i can change this param.

The only line that i found is 283-286. But it's below the "DO NOT MODIFY BELOW !" line ^^. I tried and nothing change, can't find the info file and apache refuse to reload.

Thanks
by (440 points)
0 votes
Anyone ? Any idea ?
by (440 points)
0 votes
Hi

Have you access to https://192.168.0.10/download/ from your browser?

Regards

Frank
by (88.5k points)
0 votes
Hi,

I can't access to the download folder in https. Error 403 (Forbidden). However i "chmod 0777" this folder but nothing change.

Regards
by (440 points)
0 votes
The problem is getting clearer now, Apache send error 403. In the error.log, i see this :

Cannot Serve directory /var/lib/ocsinventory-reports/download: no matching directoryindex (index html, etc...) found, and server-generated directory index forbidden by Options directive
by (440 points)
0 votes
Ok Update : I found the thing with apache. bad config file, now it's ok i can access https://myserver/download

But the deployment still don't work. Can't find information file etc ...
by (440 points)
0 votes
Hi,

Post download.log and ocsinventory.log file contents.

Regards

Frank
by (88.5k points)
0 votes
Hi,

I don't have those logs. On the admin console the "Logs vizualization" is empty. The only log that i have is the "activity.log" in /var/log/ocsinventory-server and this log doesn't tell anything important i guess.

Regards
by (440 points)
0 votes
Hi,

ocsinventory.log and download.log are files located on your client (c:\programdata\ocs inventory ng\agent) not on your server.

Regards

Frank
by (88.5k points)
 
Powered by Question2Answer
...