Hi Everyone,
Just did a fresh install of OCS server on Ubuntu server 18.04
Installed agent on windows machine but nothing shows up on OCS reports
Thanks for your help, if you have any idea
Windows OCS agent log:
==============================================================================
Starting OCS Inventory NG Agent on Sunday, February 02, 2020 13:58:59.
AGENT => Running OCS Inventory NG Agent Version 2.6.0.0
AGENT => Using OCS Inventory NG FrameWork Version 2.6.0.0
AGENT => Loading plug-in(s)
DLL PLUGIN => Searching for Plug-in DLL(s) in folder <C:\Program Files\OCS Inventory Agent\plugins>
DLL PLUGIN => 0 DLL Plug-in(s) successfully loaded on 0 DLL(s) found
AGENT => Using network connection with Communication Server
COM PROVIDER => Loading Communication Provider <C:\Program Files\OCS Inventory Agent\ComHTTP.dll>
AGENT => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.6.0.0>
AGENT => Sending Prolog
DID_CHECK => Read DeviceID <DESKTOP-EVRB4T9-2020-02-02-13-27-06> and MACs <00:D8:61:9C:65:5E0A:00:27:00:00:0700:15:5D:5D:57:A9> in file <ocsinventory.dat>
COM SERVER => Initializing cURL library for sendRequest
COM SERVER => Using cURL without server authentication
COM SERVER => Disabling cURL proxy support
COM SERVER => Disabling cURL SSL server validation support
COM SERVER => Sending HTTP Post request to URL <http://192.168.1.22/ocsinventory>
COM SERVER => HTTP Post response received <HTTP Status Code #500>
COM SERVER => Cleaning cURL library
ERROR *** AGENT => Failed to send Prolog <HTTP Status Code #500>
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:00.
Apache error log
[Sun Feb 02 11:45:49.023236 2020] [mpm_prefork:notice] [pid 4895] AH00169: caught SIGTERM, shutting down
[Sun Feb 02 11:45:49.363371 2020] [mpm_prefork:notice] [pid 5075] AH00163: Apache/2.4.29 (Ubuntu) mod_perl/2.0.10 Perl/v5.26.1 configured -- resuming normal operations
[Sun Feb 02 11:45:49.363412 2020] [core:notice] [pid 5075] AH00094: Command line: '/usr/sbin/apache2'
[Sun Feb 02 11:45:52.097793 2020] [php7:warn] [pid 5083] [client 192.168.1.25:62566] PHP Warning: require_once(/usr/share/ocsinventory-reports/ocsreports/vendor/autoload.php): failed to open stream: No such file or directory in /usr/share/ocsinventory-reports/ocsreports/require/header.php on line 31, referer: http://192.168.1.22/ocsreports/install.php
[Sun Feb 02 11:45:52.097823 2020] [php7:error] [pid 5083] [client 192.168.1.25:62566] PHP Fatal error: require_once(): Failed opening required '/usr/share/ocsinventory-reports/ocsreports/vendor/autoload.php' (include_path='.:/usr/share/php') in /usr/share/ocsinventory-reports/ocsreports/require/header.php on line 31, referer: http://192.168.1.22/ocsreports/install.php
[Sun Feb 02 11:48:26.077525 2020] [mpm_prefork:notice] [pid 5075] AH00169: caught SIGTERM, shutting down
[Sun Feb 02 11:48:26.404163 2020] [mpm_prefork:notice] [pid 5117] AH00163: Apache/2.4.29 (Ubuntu) mod_perl/2.0.10 Perl/v5.26.1 configured -- resuming normal operations
[Sun Feb 02 11:48:26.404192 2020] [core:notice] [pid 5117] AH00094: Command line: '/usr/sbin/apache2'
[Sun Feb 02 11:49:23.506664 2020] [php7:warn] [pid 5125] [client 192.168.1.25:62780] PHP Warning: require_once(/usr/share/ocsinventory-reports/ocsreports/vendor/autoload.php): failed to open stream: No such file or directory in /usr/share/ocsinventory-reports/ocsreports/require/header.php on line 31, referer: http://192.168.1.22/ocsreports/install.php
[Sun Feb 02 11:49:23.506693 2020] [php7:error] [pid 5125] [client 192.168.1.25:62780] PHP Fatal error: require_once(): Failed opening required '/usr/share/ocsinventory-reports/ocsreports/vendor/autoload.php' (include_path='.:/usr/share/php') in /usr/share/ocsinventory-reports/ocsreports/require/header.php on line 31, referer: http://192.168.1.22/ocsreports/install.php
[Sun Feb 02 12:11:22.018153 2020] [mpm_prefork:notice] [pid 5117] AH00169: caught SIGTERM, shutting down
[Sun Feb 02 12:11:22.369161 2020] [mpm_prefork:notice] [pid 5562] AH00163: Apache/2.4.29 (Ubuntu) mod_perl/2.0.10 Perl/v5.26.1 configured -- resuming normal operations
[Sun Feb 02 12:11:22.369198 2020] [core:notice] [pid 5562] AH00094: Command line: '/usr/sbin/apache2'
[Sun Feb 02 12:14:29.387730 2020] [mpm_prefork:notice] [pid 5562] AH00169: caught SIGTERM, shutting down
[Sun Feb 02 12:14:29.719268 2020] [mpm_prefork:notice] [pid 5638] AH00163: Apache/2.4.29 (Ubuntu) mod_perl/2.0.10 Perl/v5.26.1 configured -- resuming normal operations
"error.log" 94L, 22605C