Hello everyone,
I'm trying to install a new OCS server for my company but a have some problems.
I installed a Unix Server 2.3.1 in a CentOS, here is my server information.
Software
- PHP Version :
- Web Server :
- Database Server :
- Version OCSReports:
- 5.4.16
- Apache/2.4.6 (CentOS) PHP/5.4.16
- MySQL Community Server (GPL) version 5.6.38
- 2.3.1
No problems to come here, but when i try to connect a client with the server i get this problem:
Starting OCS Inventory NG Agent on Tuesday, November 28, 2017 11:34:39.
AGENT => Running OCS Inventory NG Agent Version 2.3.1.1
AGENT => Using OCS Inventory NG FrameWork Version 2.3.1.1
AGENT => Loading plug-in(s)
DLL PLUGIN => Searching for Plug-in DLL(s) in folder <C:\Program Files (x86)\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 (x86)\OCS Inventory Agent\ComHTTP.dll>
AGENT => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.3.1.1>
AGENT => Sending Prolog
DID_CHECK => Read DeviceID <XXXXX 2017-11-27-14-38-30> and MACs <XXXXX> in file <ocsinventory.dat>
COM SERVER => Initializing cURL library for sendRequest
COM SERVER => Using cURL with 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://XXX.XX.XX.XX/ocsinventory>
COM SERVER => HTTP Post response received <HTTP Status Code #404>
COM SERVER => Cleaning cURL library
ERROR *** AGENT => Failed to send Prolog <HTTP Status Code #404>
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:00.
I try to read about this error but no solution work for me.
This is my apache log:
[Tue Nov 28 12:05:02.135486 2017] [:error] [pid 20380] [client 172.25.18.12:6
3923] PHP Warning: mysqli_connect(): Headers and client library minor versio
n mismatch. Headers:50556 Library:50638 in /usr/share/ocsinventory-reports/oc
sreports/require/function_commun.php on line 160, referer: http://172.25.17.4
7/ocsreports/index.php?function=debug&head=1
[Tue Nov 28 12:05:02.138384 2017] [:error] [pid 20380] [client 172.25.18.12:6
3923] PHP Warning: mysqli_connect(): Headers and client library minor versio
n mismatch. Headers:50556 Library:50638 in /usr/share/ocsinventory-reports/oc
sreports/require/function_commun.php on line 160, referer: http://172.25.17.4
7/ocsreports/index.php?function=debug&head=1
[Tue Nov 28 12:09:29.816905 2017] [mpm_prefork:notice] [pid 20375] AH00171: G
raceful restart requested, doing restart
[Tue Nov 28 12:09:29.946414 2017] [alias:warn] [pid 20375] AH00671: The Alias
directive in /etc/httpd/conf.d/ocsinventory-reports.conf at line 23 will pro
bably never match because it overlaps an earlier Alias.
[Tue Nov 28 12:09:29.946445 2017] [alias:warn] [pid 20375] AH00671: The Alias
directive in /etc/httpd/conf.d/ocsinventory-reports.conf at line 102 will pr
obably never match because it overlaps an earlier Alias.
[Tue Nov 28 12:09:29.946451 2017] [alias:warn] [pid 20375] AH00671: The Alias
directive in /etc/httpd/conf.d/ocsinventory-reports.conf at line 120 will pr
obably never match because it overlaps an earlier Alias.
[Tue Nov 28 12:09:29.946783 2017] [auth_digest:notice] [pid 20375] AH01757: g
enerating secret for digest authentication ...
[Tue Nov 28 12:09:29.947525 2017] [lbmethod_heartbeat:notice] [pid 20375] AH0
2282: No slotmem from mod_heartmonitor
[Tue Nov 28 12:09:29.963328 2017] [mpm_prefork:notice] [pid 20375] AH00163: A
pache/2.4.6 (CentOS) PHP/5.4.16 configured -- resuming normal operations
[Tue Nov 28 12:09:29.963340 2017] [core:notice] [pid 20375] AH00094: Command
line: '/usr/sbin/httpd -D FOREGROUND'
[Tue Nov 28 12:09:49.400414 2017] [mpm_prefork:notice] [pid 20375] AH00170: c
aught SIGWINCH, shutting down gracefully
[Tue Nov 28 12:09:50.490253 2017] [suexec:notice] [pid 20592] AH01232: suEXEC
mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Nov 28 12:09:50.531537 2017] [alias:warn] [pid 20592] AH00671: The Alias
directive in /etc/httpd/conf.d/ocsinventory-reports.conf at line 23 will pro
bably never match because it overlaps an earlier Alias.
[Tue Nov 28 12:09:50.531578 2017] [alias:warn] [pid 20592] AH00671: The Alias
directive in /etc/httpd/conf.d/ocsinventory-reports.conf at line 102 will pr
obably never match because it overlaps an earlier Alias.
[Tue Nov 28 12:09:50.531586 2017] [alias:warn] [pid 20592] AH00671: The Alias
directive in /etc/httpd/conf.d/ocsinventory-reports.conf at line 120 will pr
obably never match because it overlaps an earlier Alias.
[Tue Nov 28 12:09:50.532011 2017] [auth_digest:notice] [pid 20592] AH01757: g
enerating secret for digest authentication ...
[Tue Nov 28 12:09:50.533131 2017] [lbmethod_heartbeat:notice] [pid 20592] AH0
2282: No slotmem from mod_heartmonitor
[Tue Nov 28 12:09:50.560165 2017] [mpm_prefork:notice] [pid 20592] AH00163: A
pache/2.4.6 (CentOS) PHP/5.4.16 configured -- resuming normal operations
[Tue Nov 28 12:09:50.560190 2017] [core:notice] [pid 20592] AH00094: Command
line: '/usr/sbin/httpd -D FOREGROUND'
I'm only trying with one client(172.25.18.32), but the IP is not the same like the apache log (172.25.18.12)
Any idea to solved it?
Thanks.