1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

All apache request goes to mainpage

Discussion in 'Plesk 11.x for Linux' started by Webroy, Aug 21, 2012.

  1. Webroy

    Webroy Regular Pleskian

    26
    23%
    Joined:
    Oct 29, 2008
    Messages:
    156
    Likes Received:
    0
    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?
     
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,543
    Likes Received:
    1,238
    Location:
    Novosibirsk, Russia
    What do you mean exactly "I tried bootstrapper.sh repair that did not work"?
     
  3. Webroy

    Webroy Regular Pleskian

    26
    23%
    Joined:
    Oct 29, 2008
    Messages:
    156
    Likes Received:
    0
    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..
     
  4. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,543
    Likes Received:
    1,238
    Location:
    Novosibirsk, Russia
  5. abdi

    abdi Platinum Pleskian

    31
    18%
    Joined:
    May 14, 2006
    Messages:
    2,913
    Likes Received:
    60
    On Plesk 11 you use /usr/local/psa/admin/sbin/httpdmng --reconfigure-all and not websrvmng as stated.
     
  6. SimpelS

    SimpelS New Pleskian

    14
     
    Joined:
    Oct 2, 2012
    Messages:
    5
    Likes Received:
    0
    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?
     
  7. abdi

    abdi Platinum Pleskian

    31
    18%
    Joined:
    May 14, 2006
    Messages:
    2,913
    Likes Received:
    60
    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
     
  8. SimpelS

    SimpelS New Pleskian

    14
     
    Joined:
    Oct 2, 2012
    Messages:
    5
    Likes Received:
    0
    I tried,

    same error, I always get:

    Class 'Template_Scheme' not found
     
  9. abdi

    abdi Platinum Pleskian

    31
    18%
    Joined:
    May 14, 2006
    Messages:
    2,913
    Likes Received:
    60
    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.
     
  10. SimpelS

    SimpelS New Pleskian

    14
     
    Joined:
    Oct 2, 2012
    Messages:
    5
    Likes Received:
    0
    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?
     
Loading...