• 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

bootstrapper.sh repair broke sites and now can't connect to Plesk control panel

dankoni

New Pleskian
I was getting an error in Plesk related to New files of configuration for Apache web server were not built due to errors in configuration templates

So I ran the bootstrapper repair command /usr/local/psa/bootstrapper/pp11.0.9-bootstrapper/bootstrapper.sh repair (/usr/local/psa/bootstrapper/pp11.0.9-bootstrapper/bootstrapper.sh repair)

Which displayed the following output:

Changing shell for popuser.
Shell not changed.
Changing shell for mhandlers-user.
Shell not changed.
===> Preparing upgrade
-- Warning: Skipping the data of table mysql.event. Specify the --events option explicitly.
Stopping psa... done
psa is stopped
Stopping psa... done
-- Warning: Skipping the data of table mysql.event. Specify the --events option explicitly.
===> Cumulative database upgrade has been started
===> Upgrade completed.
2014-01-07T06:31:45+07:00 ERR (3): Apache config (13890511020.22718500) generation failed: httpd: Syntax error on line 221 of /etc/httpd/conf/httpd.conf: Syntax error on line 7 of /etc/httpd/conf.d/zz010_psa_httpd.conf: Syntax error on line 159 of /usr/local/psa/admin/conf/vhosts_bootstrap.conf: Could not open configuration file /var/www/vhosts/dev.engine.redlineadvantage.com/conf/13888410680.87992700_httpd.include: No such file or directory

httpd: Syntax error on line 221 of /etc/httpd/conf/httpd.conf: Syntax error on line 7 of /etc/httpd/conf.d/zz010_psa_httpd.conf: Syntax error on line 159 of /usr/local/psa/admin/conf/vhosts_bootstrap.conf: Could not open configuration file /var/www/vhosts/dev.engine.redlineadvantage.com/conf/13888410680.87992700_httpd.include: No such file or directory

mknod: `/var/www/vhosts/chroot/dev/null': File exists
===> Cumulative upgrade has been started
===> Upgrade completed.


Now all sites are displaying the Apache 2 Test Page and attempting to connect to the Plesk control panel is returning ERR_CONNECTION_REFUSED


Please help ASAP.
 
For the good of the community, could you please share how you fixed it? Did you run the vhost re-generator:

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