On Plesk server
Apache is not starting
I tried to repair plesk with "plesk repair web -server", got following error
When i try reconfigure i get error
I have following apache packages installed
/etc/httpd/conf/plesk.conf.d/vhosts folder is empty on this server, i tried to regenerate apache config for one of the hosted site
Any idea how to fix this problem ?
Code:
[root@reflexmania ~]# plesk version
Product version: Plesk Onyx 17.8.11 Update #18
Update date: 2018/09/01 23:42
Build date: 2018/08/24 12:47
OS version: CentOS 7.5.1804
Revision: 6eb2f538f0b13302f09cd8a38c64c82940622756
Architecture: 64-bit
Wrapper version: 1.2
[root@reflexmania ~]#
Apache is not starting
Code:
[root@reflexmania ~]# service httpd status
Redirecting to /bin/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 Sun 2018-09-02 10:22:47 CEST; 6min ago
Docs: man:httpd.service(8)
Process: 17602 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
Main PID: 17602 (code=exited, status=1/FAILURE)
Sep 02 10:22:47 reflexmania.local systemd[1]: Starting The Apache HTTP Server...
Sep 02 10:22:47 reflexmania.local httpd[17602]: httpd: Syntax error on line 56 of /etc/httpd/conf/httpd.conf: Syntax error on line 3 of /etc/httpd/conf.modules.d/00-proxy.conf: Cannot load...t_best_worker
Sep 02 10:22:47 reflexmania.local systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Sep 02 10:22:47 reflexmania.local systemd[1]: Failed to start The Apache HTTP Server.
Sep 02 10:22:47 reflexmania.local systemd[1]: Unit httpd.service entered failed state.
Sep 02 10:22:47 reflexmania.local systemd[1]: httpd.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
[root@reflexmania ~]#
I tried to repair plesk with "plesk repair web -server", got following error
Code:
[root@reflexmania ~]# plesk repair web -server
Repairing web server configuration
File not found: reflexmania.it.conf
File not found: beta.reflexmania.it.conf
File not found: reflexmania.co.uk.conf
File not found: manager.reflexmania.it.conf
File not found: support.reflexmania.it.conf ....................... [ERROR]
Repairing server-wide configuration parameters for web servers .. [2018-09-02 10:23:50.544] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/httpdmng' '--reconfigure-server'] with exit code [1]
[FAILED]
- httpdmng failed: [2018-09-02 10:23:50.234] ERR [util_exec]
proc_close() failed ['/usr/local/psa/admin/bin/apache-config'
'-t'] with exit code [1]
[2018-09-02 10:23:50.430] ERR [util_exec] proc_close() failed
['/usr/local/psa/admin/bin/apache-config' '-t'] with exit code
[1]
[2018-09-02 10:23:50.432] ERR [panel] Apache config
(15358766290.88527600) generation failed: Template_Exception:
httpd: Syntax error on line 56 of /etc/httpd/conf/httpd.conf:
Syntax error on line 3 of
/etc/httpd/conf.modules.d/00-proxy.conf: Cannot load
modules/mod_lbmethod_bybusyness.so into server:
/etc/httpd/modules/mod_lbmethod_bybusyness.so: undefined
symbol: ap_proxy_balancer_get_best_worker
file:
/usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 75
code: 0
httpd: Syntax error on line 56 of /etc/httpd/conf/httpd.conf:
Syntax error on line 3 of
/etc/httpd/conf.modules.d/00-proxy.conf: Cannot load
modules/mod_lbmethod_bybusyness.so into server:
/etc/httpd/modules/mod_lbmethod_bybusyness.so: undefined
symbol: ap_proxy_balancer_get_best_worker
Error messages: 1; Warnings: 0; Errors resolved: 0
exit status 1
[root@reflexmania ~]#
When i try reconfigure i get error
Code:
[root@reflexmania ~]# /usr/local/psa/admin/bin/httpdmng --reconfigure-all
Execution failed.
Command: httpdmng
Arguments: Array
(
[0] => --reconfigure-server
[1] => -no-restart
)
Details: [2018-09-02 10:30:45.449] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/apache-config' '-t'] with exit code [1]
[2018-09-02 10:30:45.661] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/apache-config' '-t'] with exit code [1]
[2018-09-02 10:30:45.662] ERR [panel] Apache config (15358770450.17070800) generation failed: Template_Exception: httpd: Syntax error on line 56 of /etc/httpd/conf/httpd.conf: Syntax error on line 3 of /etc/httpd/conf.modules.d/00-proxy.conf: Cannot load modules/mod_lbmethod_bybusyness.so into server: /etc/httpd/modules/mod_lbmethod_bybusyness.so: undefined symbol: ap_proxy_balancer_get_best_worker
file: /usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 75
code: 0
httpd: Syntax error on line 56 of /etc/httpd/conf/httpd.conf: Syntax error on line 3 of /etc/httpd/conf.modules.d/00-proxy.conf: Cannot load modules/mod_lbmethod_bybusyness.so into server: /etc/httpd/modules/mod_lbmethod_bybusyness.so: undefined symbol: ap_proxy_balancer_get_best_worker
[root@reflexmania ~]#
I have following apache packages installed
Code:
[root@reflexmania ~]# rpm -qa | grep http
http-parser-2.7.1-5.el7_4.x86_64
mod_http2-1.10.12-1.codeit.x86_64
libnghttp2-1.31.1-1.el7.x86_64
httpd-2.4.34-2.codeit.el7.x86_64
httpd-filesystem-2.4.34-2.codeit.el7.noarch
httpd-tools-2.4.34-2.codeit.el7.x86_64
[root@reflexmania ~]#
/etc/httpd/conf/plesk.conf.d/vhosts folder is empty on this server, i tried to regenerate apache config for one of the hosted site
Code:
[root@reflexmania vhosts]# plesk repair web reflexmania.it
Repairing web server configuration
File not found: reflexmania.it.conf ............................... [ERROR]
Repair web server configuration for domains reflexmania.it? [Y/n] Y
Repairing web server configuration for the domain reflexmania.it [2018-09-02 10:34:17.322] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/httpdmng' '--reconfigure-domain' 'reflexmania.it'] with exit code [1]
[FAILED]
- httpdmng failed: [2018-09-02 10:34:17.042] ERR [util_exec]
proc_close() failed ['/usr/local/psa/admin/bin/apache-config'
'-t'] with exit code [1]
[2018-09-02 10:34:17.218] ERR [util_exec] proc_close() failed
['/usr/local/psa/admin/bin/apache-config' '-t'] with exit code
[1]
[2018-09-02 10:34:17.220] ERR [panel] Apache config
(15358772560.73393300) generation failed: Template_Exception:
httpd: Syntax error on line 56 of /etc/httpd/conf/httpd.conf:
Syntax error on line 3 of
/etc/httpd/conf.modules.d/00-proxy.conf: Cannot load
modules/mod_lbmethod_bybusyness.so into server:
/etc/httpd/modules/mod_lbmethod_bybusyness.so: undefined
symbol: ap_proxy_balancer_get_best_worker
file:
/usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 75
code: 0
httpd: Syntax error on line 56 of /etc/httpd/conf/httpd.conf:
Syntax error on line 3 of
/etc/httpd/conf.modules.d/00-proxy.conf: Cannot load
modules/mod_lbmethod_bybusyness.so into server:
/etc/httpd/modules/mod_lbmethod_bybusyness.so: undefined
symbol: ap_proxy_balancer_get_best_worker
Error messages: 1; Warnings: 0; Errors resolved: 0
exit status 1
[root@reflexmania vhosts]#
Any idea how to fix this problem ?