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

Urgent! Plesk default page shown for ALL domains!

Discussion in 'Plesk 11.x for Linux' started by RihadG, Oct 15, 2012.

  1. RihadG

    RihadG Basic Pleskian

    11
    85%
    Joined:
    Jul 10, 2012
    Messages:
    28
    Likes Received:
    0
    Hi, see the subj pls. Last thing I did was install Ruby on Rails through web installer (by ticking its checkbox), although I'm not sure it's what caused the problem. I've restarted Apache, it didn't help.

    Latest 11.x on Debian 6.
     
  2. ideance

    ideance New Pleskian

    10
    60%
    Joined:
    Aug 6, 2012
    Messages:
    9
    Likes Received:
    0
    Try to rebuild the http config files for all domains:

    #/usr/local/psa/admin/bin/httpdmng --reconfigure-all
     
  3. RihadG

    RihadG Basic Pleskian

    11
    85%
    Joined:
    Jul 10, 2012
    Messages:
    28
    Likes Received:
    0
    Thanks fot the reply, already did that while waiting for help:

    # /usr/local/psa/admin/sbin/httpdmng --reconfigure-all
    Unable to register configuration file: template=domainForwarding, domain.id=209
    Execution failed.
    Command: httpdmng
    Arguments: Array
    (
    [0] => --reconfigure-domains
    [1] => comma separated list of all our domains
    )

    Details: Empty error message from utility.


    It didn't help any domain. Just manual re-saving of configuration on a per-domain basis (and restarting Apache) seems to help. But we have like a zillion domains :(((
     
  4. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,539
    Likes Received:
    1,239
    Location:
    Novosibirsk, Russia
    Affiliate:
    https://plesk.com/?a_aid=59ae552b0731c
    Try to fix it with

    mysql> update domains set htype='none' where id=209;

    And run

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

    after that again.
     
  5. RihadG

    RihadG Basic Pleskian

    11
    85%
    Joined:
    Jul 10, 2012
    Messages:
    28
    Likes Received:
    0
    Found another solution:

    /usr/local/psa/admin/sbin/httpdmng --reconfigure-domains example.com

    i.e. just give one domain, or a comma-separated list thereof.

    I'll see which domain has domain_id=209, and just exclude it from the list.
     
  6. RihadG

    RihadG Basic Pleskian

    11
    85%
    Joined:
    Jul 10, 2012
    Messages:
    28
    Likes Received:
    0
    Thanks, but I already did it this way:

    select * from domains where id=209;

    and excluded the said domain from the list in /usr/local/psa/admin/sbin/httpdmng --reconfigure-domains

    restarted apache, and everything seems normal. Hope it didn't screw up any custom domains settings...
     
  7. RihadG

    RihadG Basic Pleskian

    11
    85%
    Joined:
    Jul 10, 2012
    Messages:
    28
    Likes Received:
    0
    DNS got screwed up in the process, as the Plesk box is normally the master DNS for all domains. The Plesk server IP got added as an A record for each domain, even though it's not always the case... So some domains now have 2 conflicting A records...
     
  8. RihadG

    RihadG Basic Pleskian

    11
    85%
    Joined:
    Jul 10, 2012
    Messages:
    28
    Likes Received:
    0
    This happens again!!! All domains show up the default page!!! Why the hell does it happen? I did the /usr/local/psa/admin/sbin/httpdmng --reconfigure-all, restarted Apache, still same ole! Should I wait a bit?
     
  9. RihadG

    RihadG Basic Pleskian

    11
    85%
    Joined:
    Jul 10, 2012
    Messages:
    28
    Likes Received:
    0
    Ok seems like the page got cached, Ctrl+F5 showed the normal page after reconfigure-all.
    That's not funny, guys! Hope you'll fix it.
     
    Last edited: Dec 3, 2012
  10. RihadG

    RihadG Basic Pleskian

    11
    85%
    Joined:
    Jul 10, 2012
    Messages:
    28
    Likes Received:
    0
    Come on guys, this isn't serious. When will you fix it? This is paid software, BTW... :(
     
    Last edited by a moderator: Jan 8, 2013
  11. RihadG

    RihadG Basic Pleskian

    11
    85%
    Joined:
    Jul 10, 2012
    Messages:
    28
    Likes Received:
    0
    Why don't you fix this? How much else must we wait?
     
  12. RihadG

    RihadG Basic Pleskian

    11
    85%
    Joined:
    Jul 10, 2012
    Messages:
    28
    Likes Received:
    0
    For someone who keeps consistently getting these errors once in a while, this simple script may help:
    www.example.com is any website hosted on your plesk machine that has a custom index page.
    Put it in a cronjob to run every 10 minutes, chmod +x the file, and that's it.
     
Loading...