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 Domains Displaying Apache 2 Default Page

Discussion in 'Plesk 11.x for Linux' started by Mkokes, Jul 30, 2012.

  1. Mkokes

    Mkokes Guest

    0
     
    Currently all domains within my Plesk installation are showing the default Apache 2 page. We had upgraded from plesk 9 to 11 and were running fine, but I believe a tech made a change to our config and now we're receiving default pages for all of our domains, when I try to log into the plesk control panel I recieve this message.

    I've tried to run...

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

    With no luck, I've also tried...

    bootstrapper.sh repair

    with no luck as well

    and also /usr/local/psa/admin/sbin/httpdmng --reconfigure-all

    Can anyone point me in the right direction for where I should be looking?
     
  2. Nikolay.

    Nikolay. Silver Pleskian

    17
    35%
    Joined:
    Jul 1, 2012
    Messages:
    844
    Likes Received:
    2
    The stack trace is a red herring. Better to use E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED error reporting for admin PHP.

    If you're into that, do
    # /usr/local/psa/admin/sbin/httpdmng --reconfigure-all
    and then check configuration files consistency. Make sure config zz010_psa_httpd.conf in Apache conf.d includes configs like *_server.include and psa/admin/conf/vhosts_bootstrap.conf*. Then make sure that proper vhost configs are included from /usr/local/psa/admin/conf/vhosts_bootstrap.conf and they are correct as well.

    Or address this issue to support.
     
  3. abdi

    abdi Platinum Pleskian

    31
    18%
    Joined:
    May 14, 2006
    Messages:
    2,913
    Likes Received:
    60
    And if there any errors while running,

    /usr/local/psa/admin/sbin/httpdmng --reconfigure-all

    Let's know of them ...
     
  4. Mkokes

    Mkokes Guest

    0
     
    Here is the result of running /usr/local/psa/admin/sbin/httpdmng --reconfigure-all

    I had to trim a few of the lines since the output is too large for a forum post

     
  5. Mkokes

    Mkokes Guest

    0
     
    My zz010_psa_httpd.conf file only contains one entry with

    ServerName (Name of My Host)

    How would I go about rebuilding it?
     
  6. abdi

    abdi Platinum Pleskian

    31
    18%
    Joined:
    May 14, 2006
    Messages:
    2,913
    Likes Received:
    60
    Make sure your /etc/my.cnf does not contain quick mysql timeouts if it does, please increase it and try again. Otherwise, if your my.cnf was already in good shape, then please try by bootstrapper repairing with

    /usr/local/psa/bootstrapper/pp11.0.9-bootstrapper/bootstrapper.sh repair
     
  7. Nikolay.

    Nikolay. Silver Pleskian

    17
    35%
    Joined:
    Jul 1, 2012
    Messages:
    844
    Likes Received:
    2
    Bootstrapper won't help.

    First make Plesk error reporting less verbose - replace error_reporting value in /usr/local/psa/admin/conf/php.ini with the one from my previous post. Then do '/etc/init.d/sw-cp-server restart'.

    To fix your problem just remove zz010_psa_httpd.conf and call 'httpdmng --reconfigure-all'. If this doesn't help, post messages that appeared in /var/log/sw-cp-server/error_log.
     
  8. jekyll807

    jekyll807 New Pleskian

    10
    35%
    Joined:
    Nov 16, 2012
    Messages:
    7
    Likes Received:
    0
    Same problem empty error Apache web server config files

    Just upgraded to 11.0.9 from 10.4.4 and all vhost configurations are shot and cannot be reconfigured:

    /usr/local/psa/admin/sbin/httpdmng --reconfigure-all
    2012-11-16T15:47:04-05:00 ERR (3): Apache config (13530987870.74476700) generation failed:

    Details: Empty error message from utility.

    same error shows in /usr/local/psa/admin/logs/panel.log
    again no details.

    mysql> SELECT * FROM Configurations WHERE status!='ok';

    lists all rows of attempted configurations like so:

    | id | name | file | version | objectType | objectId | status | description | serviceNodeId | active |
    +------+--------------------+------+----------------------+------------+----------+--------+-------------+---------------+--------+
    | 1920 | domainVhost | | 13530533250.94273800 | domain | 512 | error | | 1 | false |
    | 1921 | domainWebmailHorde | | 13530533250.94273800 | domain | 512 | error | | 1 | false |
    | 1922 | domainVhost | | 13530733310.99607700 | domain | 5728 | error | | 1 | false |
    | 1923 | domainWebmailHorde | | 13530733310.99607700 | domain | 5728 | error | | 1 | false |
    |


    as you can see, again no detail in the description column


    Does anyone have a solution for this? I have looked at all of the other KB articles I could find several times..

    Thanks
     
Loading...