• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue Can not restart web server / New configuration files for the Apache web server were not created

Sven_H

New Pleskian
Hi,

Im having trouble to start my apache web server.

System:
OS: ‪CentOS Linux 7.6.1810 (Core)
Plesk Onyx 17.8.11 Update #62


Thats the notification I get in plesk:

New configuration files for the Apache web server were not created due to the errors in configuration templates: Can not restart web server: INFO: [Thu Aug 1 14:47:03 CEST 2019]: Service: httpd, Action: start Trying to start service httpd... failed Aug 01 14:47:03 xxxxxxxx systemd[1]: Starting The Apache HTTP Server... Aug 01 14:47:03 h2808740.stratoserver.net systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE Aug 01 14:47:03 h2808740.stratoserver.net kill[19227]: kill: cannot find process "" Aug 01 14:47:03 h2808740.stratoserver.net systemd[1]: httpd.service: control process exited, code=exited status=1 Aug 01 14:47:03 h2808740.stratoserver.net systemd[1]: Failed to start The Apache HTTP Server. Aug 01 14:47:03 h2808740.stratoserver.net systemd[1]: Unit httpd.service entered failed state. Aug 01 14:47:03 h2808740.stratoserver.net systemd[1]: httpd.service failed. WARNING! Some problems are found during start service httpd(see log file: /var/log/plesk/rc_actions.log) Continue... /usr/local/psa/admin/sbin/pleskrc execution failed: Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details. . Detailed error descriptions were sent to you by email. Please resolve the issues and click here to generate broken configuration files once again or here to generate all configuration files. See the details in Configuration Troubleshooter


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 2019-08-01 16:37:39 CEST; 36min ago
Docs: man:httpd(8)
man:apachectl(8)
Process: 29230 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
Process: 29227 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
Main PID: 29227 (code=exited, status=1/FAILURE)

Aug 01 16:37:39 xxxxxxxx systemd[1]: Starting The Apache HTTP Server...
Aug 01 16:37:39 xxxxxxxx systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Aug 01 16:37:39 xxxxxxxx kill[29230]: kill: cannot find process ""
Aug 01 16:37:39 xxxxxxxx systemd[1]: httpd.service: control process exited, code=exited status=1
Aug 01 16:37:39 xxxxxxxx systemd[1]: Failed to start The Apache HTTP Server.
Aug 01 16:37:39 xxxxxxxx systemd[1]: Unit httpd.service entered failed state.
Aug 01 16:37:39 xxxxxxxx systemd[1]: httpd.service failed.


Yesterday I had this error in plesk but a reboot of the whole server "fixed" it temporary:
Unable to start service: Unable to manage service by apache_control_adapter: ('start', 'web'). Error: INFO: [Wed Jul 31 20:47:29 CEST 2019]: Service: httpd, Action: start Trying to start service httpd... WARNING! Some problems are found during attempt to start service httpd - control script doesn't exist or isn't executable(see log file: /var/log/plesk/rc_actions.log) Continue... INFO: [Wed Jul 31 20:47:29 CEST 2019]: Service: httpd, Action: start Trying to start service httpd... WARNING! Some problems are found during attempt to start service httpd - control script doesn't exist or isn't executable(see log file: /var/log/plesk/rc_actions.log) Continue... WARNING! Some problems are found during start service httpd(see log file: /var/log/plesk/rc_actions.log) Continue... /usr/local/psa/admin/sbin/pleskrc execution failed: Failed to get D-Bus connection: Connection refused Failed to get D-Bus connection: Connection refused


apachectl -t
Syntax OK

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


plesk sbin httpdmng --reconfigure-domain xxxxxxxx
[2019-08-01 17:25:29.732] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/apache_control_adapter' '--restart' '--restart-interval' '0' '--http-port' '80' '--https-port' '443'] with exit code [255]
[2019-08-01 17:25:30.088] ERR [panel] Apache config (15646731270.89080600) generation failed: Template_Exception: Can not restart web server: INFO: [Thu Aug 1 17:25:29 CEST 2019]: Service: httpd, Action: start
Trying to start service httpd... failed
Aug 01 17:25:29 xxxxxxxx systemd[1]: Starting The Apache HTTP Server...
Aug 01 17:25:29 xxxxxxxx systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Aug 01 17:25:29 xxxxxxxx kill[1501]: kill: cannot find process ""
Aug 01 17:25:29 xxxxxxxx systemd[1]: httpd.service: control process exited, code=exited status=1
Aug 01 17:25:29 xxxxxxxx systemd[1]: Failed to start The Apache HTTP Server.
Aug 01 17:25:29 xxxxxxxx systemd[1]: Unit httpd.service entered failed state.
Aug 01 17:25:29 xxxxxxxx systemd[1]: httpd.service failed.

WARNING!
Some problems are found during start service httpd(see log file: /var/log/plesk/rc_actions.log)

Continue...

/usr/local/psa/admin/sbin/pleskrc execution failed:
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.

file: /usr/local/psa/admin/plib/Service/Driver/Web/Server/Apache.php
line: 111
code: 0
Can not restart web server: INFO: [Thu Aug 1 17:25:29 CEST 2019]: Service: httpd, Action: start
Trying to start service httpd... failed
Aug 01 17:25:29 xxxxxxxx systemd[1]: Starting The Apache HTTP Server...
Aug 01 17:25:29 xxxxxxxx systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Aug 01 17:25:29 xxxxxxxx kill[1501]: kill: cannot find process ""
Aug 01 17:25:29 xxxxxxxx systemd[1]: httpd.service: control process exited, code=exited status=1
Aug 01 17:25:29 xxxxxxxx systemd[1]: Failed to start The Apache HTTP Server.
Aug 01 17:25:29 xxxxxxxx systemd[1]: Unit httpd.service entered failed state.
Aug 01 17:25:29 xxxxxxxx systemd[1]: httpd.service failed.

WARNING!
Some problems are found during start service httpd(see log file: /var/log/plesk/rc_actions.log)

Continue...

/usr/local/psa/admin/sbin/pleskrc execution failed:
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.

exit status 1


I hope someone can give me a hint on how to solve the problem.

Kind Regards
Sven
 
I am getting this error too. I have the latest version of D-Bus, FTP login is working fine.

Version 17.8.11 Update #80, last updated on Jan 27, 2020 08:13 AM (today) since when Apache is refusing to start).
 
Back
Top