• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Unable to configure webserver after fresh install

VPS_Plesk

New Pleskian
Hello,

at first: Plesk make the administration of dedicated or virtual servers a lot easier. Thanks for this convenience.

I'm using Plesk 12.5 on a VPS with CentOS 7. After a fresh install of the whole OS, I get the following information: "Unable to configure a web server on the host...."

To be more specific:
Template_Exception: httpd: Syntax error on line 56 of /etc/httpd/conf/httpd.conf: Syntax error on line 27 of /etc/httpd/conf.modules.d/00-base.conf: Cannot load modules/mod_cache_disk.so into server: /etc/httpd/modules/mod_cache_disk.so: undefined symbol: ap_cache_cacheable_headers_in

file: /usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 75
code: 0

When I login via Plesk I regenerate the config files. After that the server is unreachable over ports 80, 443, 8443. Login via SSH and

Code:
/usr/local/psa/admin/sbin/httpdmng --reconfigure-all

doesn't show any error messages or something like that.
 
It is better to use

# plesk repair web

in case of Plesk 12.5 version.
 
Hello IgorG

thanks for your help.

# plesk repair web

doesn't change the state. Server is only via SSH accessible.
 
What is output of following commands:

# httpd -V
# ls -la /etc/httpd/conf/httpd.conf

?
 
Output: # ls -la /etc/httpd/conf/httpd.conf

# -rw-r--r-- 1 root root 11961 Apr 19 20:54 /etc/httpd/conf/httpd.conf

Output httpd -V:
 

Attachments

  • Unbenannt.png
    Unbenannt.png
    260.5 KB · Views: 3
Try to disable this module with

# /usr/local/psa/admin/sbin/httpd_modules_ctl -d disk_cache

and then

# /usr/local/psa/admin/sbin/httpdmng --reconfigure-all
 
I've made a fresh install with Debian 8 and Plesk and there are no problems. I don't know why Plesk doesn't work with CentOS at my provider :confused:
 
Back
Top