Hi everyone, I'ing debuging my installation of ocsinventory on a Fedora x86_64 server running at LXC and /or VM, both in ProxMox VE 4.4-13. I'm testing on VM, LXC privileged and LXC unprivileged, but the error is the same)
I'm doing the installation from the official repository:
https://rpm.ocsinventory-ng.org/ocsinventory-release-latest.fc25.ocs.noarch.rpm
I have everything installed, including all dependencies and ocsinventory-reports; everything except the packages ocsinventory and ocsinventory-server. So far so good.
Here begins my problem:
If I install ocsinventory-server Apache dies.
# systemctl status httpd
● httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since mar 2017-09-12 12:57:16 -03; 1min 47s ago
Docs: man:httpd.service(8)
Process: 1279 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE
Main PID: 1279 (code=exited, status=1/FAILURE)
sep 12 12:57:15 ocs1.canal9.local systemd[1]: Starting The Apache HTTP Server...
sep 12 12:57:16 ocs1.canal9.local systemd[1]: httpd.service: Main process exited, code=exited,
sep 12 12:57:16 ocs1.canal9.local systemd[1]: Failed to start The Apache HTTP Server.
sep 12 12:57:16 ocs1.canal9.local systemd[1]: httpd.service: Unit entered failed state.
sep 12 12:57:16 ocs1.canal9.local systemd[1]: httpd.service: Failed with result 'exit-code'.
# journalctl -xe
sep 12 13:01:40 ocs1.canal9.local 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.
sep 12 13:01:40 ocs1.canal9.local systemd[1]: httpd.service: Main process exited, code=exited, status=1/FAILURE
sep 12 13:01:40 ocs1.canal9.local 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.
sep 12 13:01:40 ocs1.canal9.local audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=httpd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
sep 12 13:01:40 ocs1.canal9.local systemd[1]: httpd.service: Unit entered failed state.
Any indication of where the mistake might be, I'd appreciate it very much.
Best regards