Answer the question
In order to leave comments, you need to log in
How to configure apache for ocs inventory to work correctly in ubuntu 14.04?
Good afternoon. There is a freshly installed ubuntu 14.04 on it only Lamp and nothing else. It is planned to put ocs inventory + glpi, and a couple more forums. All this will be spinning locally. Since I'm new to Linux, I want all these things to be in /var/www/.
Already tried to do similar in centos 6.7. But it only partially succeeded. In the config file, Apache registered the /var/www/ directory. The forum is spinning, there is access to ocs + glpi.
I put the agent ocs on client machines. And this is where the problems begin.
OCS INVENTORY ver. 4061 Starting session for Device on Wednesday, October 28, 2015 15:21:17...
Command line parameters: <<. /SERVER:192.168.201.238 /PNUM:80 /DEBUG>>
HTTP SERVER: Opening Internet connection to download ...ERROR: HTTP status code 403
HTTP SERVER: Closing HTTP connection...OK
WMI Connect: Trying to connect to WMI namespace root\cimv2 on device ...OK.
Registry Connect: Trying to connect to HKEY_LOCAL_MACHINE on device ...OK.
CHECKINGS: read and mac-adress in ocsinventory.dat
IpHlpAPI GetNetworkAdapters...
IpHlpAPI GetNetworkAdapters: Calling GetIfTable to determine network adapter properties...OK
IpHlpAPI GetNetworkAdapters: Calling GetAdapterInfo to determine IP Infos...OK
IpHlpAPI GetNetworkAdapters: OK (1 objects).
CHECKINGS: write and mac-adress in ocsinventory.dat
HTTP SERVER: Creating CInternetSession to get inventory parameters...OK.
HTTP SERVER: Getting HTTP Connection to server 192.168.201.238 port 80 using no authentication...OK.
HTTP SERVER: Sending prolog query...ERROR: HTTP status code 403
HTTP SERVER: Closing HTTP connection
WMI Disconnect: Disconnected from WMI namespace.
Writing last inventory state not required.
Execution duration: 00:00:00.
[Wed Oct 28 15:21:56 2015] [error] [client 192.168.201.200] Directory index forbidden by Options directive /var/www/ocsinventory/
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question