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.

Apache will not start after installation of OCS with ./setup.sh [closed]

I've installed version OCSNG_UNIX_SERVER-2.3.1 on a CentOS v7 server. The installation of all packages went well with YUM and I used /.setup.sh to install OCS which went well (I did not not installed the SOAP components for now).

Apache will not start unless I remove my /etc/httpd/conf.d/z-ocsinventory-server.conf file or comment the plugins part towards the end of the file. My /etc/ocsinventory-server/plugins & perl folders are all empty.

Below is the errors I get:

[root@cos-01 ~]# systemctl start httpd.service
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.
[root@cos-01 ~]# ^C
[root@cos-01 ~]# systemctl status httpd.service
● httpd.service - The Apache HTTP Server
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Thu 2017-07-13 12:30:56 EDT; 21s ago
     Docs: man:httpd(8)
           man:apachectl(8)
  Process: 32411 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
  Process: 32409 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
 Main PID: 32409 (code=exited, status=1/FAILURE)

Jul 13 12:30:56 cos-01.joliette.local systemd[1]: Starting The Apache HTTP Server...
Jul 13 12:30:56 cos-01.joliette.local systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Jul 13 12:30:56 cos-01.joliette.local kill[32411]: kill: cannot find process ""
Jul 13 12:30:56 cos-01.joliette.local systemd[1]: httpd.service: control process exited, code=exited status=1
Jul 13 12:30:56 cos-01.joliette.local systemd[1]: Failed to start The Apache HTTP Server.
Jul 13 12:30:56 cos-01.joliette.local systemd[1]: Unit httpd.service entered failed state.
Jul 13 12:30:56 cos-01.joliette.local systemd[1]: httpd.service failed.
[root@cos-01 ~]#
[root@cos-01 ~]# journalctl -xe
-- Unit session-158.scope has begun starting up.
Jul 13 12:30:01 cos-01.joliette.local CROND[32371]: (root) CMD (/usr/lib64/sa/sa1 1 1)
Jul 13 12:30:56 cos-01.joliette.local polkitd[896]: Registered Authentication Agent for unix-process:32403:8027081 (system bus name :1.463 [/usr/bin/pkttyagent --notify-fd 5 --fallbac
Jul 13 12:30:56 cos-01.joliette.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.
Jul 13 12:30:56 cos-01.joliette.local systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Jul 13 12:30:56 cos-01.joliette.local kill[32411]: kill: cannot find process ""
Jul 13 12:30:56 cos-01.joliette.local systemd[1]: httpd.service: control process exited, code=exited status=1
Jul 13 12:30:56 cos-01.joliette.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.
Jul 13 12:30:56 cos-01.joliette.local systemd[1]: Unit httpd.service entered failed state.
Jul 13 12:30:56 cos-01.joliette.local systemd[1]: httpd.service failed.
Jul 13 12:30:56 cos-01.joliette.local polkitd[896]: Unregistered Authentication Agent for unix-process:32403:8027081 (system bus name :1.463, object path /org/freedesktop/PolicyKit1/A
closed with the note: Found a solution
in OCS Inventory NG server for Unix by (120 points)
closed by
 
Powered by Question2Answer
...