• 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!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

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