• 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

Resolved Appache error

gadalf

New Pleskian
Hello,

I get this error on my 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: [Sun Sep 1 12:09:50 UTC 2019]: Service: courier-pop3d, Action: status INFO: [Sun Sep 1 12:09:50 UTC 2019]: Service: courier-pop3d, Action: status Sep 01 11:02:59 (servername) systemd[1]: Starting The Apache HTTP Server... Sep 01 11:03:00 (servername) systemd[1]: Started The Apache HTTP Server. Sep 01 12:02:00 server7-2.2lhost.com systemd[1]: httpd.service: main process exited, code=killed, status=9/KILL Sep 01 12:02:00 server7-2.2lhost.com kill[12864]: kill: cannot find process "" Sep 01 12:02:00 (servername) systemd[1]: httpd.service: control process exited, code=exited status=1 Sep 01 12:02:27 (servername) systemd[1]: Unit httpd.service entered failed state. Sep 01 12:02:27 server7-2.2lhost.com systemd[1]: httpd.service failed. WARNING! Some problems are found during stop service httpd(see log file: /var/log/plesk/rc_actions.log) Continue... /usr/local/psa/admin/sbin/pleskrc execution failed: Failed to list unit files: Connection timed out INFO: [Sun Sep 1 12:10:43 UTC 2019]: Service: courier-imapd, Action: status INFO: [Sun Sep 1 12:10:43 UTC 2019]: Service: courier-imapd, Action: status WARNING! Some problems are found during attempt to status service courier-imapd - 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 list unit files: Connection timed out Failed to get properties: Connection timed out . 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

I run this comand:
plesk db -e"select * from Configurations where status='error'\G"
and here is the output:
id: 46
name: domainVhost
serviceNodeId: 1
file: NULL
version: 15651714550.07768000
objectType: domain
objectId: 15
status: error
active: false
description: Template processing failed: file = /usr/local/psa/admin/conf/templates/default/domainVhost.php, error = Template_Exception: No data.
file: /usr/local/psa/admin/plib/Template/Processor.php
line: 28
code: 0
Previous error: Template_Variable_Exception: No data.
file: /usr/local/psa/admin/plib/Template/Variable/AbstractCachedData.php
line: 67
code: 0
errorFile:

thanks in advance
 
Can you use repair tool in CLI? Type 'plesk repair all -y' and check is it help.
 
Back
Top