• 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

All apache request goes to mainpage

Webroy

Regular Pleskian
After a restore on a plesk 11 server all my domain request go to the default domainpage, not te subscriptions....

I tried bootstrapper.sh repair that did not work and when i trie reconfigure webserv i get this error:

/usr/local/psa/admin/sbin/websrvmng -a -v


websrvmng: /usr/local/psa/admin/sbin/httpdmng execution failed:
PHP Fatal error: Class name must be a valid object or a string in /usr/local/psa/admin/plib/Template/Scheme/Webserver.php on line 62
websrvmng: /usr/local/psa/admin/sbin/httpdmng execution failed:
PHP Fatal error: Class name must be a valid object or a string in /usr/local/psa/admin/plib/Template/Scheme/Webserver.php on line 62

Any one a idea?
 
What do you mean exactly "I tried bootstrapper.sh repair that did not work"?
 
That after i run bootstrapper.sh repair all apache request still went to the default domainpage instead off domain.nl

Mostly bootstrapper.sh repair repairs some stuff but not in this case..
 
On Plesk 11 you use /usr/local/psa/admin/sbin/httpdmng --reconfigure-all and not websrvmng as stated.
 
After use /usr/local/psa/admin/sbin/httpdmng --reconfigure-all

I get this error:

PHP Fatal error: Class 'Template_Scheme' not found in /opt/psa/admin/plib/api-common/Httpdmng.php on line 150
Execution failed.


how to solve?
 
Hello Simpels,

Please try the instructions on the URL below:
http://forum.parallels.com/showthread.php?t=258633

If that fails to help, I would suggest (if you dont have many domains) you repair 1 at a time with.

/usr/local/psa/admin/sbin/httpdmng --reconfigure-domain domain.com OR
/usr/local/psa/admin/sbin/httpdmng --reconfigure-domains domain1.com,domain2.com

If the above works for you, I can get you a script that does it in a loop for all domains in /var/www/vhosts
 
Did you upgrade recently? Most likely as it sounds, its as a result of missing plesk php files. You could try again re-running the autoinstaller to upgrade plesk.
 
after return I get this message

/opt/psa/admin/sbin/apache-config: line 190: /usr/sbin/apache2: No such file or directory
and in de plesk panel I get

Internal error: Can't manage web features: get_apache_path: apache executable not found

reinstall apache? Or are there config-files in plesk?

how to connect apache2 to plesk?
 
Back
Top