OS Name : Linux x86_64
Version : 4.18.0-193.19.1.el8_2.x86_64
RAM installed : 7808 MB
Free RAM : 7051 MB
CPU : Common KVM processor
Distribution : CentOS Linux 8 (Core)
Software
PHP Version : 7.3.23
Web Server : Apache/2.4.37 (centos) OpenSSL/1.1.1c mod_perl/2.0.11 Perl/v5.26.3
Database Server : MariaDB Server version 10.3.17-MariaDB
Version OCSReports: 2.7
Sample Error:
tail -f /var/log/ocsinventory-server/activity.log
Fri Oct 2 14:23:35 2020;3994;521;NA;172.31.21.184;OCS-NG_Android_agent_v2.3.1;database_connect;Can't connect to MySQL server on '172.31.23.38' (13)
Fri Oct 2 14:23:35 2020;3994;505;NA;172.31.21.184;OCS-NG_Android_agent_v2.3.1;handler;Database connection
Fri Oct 2 14:23:52 2020;4238;521;NA;172.31.21.184;OCS-NG_Android_agent_v2.3.1;database_connect;Can't connect to MySQL server on '172.31.23.38' (13)
Fri Oct 2 14:23:52 2020;4238;505;NA;172.31.21.184;OCS-NG_Android_agent_v2.3.1;handler;Database connection
Fri Oct 2 14:25:54 2020;3995;521;NA;172.31.21.178;OCS-NG_WINDOWS_AGENT_v2.8.0.0;database_connect;Can't connect to MySQL server on '172.31.23.38' (13)
Fri Oct 2 14:25:54 2020;3995;505;NA;172.31.21.178;OCS-NG_WINDOWS_AGENT_v2.8.0.0;handler;Database connection
Fri Oct 2 14:25:54 2020;3996;521;NA;172.31.21.178;OCS-NG_WINDOWS_AGENT_v2.8.0.0;database_connect;Can't connect to MySQL server on '172.31.23.38' (13)
Fri Oct 2 14:25:54 2020;3996;505;NA;172.31.21.178;OCS-NG_WINDOWS_AGENT_v2.8.0.0;handler;Database connection
Previously, I have configure server configuration and database connectivity
/etc/httpd/conf.d/ocsinventory-server.conf