• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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