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.6 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

Inventory does not appear in OCS.

Hello everyone, first know that this is a common issue in the OCS forum more unfortunately the content that encontri not solved my problem so I will describe my scenario.

Ubuntu server 14.14 64bit already with GPLI installed and OCS Inventory NG Management Server 2.1.2.

Agents OCS Inventory NG 2.1.2, Windows 7,

I found no error in the agent log or the server log.

Soon I will post the log files.
in OCS Inventory NG agent for Windows by (400 points)

1 Answer

0 votes
Hi,

Which errors have you in error_log apache file? Please post content.

Regards
by (70.3k points)
TKS

apache2/error.log:
[Sun Aug 16 06:40:48 2015] OCSINVENTORY: (SOAP): Cannot find XML::Entities
[Sun Aug 16 06:40:48.482073 2015] [mpm_prefork:notice] [pid 1161] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.9 mod_perl/2.0.8 Perl/v5.18.2 configured -- resuming normal operations
[Sun Aug 16 06:40:48.482086 2015] [core:notice] [pid 1161] AH00094: Command line: '/usr/sbin/apache2'
[Mon Aug 17 06:39:25.838796 2015] [mpm_prefork:notice] [pid 1161] AH00171: Graceful restart requested, doing restart
[Mon Aug 17 06:39:26 2015] OCSINVENTORY: (SOAP): Cannot find XML::Entities
[Mon Aug 17 06:39:26.245363 2015] [mpm_prefork:notice] [pid 1161] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.9 mod_perl/2.0.8 Perl/v5.18.2 configured -- resuming normal operations
[Mon Aug 17 06:39:26.245379 2015] [core:notice] [pid 1161] AH00094: Command line: '/usr/sbin/apache2'
[Mon Aug 17 20:31:04.784782 2015] [:error] [pid 17769] [client 191.191.232.63:46442] PHP Deprecated:  mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /usr/share/ocsinventory-reports/ocsreports/backend/require/connexion.php on line 10, referer: http://ocs.telecontrol.com.br/
[Mon Aug 17 20:31:28.794306 2015] [:error] [pid 17762] [client 191.191.232.63:46443] PHP Deprecated:  mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /usr/share/ocsinventory-reports/ocsreports/backend/require/connexion.php on line 10, referer: http://ocs.telecontrol.com.br/?function=visu_groups
[Mon Aug 17 20:31:36.246498 2015] [:error] [pid 17078] [client 191.191.232.63:46451] PHP Deprecated:  mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /usr/share/ocsinventory-reports/ocsreports/backend/require/connexion.php on line 10
[Mon Aug 17 20:33:28.258040 2015] [:error] [pid 17076] [client 191.191.232.63:46571] PHP Deprecated:  mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /usr/share/ocsinventory-reports/ocsreports/backend/require/connexion.php on line 10, referer: http://ocs.telecontrol.com.br/?function=visu_repart_tag
[Tue Aug 18 06:59:02.098635 2015] [mpm_prefork:notice] [pid 1161] AH00171: Graceful restart requested, doing restart
[Tue Aug 18 06:59:02 2015] OCSINVENTORY: (SOAP): Cannot find XML::Entities
[Tue Aug 18 06:59:02.500593 2015] [mpm_prefork:notice] [pid 1161] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.9 mod_perl/2.0.8 Perl/v5.18.2 configured -- resuming normal operations
[Tue Aug 18 06:59:02.500606 2015] [core:notice] [pid 1161] AH00094: Command line: '/usr/sbin/apache2'
[Tue Aug 18 17:20:10.001532 2015] [:error] [pid 19321] [client 191.191.232.63:52725] PHP Warning:  mysql_select_db() expects parameter 2 to be resource, object given in /usr/share/ocsinventory-reports/ocsreports/backend/identity/methode/local.php on line 26, referer: http://ocs.telecontrol.com.br/
[Tue Aug 18 17:20:10.001590 2015] [:error] [pid 19321] [client 191.191.232.63:52725] PHP Warning:  mysql_query() expects parameter 2 to be resource, object given in /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php on line 94, referer: http://ocs.telecontrol.com.br/
[Tue Aug 18 17:20:10.001603 2015] [:error] [pid 19321] [client 191.191.232.63:52725] PHP Warning:  mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /usr/share/ocsinventory-reports/ocsreports/backend/identity/methode/local.php on line 31, referer: http://ocs.telecontrol.com.br/
[Tue Aug 18 17:20:10.002225 2015] [:error] [pid 19321] [client 191.191.232.63:52725] PHP Warning:  mysql_select_db() expects parameter 2 to be resource, object given in /usr/share/ocsinventory-reports/ocsreports/backend/ipdiscover/methode/local.php on line 17, referer: http://ocs.telecontrol.com.br/
[Tue Aug 18 17:20:10.002241 2015] [:error] [pid 19321] [client 191.191.232.63:52725] PHP Warning:  mysql_query() expects parameter 2 to be resource, object given in /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php on line 94, referer: http://ocs.telecontrol.com.br/
[Tue Aug 18 17:20:10.002248 2015] [:error] [pid 19321] [client 191.191.232.63:52725] PHP Warning:  mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /usr/share/ocsinventory-reports/ocsreports/backend/ipdiscover/methode/local.php on line 21, referer: http://ocs.telecontrol.com.br/
[Tue Aug 18 17:20:10.002259 2015] [:error] [pid 19321] [client 191.191.232.63:52725] PHP Warning:  mysql_query() expects parameter 2 to be resource, object given in /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php on line 94, referer: http://ocs.telecontrol.com.br/
[Tue Aug 18 17:20:10.002267 2015] [:error] [pid 19321] [client 191.191.232.63:52725] PHP Warning:  mysql_error() expects parameter 1 to be resource, object given in /usr/share/ocsinventory-reports/ocsreports/backend/ipdiscover/methode/local.php on line 35, referer: http://ocs.telecontrol.com.br/
[Tue Aug 18 18:01:21.033631 2015] [mpm_prefork:notice] [pid 1161] AH00169: caught SIGTERM, shutting down
[Tue Aug 18 18:01:22 2015] OCSINVENTORY: (SOAP): Cannot find XML::Entities
[Tue Aug 18 18:01:22 2015] OCSINVENTORY: (SOAP): Cannot find XML::Entities
[Tue Aug 18 18:01:22.473687 2015] [mpm_prefork:notice] [pid 9049] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.11 mod_perl/2.0.8 Perl/v5.18.2 configured -- resuming normal operations
[Tue Aug 18 18:01:22.473738 2015] [core:notice] [pid 9049] AH00094: Command line: '/usr/sbin/apache2'
[Tue Aug 18 18:01:23.982402 2015] [mpm_prefork:notice] [pid 9049] AH00169: caught SIGTERM, shutting down
[Tue Aug 18 18:01:25 2015] OCSINVENTORY: (SOAP): Cannot find XML::Entities
[Tue Aug 18 18:01:25 2015] OCSINVENTORY: (SOAP): Cannot find XML::Entities
[Tue Aug 18 18:01:25.365887 2015] [mpm_prefork:notice] [pid 9624] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.11 mod_perl/2.0.8 Perl/v5.18.2 configured -- resuming normal operations
[Tue Aug 18 18:01:25.365925 2015] [core:notice] [pid 9624] AH00094: Command line: '/usr/sbin/apache2'
[Tue Aug 18 18:01:31.628979 2015] [mpm_prefork:notice] [pid 9624] AH00171: Graceful restart requested, doing restart
[Tue Aug 18 18:01:31 2015] OCSINVENTORY: (SOAP): Cannot find XML::Entities
[Tue Aug 18 18:01:31.969939 2015] [mpm_prefork:notice] [pid 9624] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.11 mod_perl/2.0.8 Perl/v5.18.2 configured -- resuming normal operations
[Tue Aug 18 18:01:31.969955 2015] [core:notice] [pid 9624] AH00094: Command line: '/usr/sbin/apache2'
 
Powered by Question2Answer
...