• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • 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.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue Remove old warnings (Apache/server configuration warnings)

Paul Larson

Basic Pleskian
It's Wednesday, and Plesk is still showing Tuesday warnings. Running 'http -t' doesn't report current errors.

Will these errors remove themselves after a particular duration?

"New configuration files for the Apache web server were not created due to the errors in configuration templates: [Tue Jan 28 12:05:56.353945 2020] [so:warn] [pid 21198:tid 139656313944192] AH01574: module unique_id_module is already loaded, skipping httpd: Syntax error on line 353 of /etc/httpd/conf/httpd.conf: Syntax error on line 13 of /etc/httpd/conf.d/00_mod_security.conf: No matches for the wildcard '00*exclude.conf' in '/etc/httpd/modsecurity.d', failing (use IncludeOptional if required) . Detailed error descriptions were sent to you by email. Please resolve the issues and click here to generate broken configuration files once again or here to generate all configuration files. See the details in Configuration Troubleshooter"
 

Attachments

  • 96O2igpQ.png
    96O2igpQ.png
    121.9 KB · Views: 6
Create directory for temporary used files:

Code:
# mkdir -p /tmp/err_domain

Create file with other affected domains:

Code:
# MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysql -uadmin psa -Ne"select name from domains where id in (select objectId from Configurations where status<>'ok')" > /tmp/err_domain/domainlist.txt

Reconfigure other affected domains:

Code:
# cat /tmp/err_domain/domainlist.txt | while read domain; do /usr/local/psa/admin/bin/httpdmng --reconfigure-domain $domain; echo "$domain - success"; done

# /usr/local/psa/admin/bin/httpdmng --reconfigure-server
 
Back
Top