Quantcast
Channel: Ocsinventory Q&A - Recent questions and answers
Viewing all articles
Browse latest Browse all 11966

CentOS fails to restart httpd

$
0
0

Hello everyone,

I am working on a CentOs 7 on a virtual machine in order to  manage the IT infrastructure in the company where I'm working.

Trying to restart apache, I've got this error 

Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.

And when I do the first command this is what it shows me

● httpd.service - The Apache HTTP Server
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since jeu. 2017-06-22 15:57:10 CEST; 22s ago
     Docs: man:httpd(8)
           man:apachectl(8)
  Process: 3404 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
  Process: 3402 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
 Main PID: 3402 (code=exited, status=1/FAILURE)

juin 22 15:57:10 localhost.localdomain systemd[1]: Starting The Apache HTTP Server...
juin 22 15:57:10 localhost.localdomain httpd[3402]: AH00526: Syntax error on line 36 of /etc/httpd/conf.d/ocsinventory-reports.conf:
juin 22 15:57:10 localhost.localdomain httpd[3402]: Invalid command 'SSLRequireSSL', perhaps misspelled or defined by a module not included in the server configuration
juin 22 15:57:10 localhost.localdomain systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
juin 22 15:57:10 localhost.localdomain kill[3404]: kill: cannot find process ""
juin 22 15:57:10 localhost.localdomain systemd[1]: httpd.service: control process exited, code=exited status=1
juin 22 15:57:10 localhost.localdomain systemd[1]: Failed to start The Apache HTTP Server.
juin 22 15:57:10 localhost.localdomain systemd[1]: Unit httpd.service entered failed state.
juin 22 15:57:10 localhost.localdomain systemd[1]: httpd.service failed.

Can anyone help me figure out what's causing this and how can I fix it?

Regards,

Malek


Viewing all articles
Browse latest Browse all 11966

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>