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

Reinstall Plesk

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by JarkkoH, Jun 25, 2010.

  1. JarkkoH

    JarkkoH Guest

    0
     
    For some really stupid idea I was handling some settings on my server and wrote yum erase per-Mail-SPF. After clicking enter I was forced to watch with a cold sweat on my eyebrows as this command terminates all kinds of services from server along with removing SPF service. At the moment I knew I was in a trouble and that was confirmed by trying to enter into Plesk panel at https://mysite.com:8443. It just gives me 404 Not Found error. Website is still running with html and php but fe. email does not function anymore. No mails going in or out.

    Well after contacting my server hosting provider they noted that Plesk needs to be reinstalled. I could do this myself or they could do that for me next week for a fee(holidays starting in here). Well I'm ready to try reinstall Plesk panel but I'm no good with Linux and I'm afraid I'll mess up things more by trying to reinstall Plesk on my own. So I would greatly appreciate if I could get some hand in here.

    My server is running with CentOS 5.3 and I get contact to it through SSH. I haven't uninstalled any other service beside SPF that was already mentioned. It seems that my host provider has installed Plesk and left installation files to /root folder parallels_installer_v3.6.0_build100407.15_os_CentOS_5_i386 package so that's the one I should install software from. By looking to /root/parallels folder there's PSA_9.5.2 folder along with plesk.inf3, ppsmbe.inf3, products.inf3, settemplates.inf3 and sitebuilder.inf3 files. So my wild guess is that Plesk is running with version 9.5.2.

    1) First of all I suggest that I need to remove old Plesk Panel version and already found out instruction to that at Parallels Plesk Panel Guide. Do I need to remove some other services too so they wouldn't cause troubles with fresh Plesk install? I read it somewhere that there's http, mysql, cyrus and php services to be removed before installing Plesk. Do I just yum remove those?

    2) There's getenforce that give status Permissive. Do I need to setenforce 0 it?

    3) When I start ./parallels_insta* there's notion under Important that Plesk should only be istalled to clean servers. Does this mean I should reinstall whole system?!

    4) Do I need to consider any other setting or other thing by reinstalling Plesk?

    Any help with these is appreciated.
     
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,564
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Yes, it would be better to disable SELinux with getenforce. Also I recommend you just run /usr/local/psa/admin/sbin/autoinstaller and update Plesk with it or just select needed components in menu there and install them.
     
  3. JarkkoH

    JarkkoH Guest

    0
     
    Thanks for fast reply. Didn't really thought about update, that's great idea! However still struggling with problems:

    1) By trying to setenforce 0 getenforce still gives Permissive. What can I do to get it disabled?

    2) I tested autoinstaller as you noted but get warning:
    Your host name must resolve to the correct IP address of your server, unless you are using network address translation (NAT).

    Please quit Parallels Products Installer, fix the host name resolution problem, and then try installing again. You can skip the hostname check and continue the installation, however, in such a case, the installer cannot guarantee successful installation.

    Do you want to continue?

    Is this something I need to take care off and how do I do that?
     
  4. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,564
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Ok. Do not touch SELinux settings. Leave it as is.
    And check that hostname of your server is really resolvable to IP address of your server. Correct DNS if it is not correctly resolvable. Contact support team if you can't do it by yourself.
     
  5. JarkkoH

    JarkkoH Guest

    0
     
    Those DNS settings was handled by our host provider. When I ping my site (www.solidrain.com) it gives correct IP address as it was given to me on server setup. Does this mean I can safely move on with update?
     
  6. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,564
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Try to skip hostname resolution if you are sure that hostname resolution is correct.
     
  7. JarkkoH

    JarkkoH Guest

    0
     
    I did as you noted and everything seems to be running normal again. Thank you Igor very much!
     
Loading...