• 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 PHP jump from 7.0.20 to 5.5.9 by OS vendor

iceman333

Basic Pleskian
Ubuntu 16.04.2 LTS (GNU/Linux 4.4.0-81-generic x86_64)
plesk version
Product version: Plesk Onyx 17.5.3 Update #10
Update date: 2017/06/22 08:35
Build date: 2017/03/17 16:00
OS version: Ubuntu 16.04
Revision: 55d1b49a272f44666e1920eca8b6e4da449a38cd
Architecture: 64-bit

Hello

This morning was after update all domais down. Have then seen that all were adjusted to PHP 5.5.9. Have all changed by hand to 7.020. After a short time you are back to 5.5.9.

Then come again mistakes on the domains.

What can I do that no longer happens
 
Check PHP version in corresponding Service Plan. Most probably it is synced to subscriptions.
 
Have all checked and set to 7.0.20. Were all ok.
Is the same at 2nd server.
Get the mail every few minutes.

Unable to generate the web server configuration file on the host <rv1331.1blu.de> because of the following errors:

Template_Exception: AH00526: Syntax error on line 80 of /etc/apache2/plesk.conf.d/vhosts/1400gtr-forum.de.conf:

Invalid command 'DirectoryIndex', perhaps misspelled or defined by a module not included in the server configuration

file: /opt/psa/admin/plib/Template/Writer/Webserver/Abstract.php

line: 75

code: 0



Please resolve the errors in web server configuration templates and generate the file again
 
What about

# plesk repair installation
# plesk repair web

?
 
Invalid command 'DirectoryIndex', perhaps misspelled or defined by a module not included in the server configuration

Make sure that Apache mod_dir is loaded with

# httpd -M | grep dir
 
It is command for CentOS, use corresponding apache2 or something like that for Ubuntu.
 
Apache is now down

apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2; bad; vendor preset: enabled)
Drop-In: /lib/systemd/system/apache2.service.d
└─apache2-systemd.conf
Active: failed (Result: exit-code) since Do 2017-06-22 09:08:11 CEST; 1h 30min ago
Docs: man:systemd-sysv-generator(8)

Jun 22 09:08:11 rv1331 apache2[1354]: * The apache2 configtest failed.
Jun 22 09:08:11 rv1331 apache2[1354]: Output of config test was:
Jun 22 09:08:11 rv1331 apache2[1354]: AH00526: Syntax error on line 53 of /etc/apache2/plesk.conf.d/vhosts/wp-cnc-serv
Jun 22 09:08:11 rv1331 apache2[1354]: SSLCertificateFile: file '/opt/psa/var/certificates/cert-G14JGR' does not exist
Jun 22 09:08:11 rv1331 apache2[1354]: Action 'configtest' failed.
Jun 22 09:08:11 rv1331 apache2[1354]: The Apache error log may have more information.
Jun 22 09:08:11 rv1331 systemd[1]: apache2.service: Control process exited, code=exited status=1
Jun 22 09:08:11 rv1331 systemd[1]: Failed to start LSB: Apache2 web server.
Jun 22 09:08:11 rv1331 systemd[1]: apache2.service: Unit entered failed state.
Jun 22 09:08:11 rv1331 systemd[1]: apache2.service: Failed with result 'exit-code'.
ESCOC

enabled)


9:08:11 CEST; 1h 30min ago


test failed.
was:
on line 53 of /etc/apache2/plesk.conf.d/vhosts/wp-cnc-service.de.conf:
ile '/opt/psa/var/certificates/cert-G14JGR' does not exist or is empty
ailed.
may have more information.
process exited, code=exited status=1
che2 web server.
tered failed state.
with result 'exit-code'.
 
root@rv1331:~# plesk repair web

Checking Plesk version .............................................. [OK]

Checking for custom configuration templates ......................... [OK]

Checking for the JkWorkersFile directive in the Apache configuration [OK]

Checking associations between domains and IP addresses .............. [OK]

Checking for corrupted reference between IP collections and IP
addresses ........................................................... [OK]

Checking for links between APS applications and subscriptions ....... [OK]

Checking for the Zend extension declaraion in php.ini ............... [OK]

Check symbolic links for latest virtual host config files ........... [OK]

Checking for system users home directories consistency .............. [OK]

Checking for records with empty name field in the Configurations table[OK]

Checking for nginx ULIMIT value ..................................... [OK]

Checking for extra configurations in database not owned by any object [OK]

Repairing web server configuration

Reinstall SSL/TLS certificates and set the default certificate for all IP addresses? [Y/n] Checking Plesk version .............................................. [OK]
Reinstall SSL/TLS certificates and set the default certificate for all IP addresses? [Y/n]
Reinstalling SSL/TLS certificates ............................... Checking for custom configuration templates ......................... [OK]

Checking for the JkWorkersFile directive in the Apache configuration [OK]

Checking associations between domains and IP addresses .............. [OK]

Checking for corrupted reference between IP collections and IP
addresses ........................................................... [OK]

Checking for links between APS applications and subscriptions ....... [OK]

Checking for the Zend extension declaraion in php.ini ............... [OK]

Check symbolic links for latest virtual host config files ........... [OK]

Checking for system users home directories consistency .............. [OK]

Checking for records with empty name field in the Configurations table[OK]

Checking for nginx ULIMIT value ..................................... [OK]

Checking for extra configurations in database not owned by any object [OK]

[OK]
Applying the default SSL/TLS certificate to all IP addresses .... [OK]

