After updating Apache 2.4.29 to 2.4.33 with DA plugin Custombuild 2.0.0 (rev: 1847): Apache is not restarting.
Status is:
[root@srv2 ~]# systemctl status httpd.service -l
â httpd.service - The Apache HTTP Server
Loaded: loaded (/etc/systemd/system/httpd.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sun 2018-03-25 11:00:12 CEST; 47s ago
Process: 6824 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
Process: 6822 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
Main PID: 6822 (code=exited, status=1/FAILURE)
Mar 25 11:00:12 srv2.cms.nl systemd[1]: Starting The Apache HTTP Server...
Mar 25 11:00:12 srv2.cms.nl httpd[6822]: AH00526: Syntax error on line 18 of /etc/httpd/conf/extra/httpd-hostname.conf:
Mar 25 11:00:12 srv2.cms.nl httpd[6822]: SuexecUserGroup cannot occur within directory context
Mar 25 11:00:12 srv2.cms.nl systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Mar 25 11:00:12 srv2.cms.nl kill[6824]: kill: cannot find process ""
Mar 25 11:00:12 srv2.cms.nl systemd[1]: httpd.service: control process exited, code=exited status=1
Mar 25 11:00:12 srv2.cms.nl systemd[1]: Failed to start The Apache HTTP Server.
Mar 25 11:00:12 srv2.cms.nl systemd[1]: Unit httpd.service entered failed state.
Mar 25 11:00:12 srv2.cms.nl systemd[1]: httpd.service failed.
httpd-hostname.conf is:
<Directory /var/www/html>
Options +SymLinksIfOwnerMatch +IncludesNoExec -Indexes
AllowOverride AuthConfig FileInfo Indexes Limit Options=Includes,IncludesNOEXEC,Indexes,ExecCGI,MultiViews,SymLinksIfOwnerMatch,None
Require all granted
<IfModule mod_suphp.c>
suPHP_Engine On
suPHP_UserGroup webapps webapps
</IfModule>
<IfModule mod_ruid2.c>
RUidGid webapps webapps
</IfModule>
<IfModule mod_lsapi.c>
lsapi_user_group webapps webapps
</IfModule>
<IfModule mod_fcgid.c>
FcgidWrapper /usr/local/safe-bin/fcgid72.sh .php
SuexecUserGroup webapps webapps
<FilesMatch "\.(inc|php|php3|php4|php44|php5|php52|php53|php54|php55|php56|php70|php71|php72|php6|phtml|phps)$">
Options +ExecCGI
AddHandler fcgid-script .php
</FilesMatch>
</IfModule>
<IfModule mod_fcgid.c>
FcgidWrapper /usr/local/safe-bin/fcgid56.sh .php56
SuexecUserGroup webapps webapps
<FilesMatch "\.php56$">
Options +ExecCGI
AddHandler fcgid-script .php56
</FilesMatch>
</IfModule>
</Directory>
<Directory /var/www/html/phpMyAdmin/log>
Require all denied
</Directory>
I placed back my snapshot with Apache 2.4.29.
Any help appreciated...
Status is:
[root@srv2 ~]# systemctl status httpd.service -l
â httpd.service - The Apache HTTP Server
Loaded: loaded (/etc/systemd/system/httpd.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sun 2018-03-25 11:00:12 CEST; 47s ago
Process: 6824 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
Process: 6822 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
Main PID: 6822 (code=exited, status=1/FAILURE)
Mar 25 11:00:12 srv2.cms.nl systemd[1]: Starting The Apache HTTP Server...
Mar 25 11:00:12 srv2.cms.nl httpd[6822]: AH00526: Syntax error on line 18 of /etc/httpd/conf/extra/httpd-hostname.conf:
Mar 25 11:00:12 srv2.cms.nl httpd[6822]: SuexecUserGroup cannot occur within directory context
Mar 25 11:00:12 srv2.cms.nl systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Mar 25 11:00:12 srv2.cms.nl kill[6824]: kill: cannot find process ""
Mar 25 11:00:12 srv2.cms.nl systemd[1]: httpd.service: control process exited, code=exited status=1
Mar 25 11:00:12 srv2.cms.nl systemd[1]: Failed to start The Apache HTTP Server.
Mar 25 11:00:12 srv2.cms.nl systemd[1]: Unit httpd.service entered failed state.
Mar 25 11:00:12 srv2.cms.nl systemd[1]: httpd.service failed.
httpd-hostname.conf is:
<Directory /var/www/html>
Options +SymLinksIfOwnerMatch +IncludesNoExec -Indexes
AllowOverride AuthConfig FileInfo Indexes Limit Options=Includes,IncludesNOEXEC,Indexes,ExecCGI,MultiViews,SymLinksIfOwnerMatch,None
Require all granted
<IfModule mod_suphp.c>
suPHP_Engine On
suPHP_UserGroup webapps webapps
</IfModule>
<IfModule mod_ruid2.c>
RUidGid webapps webapps
</IfModule>
<IfModule mod_lsapi.c>
lsapi_user_group webapps webapps
</IfModule>
<IfModule mod_fcgid.c>
FcgidWrapper /usr/local/safe-bin/fcgid72.sh .php
SuexecUserGroup webapps webapps
<FilesMatch "\.(inc|php|php3|php4|php44|php5|php52|php53|php54|php55|php56|php70|php71|php72|php6|phtml|phps)$">
Options +ExecCGI
AddHandler fcgid-script .php
</FilesMatch>
</IfModule>
<IfModule mod_fcgid.c>
FcgidWrapper /usr/local/safe-bin/fcgid56.sh .php56
SuexecUserGroup webapps webapps
<FilesMatch "\.php56$">
Options +ExecCGI
AddHandler fcgid-script .php56
</FilesMatch>
</IfModule>
</Directory>
<Directory /var/www/html/phpMyAdmin/log>
Require all denied
</Directory>
I placed back my snapshot with Apache 2.4.29.
Any help appreciated...