Certbot: Error while running apachectl graceful


#1

Hi folks,

I’m trying to install a certificate on a CentOS 7.2 Server that is running apache that acts as a proxy for a tomcat. Basically everything works, but if I try to do a ‘certbot --apache’ and select my domain, I get the error ‘Error while running apachectl graceful’.

‘systemctl status httpd.service’ outputs this:

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 Mi 2016-11-02 14:13:35 CET; 20s ago
Docs: man:httpd(8)
man:apachectl(8)
Process: 9590 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
Process: 9588 ExecReload=/usr/sbin/httpd $OPTIONS -k graceful (code=exited, status=0/SUCCESS)
Process: 1090 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
Main PID: 1090 (code=exited, status=1/FAILURE)
Status: “Total requests: 0; Current requests/sec: 0; Current traffic: 0 B/sec”

Nov 02 14:06:00 ascas02.ascas.de systemd[1]: Starting The Apache HTTP Server…
Nov 02 14:06:03 ascas02.ascas.de systemd[1]: Started The Apache HTTP Server.
Nov 02 14:13:35 ascas02.ascas.de systemd[1]: Reloaded The Apache HTTP Server.
Nov 02 14:13:35 ascas02.ascas.de systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Nov 02 14:13:35 ascas02.ascas.de kill[9590]: kill: cannot find process ""
Nov 02 14:13:35 ascas02.ascas.de systemd[1]: httpd.service: control process exited, code=exited status=1
Nov 02 14:13:35 ascas02.ascas.de systemd[1]: Unit httpd.service entered failed state.
Nov 02 14:13:35 ascas02.ascas.de systemd[1]: httpd.service failed.
Nov 02 14:13:42 ascas02.ascas.de systemd[1]: Unit httpd.service cannot be reloaded because it is inactive.

I think the main problem here is the 'kill: cannot find process “” but where does it come from? Any ideas?

Both commands 'systemctl restart httpd.service' and 'apachectl graceful' work fine when executed seperately.

Thank you


#2

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.