after update server from 2.5 to 2.7 httpd unable to start
upgrade followed this link : https://wiki.ocsinventory-ng.org/03.Basic-documentation/Updating-the-server/@Error Log[root@localhost ~]# journalctl -xeAug 06 13:04:19 localhost.localdomain dbus[670]: [system] Activating service namAug 06 13:04:19 localhost.localdomain dbus[670]: [system] Successfully activatedAug 06 13:04:39 localhost.localdomain polkitd[680]: Registered Authentication AgAug 06 13:04:39 localhost.localdomain systemd[1]: Starting The Apache HTTP Serve-- Subject: Unit httpd.service has begun start-up-- Defined-By: systemd-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel-- Unit httpd.service has begun starting up.Aug 06 13:04:40 localhost.localdomain httpd[16811]: [Thu Aug 06 13:04:40.201473Aug 06 13:04:40 localhost.localdomain httpd[16811]: [Thu Aug 06 13:04:40.201497Aug 06 13:04:40 localhost.localdomain polkitd[680]: Unregistered AuthenticationAug 06 13:04:40 localhost.localdomain systemd[1]: httpd.service: main process exAug 06 13:04:40 localhost.localdomain systemd[1]: Failed to start The Apache HTT-- Subject: Unit httpd.service has failed-- Defined-By: systemd-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel-- Unit httpd.service has failed.-- The result is failed.Aug 06 13:04:40 localhost.localdomain systemd[1]: Unit httpd.service entered faiAug 06 13:04:40 localhost.localdomain systemd[1]: httpd.service failed.lines 3995-4017/4017 (END)Aug 06 13:04:19 localhost.localdomain dbus[670]: [system] Activating service name='org.freedesktop.problems' (using servicehelper)Aug 06 13:04:19 localhost.localdomain dbus[670]: [system] Successfully activated service 'org.freedesktop.problems'Aug 06 13:04:39 localhost.localdomain polkitd[680]: Registered Authentication Agent for unix-process:16803:7388966 (system bus name :1.450 [/usr/bin/pkttyagent --notifyAug 06 13:04:39 localhost.localdomain systemd[1]: Starting The Apache HTTP Server...-- Subject: Unit httpd.service has begun start-up-- Defined-By: systemd-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel-- Unit httpd.service has begun starting up.Aug 06 13:04:40 localhost.localdomain httpd[16811]: [Thu Aug 06 13:04:40.201473 2020] [perl:error] [pid 16811] Can't locate Switch.pm in @INC (@INC contains: /usr/localAug 06 13:04:40 localhost.localdomain httpd[16811]: [Thu Aug 06 13:04:40.201497 2020] [perl:error] [pid 16811] Can't load Perl module Apache::Ocsinventory for server (nAug 06 13:04:40 localhost.localdomain polkitd[680]: Unregistered Authentication Agent for unix-process:16803:7388966 (system bus name :1.450, object path /org/freedesktAug 06 13:04:40 localhost.localdomain systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILUREAug 06 13:04:40 localhost.localdomain systemd[1]: Failed to start The Apache HTTP Server.-- Subject: Unit httpd.service has failed-- Defined-By: systemd-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel-- Unit httpd.service has failed.-- The result is failed.Aug 06 13:04:40 localhost.localdomain systemd[1]: Unit httpd.service entered failed state.Aug 06 13:04:40 localhost.localdomain systemd[1]: httpd.service failed.
It seems perl-Switch is missing. About "Can't load Perl module Apache::Ocsinventory", did you already tried to reinstall ocs server 2.7?