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

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

Not working after update.

After I updated from 2.5 to latest version(tried both normal and nightly) I am getting a HTTP ERROR 500 message when trying to access my OCS page.

Error in error_log:

[Tue Jul 28 16:11:43.337936 2020] [suexec:notice] [pid 1494] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)

ocsinventory-server: Bad setting. `IPDISCOVER_LINK_TAG_NETWORK` is not set. Default: `0`

[Tue Jul 28 16:11:43.567538 2020] [lbmethod_heartbeat:notice] [pid 1494] AH02282: No slotmem from mod_heartmonitor

[Tue Jul 28 16:11:43.600248 2020] [mpm_prefork:notice] [pid 1494] AH00163: Apache/2.4.6 (CentOS) PHP/7.3.20 mod_perl/2.0.11 Perl/v5.16.3 configured -- resuming normal operations

[Tue Jul 28 16:11:43.600286 2020] [core:notice] [pid 1494] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'

[Tue Jul 28 16:12:07.635760 2020] [php7:warn] [pid 1499] [client 10.240.240.13:52981] PHP Warning:  require(require/fichierConf.class.php): failed to open stream: Permission denied in /usr/share/ocsinventory-reports/ocsreports/index.php on line 29

[Tue Jul 28 16:12:07.635816 2020] [php7:error] [pid 1499] [client 10.240.240.13:52981] PHP Fatal error:  require(): Failed opening required 'require/fichierConf.class.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/share/ocsinventory-reports/ocsreports/index.php on line 29

[Tue Jul 28 16:12:09.132588 2020] [php7:warn] [pid 1495] [client 10.240.240.13:52980] PHP Warning:  require(require/fichierConf.class.php): failed to open stream: Permission denied in /usr/share/ocsinventory-reports/ocsreports/index.php on line 29

[Tue Jul 28 16:12:09.132647 2020] [php7:error] [pid 1495] [client 10.240.240.13:52980] PHP Fatal error:  require(): Failed opening required 'require/fichierConf.class.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/share/ocsinventory-reports/ocsreports/index.php on line 29

[Tue Jul 28 16:12:09.826331 2020] [php7:warn] [pid 1496] [client 10.240.240.13:52982] PHP Warning:  require(require/fichierConf.class.php): failed to open stream: Permission denied in /usr/share/ocsinventory-reports/ocsreports/index.php on line 29

[Tue Jul 28 16:12:09.826392 2020] [php7:error] [pid 1496] [client 10.240.240.13:52982] PHP Fatal error:  require(): Failed opening required 'require/fichierConf.class.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/share/ocsinventory-reports/ocsreports/index.php on line 29

What I did to update?

  1. Unpacked .tar.gz, sh setup.sh
  2. Recovered config files from backup using:
    cp ocsinventory-reports.conf z-ocsinventory-server.conf zz-ocsinventory-restapi.conf /etc/httpd/conf.d && cp dbconfig.inc.php /usr/share/ocsinventory-reports/ocsreports/
  3. Restarted httpd
Specs:
CentOS 3.10.0-1127.13.1.el7.x86_64 #1 SMP Tue Jun 23 15:46:38 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Fully updated

I tried everything, even reinstalling the update multiple times, any insight?

Thank you.

in OCS Inventory NG server for Unix by (360 points)

11 Answers

0 votes
@mysql

Is it really serious to give an answer FOUR YEARS after a question ?
by (20.1k points)
 
Powered by Question2Answer
...