Repair server-wide configuration parameters for web servers? [Y/n] Repair server-wide configuration parameters for web servers? [Y/n] Repairing server-wide configuration parameters for web servers .. [2017-06-22 10:44:16] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/httpdmng' '--reconfigure-server'] with exit code [1]
Error occured while sending feedback. HTTP code returned: 502
[FAILED]
- httpdmng failed: [2017-06-22 10:44:07] ERR [util_exec]
proc_close() failed ['/opt/psa/admin/bin/apache-config' '-t']
with exit code [1]
Error occured while sending feedback. HTTP code returned: 502
[2017-06-22 10:44:11] ERR [util_exec] proc_close() failed
['/opt/psa/admin/bin/apache-config' '-t'] with exit code [1]
Error occured while sending feedback. HTTP code returned: 502
[2017-06-22 10:44:13] ERR [panel] Apache config
(14981210460.22615000) generation failed: Template_Exception:
AH00526: Syntax error on line 53 of
/etc/apache2/plesk.conf.d/vhosts/wp-cnc-service.de.conf:
SSLCertificateFile: file
'/opt/psa/var/certificates/cert-G14JGR' does not exist or is
empty

file:
/opt/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 75
code: 0
plesk sendmail[23746]: Canonname is not correct fqdn
plesk sendmail[23746]: It is impossible to detect the FQDN of
the host.
Please make sure that the host name is correctly specified in
/etc/hosts and goes right after the host's IP address.
Depending on your OS, you might need to set the host name in
/etc/HOSTNAME or /etc/hostname.
plesk sendmail[23746]: Unable to retrieve hostname. Use
localhost.localdomain instead.
Error occured while sending feedback. HTTP code returned: 502
AH00526: Syntax error on line 53 of
/etc/apache2/plesk.conf.d/vhosts/wp-cnc-service.de.conf:
SSLCertificateFile: file
'/opt/psa/var/certificates/cert-G14JGR' does not exist or is
empty

Update the file of sharing passwords and permissions of users according to actual information? [Y/n] Update the file of sharing passwords and permissions of users according to actual information? [Y/n] Updating the file of sharing passwords and permissions of users
according to actual information ................................. [OK]

Repair web server configuration for all domains? [Y/n] Repair web server configuration for all domains? [Y/n] Repairing web server configuration for all domains. This aspect
can be used with individual domains ("plesk repair web
example.com"), and on the server level ("plesk repair web") ..... [2017-06-22 10:44:32] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/httpdmng' '--reconfigure-all'] with exit code [1]
Error occured while sending feedback. HTTP code returned: 502
[FAILED]
- httpdmng failed: Error occured while sending feedback. HTTP
code returned: 502
Error occured while sending feedback. HTTP code returned: 502
Execution failed.
Command: httpdmng
Arguments: Array
(
[0] => --reconfigure-domains
[1] =>
1400gtr-forum.de,afb-wiki.de,airturbinetools.de,anglerforum-bayern.com,anglerforum-bayern.de,backup.1400gtr-forum.de,Bilder.wp-cnc-service.de,hsv-vilsbiburg.info,isen-fischer.de,isenfischer.de,myfishvideo.info,myvideo.1400gtr-forum.de,rv1331.1blu.de,service.airturbinetools.de,time.hsv-vilsbiburg.info,update.isen-fischer.de,us.airturbinetools.de,video.hsv-vilsbiburg.info,wordpress.isen-fischer.de,wp-cnc-service.de
)

Details: [2017-06-22 10:44:26] ERR [util_exec] proc_close()
failed ['/opt/psa/admin/bin/apache-config' '-t'] with exit code
[1]
Error occured while sending feedback. HTTP code returned: 502
[2017-06-22 10:44:29] ERR [util_exec] proc_close() failed
['/opt/psa/admin/bin/apache-config' '-t'] with exit code [1]
Error occured while sending feedback. HTTP code returned: 502
[2017-06-22 10:44:30] ERR [panel] Apache config
(14981210620.14611500) generation failed: Template_Exception:
AH00526: Syntax error on line 111 of
/etc/apache2/plesk.conf.d/ip_default/anglerforum-bayern.de.conf:
Invalid command 'DirectoryIndex', perhaps misspelled or defined
by a module not included in the server configuration

file:
/opt/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 75
code: 0
plesk sendmail[25288]: Canonname is not correct fqdn
plesk sendmail[25288]: It is impossible to detect the FQDN of
the host.
Please make sure that the host name is correctly specified in
/etc/hosts and goes right after the host's IP address.
Depending on your OS, you might need to set the host name in
/etc/HOSTNAME or /etc/hostname.
plesk sendmail[25288]: Unable to retrieve hostname. Use
localhost.localdomain instead.
Error occured while sending feedback. HTTP code returned: 502
AH00526: Syntax error on line 111 of
/etc/apache2/plesk.conf.d/ip_default/anglerforum-bayern.de.conf:
Invalid command 'DirectoryIndex', perhaps misspelled or defined
by a module not included in the server configuration

Checking the usage of PHP handlers .................................. [OK]

Error messages: 0; Warnings: 0; Errors resolved: 0
 
I can only recommend creating a request to support team to do the in-depth investigation to find the reason and to fix it. Please create a ticket to support at Help Center
 
Hi Igor, I can not create a ticket. I'm not a direct partner of Plesk. Property only license of 1blue. What can I do.
 
Back
Top