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

restoring plesk control panel

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by 2dareis2do, Feb 4, 2009.

  1. 2dareis2do

    2dareis2do Guest

    0
     
    I now get a 500 - Internal Server Error when trying to access plesk.

    I recently made the mistake of deleting the contents of:

    /usr/local/psa/tmp

    I am now getting the following error:

    Starting Plesk... packagemng: Unable to create 'dirty' flag (/usr/local/psa/tmp/components_dirty_flag): Permission denied
    System error 13: Permission denied
    packagemng: Unable to create 'dirty' flag (/usr/local/psa/tmp/components_dirty_flag): Permission denied

    I have also noticed that when I login to webmail I get the following error:

    Horde_Block_kronolith_month not found.

    I have tried reinstalling imp and kronolith but it does not seem to have helped.

    Any help would be appreciated as I now get a 500 - Internal Server Error when trying to access plesk.
     
    Last edited by a moderator: Feb 5, 2009
  2. 2dareis2do

    2dareis2do Guest

    0
     
    Ok, Thought it would be quicker to re-install plesk than wait for an answer here. Searched for a while to find out how to do that though and so thought I would post my experience.

    What I did was to remove psa using yum:

    yum remove psa or more exactly:

    yum remove psa-9.0.1-cos5.build90090127.18

    this removes plesk and all of its dependencies, (quite a few).

    Rather than getting a 500 error I get a 404 (page not found).

    Interestingly, during the removal, I also see the following error quite a few times:

    packagemng: Unable to create 'dirty' flag (/usr/local/psa/tmp/components_dirty_flag): Permission denied
    System error 13: Permission denied
    plus:

    /var/tmp/rpm-tmp.69776: line 2102: /usr/local/psa/admin/bin/websrvmng: No such file or directory

    I then use the autoinstaller utility to restore plesk. This is usually located in the directory /usr/local/psa/admin/bin/

    ./autoinstaller

    After installing plesk, the 404 error is replaced with a login screen. However it seems that there is a problem with apache starting:

    I found this:

    After Atmail Webmail Light 1.0 is uninstalled from Parallels Plesk Panel server, Apache web server might not restart correctly, displaying the following or similar error:

    Include directory '/etc/psa/webmail/atmail/conf.d' not found

    To resolve this issue, run the following command in console:

    ${PRODUCT_ROOT_D}/admin/bin/webmailmng --remove --name=atmail

    http://medusa.ozservers.com.au/parallels/Plesk/PPP9/plesk-9.0.0-for-rpm-based-os.html

    Once this was done everything was working again. Hooray!
     
Loading...