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.

OCS Agent Package - Activate issue [closed]

I have OCSNG Server (2.1.2) installed on Linux Ubuntu, and I installed the agent (2.1.1) on Linux as root. Now I am adding a Windows agent as a package. I get the following error:

WARNING: Can't find information file at https://10.0.0.77/download/1421174633/
WARNING: Can't find fragments files at http://10.0.0.77/download/1421174633/

Are you sure to want to activate this package?

I see the download/1421174633/ folder on my server at /var/lib/ocsinventory-reports/download. That is correct. I am wondering if the issue is because when I did the agent install, I told it to point to a new folder called ocs inventory-agent. If that is the issue, how do I fix it? And if not, what can I do to fix this?

closed with the note: Ended up reinstalling... works now!
in OCS Inventory NG agent for Windows by (280 points)
closed by

4 Answers

0 votes
Hi,

Have you some errors into apache error_log or ssl_request_log file?
by (90.4k points)

Hello,

Here is my apache error log:


[Tue Jan 13 15:55:34.840060 2015] [authz_core:error] [pid 30252] [client 10.0.0.77:58016] AH01630: client denied by server configuration: /var/lib/ocsinventory-reports/download/1421182149/info
[Tue Jan 13 15:55:34.841731 2015] [authz_core:error] [pid 24736] [client 10.0.0.77:57649] AH01630: client denied by server configuration: /var/lib/ocsinventory-reports/download/1421182149/1421182149-1
[Tue Jan 13 15:55:43.001796 2015] [authz_core:error] [pid 29984] [client 10.0.42.68:7080] AH01630: client denied by server configuration: /var/lib/ocsinventory-reports/download/1421182149/
[Tue Jan 13 15:56:31.110173 2015] [authz_core:error] [pid 23058] [client 10.0.42.68:7091] AH01630: client denied by server configuration: /var/lib/ocsinventory-reports/download/1421182149/
[Tue Jan 13 15:56:33.038928 2015] [authz_core:error] [pid 23058] [client 10.0.42.68:7091] AH01630: client denied by server configuration: /var/lib/ocsinventory-reports/download/1421182149/
[Tue Jan 13 15:56:48.371901 2015] [authz_core:error] [pid 28187] [client 10.0.42.68:7096] AH01630: client denied by server configuration: /var/lib/ocsinventory-reports/download/1421182149/
[Tue Jan 13 15:57:34.086934 2015] [authz_core:error] [pid 27591] [client 10.0.42.68:7107] AH01630: client denied by server configuration: /var/lib/ocsinventory-reports/download/1421182149/
[Tue Jan 13 15:57:35.903194 2015] [authz_core:error] [pid 27591] [client 10.0.42.68:7107] AH01630: client denied by server configuration: /var/lib/ocsinventory-reports/download/1421182149/
[Tue Jan 13 15:57:50.741727 2015] [authz_core:error] [pid 30252] [client 10.0.42.68:7113] AH01630: client denied by server configuration: /var/lib/ocsinventory-reports/download/1421182149/
[Tue Jan 13 15:59:18.601132 2015] [authz_core:error] [pid 28448] [client 10.0.42.68:7157] AH01630: client denied by server configuration: /var/lib/ocsinventory-reports/download/1421182149/
[Tue Jan 13 15:59:20.476227 2015] [authz_core:error] [pid 28448] [client 10.0.42.68:7157] AH01630: client denied by server configuration: /var/lib/ocsinventory-reports/download/1421182149/
[Tue Jan 13 15:59:25.070209 2015] [authz_core:error] [pid 24736] [client 10.0.42.68:7160] AH01630: client denied by server configuration: /var/lib/ocsinventory-reports/download/1421182149/
[Tue Jan 13 16:00:00.776322 2015] [authz_core:error] [pid 23058] [client 10.0.42.68:7169] AH01630: client denied by server configuration: /var/lib/ocsinventory-reports/download/1421182149/
[Tue Jan 13 16:00:01.474863 2015] [authz_core:error] [pid 23058] [client 10.0.42.68:7169] AH01630: client denied by server configuration: /var/lib/ocsinventory-reports/download/1421182149/
[Tue Jan 13 16:01:12.510795 2015] [authz_core:error] [pid 22594] [client 10.0.42.68:7186] AH01630: client denied by server configuration: /var/lib/ocsinventory-reports/download/1421182149/
[Tue Jan 13 16:01:14.826911 2015] [authz_core:error] [pid 22594] [client 10.0.42.68:7186] AH01630: client denied by server configuration: /var/lib/ocsinventory-reports/download/1421182149/
[Tue Jan 13 16:04:58.602619 2015] [authz_core:error] [pid 27591] [client 10.0.42.68:7248] AH01630: client denied by server configuration: /var/lib/ocsinventory-reports/download/1421182149/
[Tue Jan 13 16:07:05.644218 2015] [authz_core:error] [pid 19913] [client 10.0.42.68:7299] AH01630: client denied by server configuration: /var/lib/ocsinventory-reports/download/1421182149/
[Tue Jan 13 16:07:12.761751 2015] [authz_core:error] [pid 28448] [client 10.0.42.68:7303] AH01630: client denied by server configuration: /var/lib/ocsinventory-reports/download/1421182149/

Maybe a permissions issue?

I tried changing permissions on the files/folders, which didn't help. I also added some code from this forum http://forums.ocsinventory-ng.org/viewtopic.php?id=7233 but that didn't work either.

0 votes

I am really at a loss. I've spent at least a good 5 or more hours trying every combination of changing permissions. My download page still has a 403 error. And I'm still getting error in my apache log:

[authz_core:error] [pid 15430] [client 10.0.42.61:8741] AH01630: client denied by server configuration: /var/lib/ocsinventory-reports/download

Perhaps it's a bug. I've tried changing the apache2.conf file, using Terminal, right clicking and editing permissions on folders... no idea what I am missing!

by (280 points)
edited by
0 votes
Hi,

You don't have change permissions in apache. Edit the ocsinventory-ocsreports.conf file and set same permissions for /download definition as for /ocsreports. Restart apache after modifications.
by (90.4k points)
0 votes

I don't have a ocsinventory-ocsreports.conf file. I do have ocsinventory-agent.cfg...maybe that is it. (located in /etc/ocsinventory)

Also, would the code be this?

 <Directory /var/lib/ocsinventory-reports>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride None
                Order allow,deny
                allow from all
        </Directory>

  <Directory /var/lib/ocsinventory-reports/download>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride None
                Order allow,deny
                allow from all
        </Directory>

I tried adding this to ocsinventory-agent.cfg, but no luck. I also tried z-ocsinventory-server.conf, but that didn't work either. Maybe my code is wrong.

by (280 points)
edited by
 
Powered by Question2Answer
...