Hi,
after a restore and some updates we have issues with Conf file permissions.
Fehler: Aufgrund von Fehlern in den Konfigurations-Templates konnten keine neuen Konfigurationsdateien für den Apache Webserver erstellt werden: httpd: Syntax error on line 221 of /etc/httpd/conf/httpd.conf: Syntax error on line 5 of /etc/httpd/conf.d/zz010_psa_httpd.conf: Syntax error on line 65 of /etc/httpd/conf/plesk.conf.d/server.conf: Could not open configuration file /etc/httpd/conf/plesk.conf.d/ip_default/DOMAIN.EXT.conf: Permission denied.
The setup did move the files to a seperate partition on /data/plesk
[root@SERVER ip_default]# ls -al
insgesamt 12
drwxr-xr-x. 2 root root 4096 13. Apr 14:29 .
drwxr-xr-x. 7 root root 4096 13. Apr 14:29 ..
lrwxrwxrwx. 1 root root 78 13. Apr 14:29 DOMAIN.EXT.conf -> /data/plesk/vhosts/system/DOMAIN.EXT/conf/httpd_ip_default.conf
if i look at the rights i see this...
ls -al /data/plesk/vhosts/system/DOMAIN.EXT/conf/httpd_ip_default.conf
-rw-r--r--. 1 root apache 7896 13. Apr 14:29 /data/plesk/vhosts/system/DOMAIN.EXT/conf/httpd_ip_default.conf
When i try to repair the rights..
[root@SERVER ip_default]# /usr/local/psa/admin/bin/httpdmng --reconfigure-all
Execution failed.
Command: httpdmng
Arguments: Array
(
[0] => --reconfigure-domains
[1] => DOMAINS
)
Details: [2016-04-13 15:46:09] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/apache-config' '-t'] with exit code [1]
[2016-04-13 15:46:10] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/apache-config' '-l' '/data/vhosts/system/DOMAIN.conf'] with exit code [100]
Error occured while sending feedback. HTTP code returned: 502
[2016-04-13 15:46:10] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/apache-config' '-l' '/data/vhosts/system/beta.DOMAIN-DOMAIN.eu/conf/httpd.conf:/etc/httpd/conf/plesk.conf.d/vhosts/DOMAIN.DOMAIN-DOMAIN.eu.conf'] with exit code [100]
Error occured while sending feedback. HTTP code returned: 502
[2016-04-13 15:46:10] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/apache-config' '-l' '/data/vhosts/system/DOMAIN-DOMAIN.de/conf/httpd.conf:/etc/httpd/conf/plesk.conf.d/vhosts/DOMAIN-DOMAIN.de.conf'] with exit code [100]
Error occured while sending feedback. HTTP code returned: 502
[2016-04-13 15:46:11] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/apache-config' '-l' '/data/vhosts/system/DOMAIN.DOMAIN-DOMAIN.de/conf/httpd.conf:/etc/httpd/conf/plesk.conf.d/vhosts/DOMAIN.DOMAIN-DOMAIN.de.conf'] with exit code [100]
Error occured while sending feedback. HTTP code returned: 502
[2016-04-13 15:46:11] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/apache-config' '-l' '/data/vhosts/system/DOMAIN-DOMAIN.de/conf/httpd.conf:/etc/httpd/conf/plesk.conf.d/vhosts/DOMAIN-DOMAIN.de.conf'] with exit code [100]
Error occured while sending feedback. HTTP code returned: 502
[2016-04-13 15:46:11] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/apache-config' '-l' '/data/vhosts/system/DOMAIN.DOMAIN-DOMAIN.de/conf/httpd.conf:/etc/httpd/conf/plesk.conf.d/vhosts/DOMAIN.DOMAIN-DOMAIN.de.conf'] with exit code [100]
Error occured while sending feedback. HTTP code returned: 502
[2016-04-13 15:46:11] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/apache-config' '-l' '/data/vhosts/system/DOMAIN.de/conf/httpd.conf:/etc/httpd/conf/plesk.conf.d/vhosts/DOMAIN.de.conf'] with exit code [100]
[2016-04-13 15:46:12] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/apache-config' '-l' '/data/vhosts/system/DOMAIN-DOMAIN.eu/conf/httpd.conf:/etc/httpd/conf/plesk.conf.d/vhosts/DOMAIN-DOMAIN.eu.conf'] with exit code [100]
[2016-04-13 15:46:12] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/apache-config' '-l' '/data/vhosts/system/DOMAIN-DOMAIN.de/conf/httpd.conf:/etc/httpd/conf/plesk.conf.d/vhosts/DOMAIN-DOMAIN.de.conf'] with exit code [100]
[2016-04-13 15:46:12] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/apache-config' '-l' '/data/vhosts/system/DOMAIN.DOMAIN-DOMAIN.de/conf/httpd.conf:/etc/httpd/conf/plesk.conf.d/vhosts/DOMAIN.DOMAIN-DOMAIN.de.conf'] with exit code [100]
[2016-04-13 15:46:13] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/apache-config' '-l' '/data/vhosts/system/DOMAIN-DOMAIN.com/conf/httpd.conf:/etc/httpd/conf/plesk.conf.d/vhosts/DOMAIN-DOMAIN.com.conf'] with exit code [100]
[2016-04-13 15:46:14] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/apache-config' '-l' '/data/vhosts/system/DOMAIN-DOMAIN-DOMAIN.de/conf/httpd.conf:/etc/httpd/conf/plesk.conf.d/vhosts/DOMAIN-DOMAIN-DOMAIN.de.conf'] with exit code [100]
[2016-04-13 15:46:14] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/apache-config' '-l' '/data/vhosts/system/DOMAIN-DOMAIN.de/conf/httpd.conf:/etc/httpd/conf/plesk.conf.d/vhosts/DOMAIN-DOMAIN.de.conf'] with exit code [100]
[2016-04-13 15:46:15] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/apache-config' '-l' '/data/vhosts/system/DOMAIN-DOMAIN.eu/conf/httpd_ip_default.conf:/etc/httpd/conf/plesk.conf.d/ip_default/DOMAIN-DOMAIN.eu.conf'] with exit code [100]
[2016-04-13 15:46:16] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/apache-config' '-t'] with exit code [1]
[2016-04-13 15:46:17] ERR [panel] Apache config (14605551670.62070600) generation failed: Template_Exception: httpd: Syntax error on line 221 of /etc/httpd/conf/httpd.conf: Syntax error on line 5 of /etc/httpd/conf.d/zz010_psa_httpd.conf: Syntax error on line 65 of /etc/httpd/conf/plesk.conf.d/server.conf: Could not open configuration file /etc/httpd/conf/plesk.conf.d/ip_default/DOMAIN-DOMAIN.eu.conf: Permission denied
file: /usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 75
code: 0
httpd: Syntax error on line 221 of /etc/httpd/conf/httpd.conf: Syntax error on line 5 of /etc/httpd/conf.d/zz010_psa_httpd.conf: Syntax error on line 65 of /etc/httpd/conf/plesk.conf.d/server.conf: Could not open configuration file /etc/httpd/conf/plesk.conf.d/ip_default/DOMAIN-DOMAIN.eu.conf: Permission denied
Ideas?
after a restore and some updates we have issues with Conf file permissions.
Fehler: Aufgrund von Fehlern in den Konfigurations-Templates konnten keine neuen Konfigurationsdateien für den Apache Webserver erstellt werden: httpd: Syntax error on line 221 of /etc/httpd/conf/httpd.conf: Syntax error on line 5 of /etc/httpd/conf.d/zz010_psa_httpd.conf: Syntax error on line 65 of /etc/httpd/conf/plesk.conf.d/server.conf: Could not open configuration file /etc/httpd/conf/plesk.conf.d/ip_default/DOMAIN.EXT.conf: Permission denied.
The setup did move the files to a seperate partition on /data/plesk
[root@SERVER ip_default]# ls -al
insgesamt 12
drwxr-xr-x. 2 root root 4096 13. Apr 14:29 .
drwxr-xr-x. 7 root root 4096 13. Apr 14:29 ..
lrwxrwxrwx. 1 root root 78 13. Apr 14:29 DOMAIN.EXT.conf -> /data/plesk/vhosts/system/DOMAIN.EXT/conf/httpd_ip_default.conf
if i look at the rights i see this...
ls -al /data/plesk/vhosts/system/DOMAIN.EXT/conf/httpd_ip_default.conf
-rw-r--r--. 1 root apache 7896 13. Apr 14:29 /data/plesk/vhosts/system/DOMAIN.EXT/conf/httpd_ip_default.conf
When i try to repair the rights..
[root@SERVER ip_default]# /usr/local/psa/admin/bin/httpdmng --reconfigure-all
Execution failed.
Command: httpdmng
Arguments: Array
(
[0] => --reconfigure-domains
[1] => DOMAINS
)
Details: [2016-04-13 15:46:09] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/apache-config' '-t'] with exit code [1]
[2016-04-13 15:46:10] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/apache-config' '-l' '/data/vhosts/system/DOMAIN.conf'] with exit code [100]
Error occured while sending feedback. HTTP code returned: 502
[2016-04-13 15:46:10] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/apache-config' '-l' '/data/vhosts/system/beta.DOMAIN-DOMAIN.eu/conf/httpd.conf:/etc/httpd/conf/plesk.conf.d/vhosts/DOMAIN.DOMAIN-DOMAIN.eu.conf'] with exit code [100]
Error occured while sending feedback. HTTP code returned: 502
[2016-04-13 15:46:10] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/apache-config' '-l' '/data/vhosts/system/DOMAIN-DOMAIN.de/conf/httpd.conf:/etc/httpd/conf/plesk.conf.d/vhosts/DOMAIN-DOMAIN.de.conf'] with exit code [100]
Error occured while sending feedback. HTTP code returned: 502
[2016-04-13 15:46:11] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/apache-config' '-l' '/data/vhosts/system/DOMAIN.DOMAIN-DOMAIN.de/conf/httpd.conf:/etc/httpd/conf/plesk.conf.d/vhosts/DOMAIN.DOMAIN-DOMAIN.de.conf'] with exit code [100]
Error occured while sending feedback. HTTP code returned: 502
[2016-04-13 15:46:11] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/apache-config' '-l' '/data/vhosts/system/DOMAIN-DOMAIN.de/conf/httpd.conf:/etc/httpd/conf/plesk.conf.d/vhosts/DOMAIN-DOMAIN.de.conf'] with exit code [100]
Error occured while sending feedback. HTTP code returned: 502
[2016-04-13 15:46:11] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/apache-config' '-l' '/data/vhosts/system/DOMAIN.DOMAIN-DOMAIN.de/conf/httpd.conf:/etc/httpd/conf/plesk.conf.d/vhosts/DOMAIN.DOMAIN-DOMAIN.de.conf'] with exit code [100]
Error occured while sending feedback. HTTP code returned: 502
[2016-04-13 15:46:11] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/apache-config' '-l' '/data/vhosts/system/DOMAIN.de/conf/httpd.conf:/etc/httpd/conf/plesk.conf.d/vhosts/DOMAIN.de.conf'] with exit code [100]
[2016-04-13 15:46:12] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/apache-config' '-l' '/data/vhosts/system/DOMAIN-DOMAIN.eu/conf/httpd.conf:/etc/httpd/conf/plesk.conf.d/vhosts/DOMAIN-DOMAIN.eu.conf'] with exit code [100]
[2016-04-13 15:46:12] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/apache-config' '-l' '/data/vhosts/system/DOMAIN-DOMAIN.de/conf/httpd.conf:/etc/httpd/conf/plesk.conf.d/vhosts/DOMAIN-DOMAIN.de.conf'] with exit code [100]
[2016-04-13 15:46:12] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/apache-config' '-l' '/data/vhosts/system/DOMAIN.DOMAIN-DOMAIN.de/conf/httpd.conf:/etc/httpd/conf/plesk.conf.d/vhosts/DOMAIN.DOMAIN-DOMAIN.de.conf'] with exit code [100]
[2016-04-13 15:46:13] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/apache-config' '-l' '/data/vhosts/system/DOMAIN-DOMAIN.com/conf/httpd.conf:/etc/httpd/conf/plesk.conf.d/vhosts/DOMAIN-DOMAIN.com.conf'] with exit code [100]
[2016-04-13 15:46:14] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/apache-config' '-l' '/data/vhosts/system/DOMAIN-DOMAIN-DOMAIN.de/conf/httpd.conf:/etc/httpd/conf/plesk.conf.d/vhosts/DOMAIN-DOMAIN-DOMAIN.de.conf'] with exit code [100]
[2016-04-13 15:46:14] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/apache-config' '-l' '/data/vhosts/system/DOMAIN-DOMAIN.de/conf/httpd.conf:/etc/httpd/conf/plesk.conf.d/vhosts/DOMAIN-DOMAIN.de.conf'] with exit code [100]
[2016-04-13 15:46:15] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/apache-config' '-l' '/data/vhosts/system/DOMAIN-DOMAIN.eu/conf/httpd_ip_default.conf:/etc/httpd/conf/plesk.conf.d/ip_default/DOMAIN-DOMAIN.eu.conf'] with exit code [100]
[2016-04-13 15:46:16] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/apache-config' '-t'] with exit code [1]
[2016-04-13 15:46:17] ERR [panel] Apache config (14605551670.62070600) generation failed: Template_Exception: httpd: Syntax error on line 221 of /etc/httpd/conf/httpd.conf: Syntax error on line 5 of /etc/httpd/conf.d/zz010_psa_httpd.conf: Syntax error on line 65 of /etc/httpd/conf/plesk.conf.d/server.conf: Could not open configuration file /etc/httpd/conf/plesk.conf.d/ip_default/DOMAIN-DOMAIN.eu.conf: Permission denied
file: /usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 75
code: 0
httpd: Syntax error on line 221 of /etc/httpd/conf/httpd.conf: Syntax error on line 5 of /etc/httpd/conf.d/zz010_psa_httpd.conf: Syntax error on line 65 of /etc/httpd/conf/plesk.conf.d/server.conf: Could not open configuration file /etc/httpd/conf/plesk.conf.d/ip_default/DOMAIN-DOMAIN.eu.conf: Permission denied
Ideas?
Last edited: