• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Plesk won´t start any more

H

hunets

Guest
Hey,

I got a problem with my plesk. If I wan´t to logon to Plesk 9.5 I always jump to an Virtuozzo container. I can´t change to plesk.

If I checkout my services the Plesk Service is not running and I´m not able to start it. There are no options for start etc.

What can I do? My provider has no answer for me ...

Thanks a lot

U.H.
 
I have tried it out ...

I have tried it out - but I only got psa.rpmsave

here the output:

s15404817:~ # /etc/init.d/psa.rpmsave start
Starting xinetd service... done
Starting named service... done
Starting mysql service... done
Starting psa-spamassassin service... not installed
Plesk: Starting Mail Server... not installed
/etc/init.d/psa.rpmsave: line 278: /usr/local/psa/admin/sbin/websrvmng: No such file or directory
Starting Plesk... /etc/init.d/psa.rpmsave: line 303: /usr/local/psa/admin/bin/packagemng: No such file or directory
done
s15404817:~ #

it wont´t work either - can you see anything?
 
You should have /etc/init.d/psa but not /etc/init.d/psa.rpmsave !
It looks like there are a lot of missing important Plesk files like /usr/local/psa/admin/sbin/websrvmng and /usr/local/psa/admin/bin/packagemng
Are you sure that Plesk is really installed on this server?
 
my last login on plesk was 2 or 3 weeks ago ...

I didn´t do anything, the only thing I made was the update for my installed version. Maybe that´s the cause for my problems.

but how can I re-install plesk on my system?!
 
Seems like plesk upgrade fails. Possible it helps:
/usr/local/psa/admin/sbin/autoinstaller --select-release-current --upgrade-installed-components
 
i have entered the command and here is the output ... seems that all infos about plesk have been deleted

s15404817:~ # cd /usr/local/psa/admin/sbin/
s15404817:/usr/local/psa/admin/sbin # ./autoinstaller --select-release-current --upgrade-installed-components
File downloading products.inf3: 100% was finished.
File downloading plesk.inf3: 10%..20%..30%..40%..50%..60%..70%..80%..90%..100% was finished.
File downloading ppsmbe.inf3: 10%..20%..31%..41%..51%..62%..72%..82%..93%..100% was finished.
File downloading sitebuilder.inf3: 10%..22%..35%..48%..61%..74%..87%..99%..100% was finished.
File downloading setemplates.inf3: 19%..44%..69%..94%..100% was finished.
File downloading pp-sitebuilder.inf3: 28%..65%..100% was finished.
File downloading billing.inf3: 15%..34%..54%..73%..93%..100% was finished.
Checking for installed packages...
ERROR: The product with ID plesk is not installed on the server

is there a chance to fix the problem and make the reinstall?
 
Check output of following command:

# cat /usr/local/psa/version

It looks like that it is empty. I don't know your OS and Plesk version but there is should be something like:
# cat /usr/local/psa/version
10.0.1 CentOS 5 109101029.18
 
>is there a chance to fix the problem and make the reinstall?

There is a chance, but it hard to be sure that all be OK.
Note, steps below can damage plesk with power. If U have server backup it would be very nice.

U have empty /usr/local/psa/version, so installation process can not detect installed panel version. Need to help him.
1. Need to define your actial panel version via 'rpm -q psa' command.
-------------------------------------------------------------
# rpm -q psa
psa-9.5.4-suse11.1.build95101209.08
#
-------------------------------------------------------------

2. restore version file from output of prev. step:
-------------------------------------------------------------
echo '9.5.4 SuSE 11.1 95101209.08 ' > /usr/local/psa/version
-------------------------------------------------------------

3. perform upgrade:
-------------------------------------------------------------
/usr/local/psa/admin/sbin/autoinstaller --select-release-current --upgrade-installed-components
-------------------------------------------------------------
 
I got a version.rpmsave

here the information:
s15404817:/usr/local/psa # cat version.rpmsave
9.5.2 SuSE 10.3 95100504.15

i have renamed it to version ... and than I check out the steps ...

Step 1:
rpm -q psa
package psa is not installed

Step 2:
I put the Info from the saved file in the new version file

Step 3:
s15404817:/usr/local/psa # /usr/local/psa/admin/sbin/autoinstaller --select-release-current --upgrade-installed-components
File downloading products.inf3: 100% was finished.
File downloading plesk.inf3: 10%..20%..30%..40%..50%..60%..70%..80%..90%..100% was finished.
File downloading ppsmbe.inf3: 18%..28%..39%..49%..59%..70%..80%..90%..100% was finished.
File downloading sitebuilder.inf3: 10%..25%..38%..51%..64%..77%..89%..100% was finished.
File downloading setemplates.inf3: 19%..44%..69%..94%..100% was finished.
File downloading pp-sitebuilder.inf3: 28%..65%..100% was finished.
File downloading billing.inf3: 15%..34%..54%..73%..93%..100% was finished.
Checking for installed packages...
ERROR: The product with ID plesk is not installed on the server

do you think I can make the install via YAST?
 
What is the output of following command:
# mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa -e "select * from misc where param='version'"
 
U get huge troubles.

More correct to install panel not via YAST, but autoinstaller.
As far as U have not psa installed, need to execute autoinstaller with parameters
--select-product-id plesk --select-release-id PLESK_9_5_4 --install-component base

It should fail, cause there are not psa package, but there are its database.
After failure need to investigate problem, fix it ant go on.
 
here is the mysql output

~ # mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa -e "select * from misc where param='version'"
+---------+------+
| param | val |
+---------+------+
| version | 0952 |
+---------+------+
 
hey fogelf

it seems to work ... but after a few minutes it stopped with this output:

warning: /usr/local/psa/version saved as /usr/local/psa/version.rpmorig
Trying to register service xinetd... done
Setting the default locale
The default locale is set to en-US (ENGLISH, UNITED STATES)
Setting the services information on VZ mode.


===> Installing rbash
Checking that /bin/rbash registered as login shell...
/bin/rbash is already registered as login shell

===> Installing psa database
Trying to start service mysql... done
Trying to define valid mysql credentials... Trying to establish test connection... connected
done
Trying to start service mysql... done
Trying to establish test connection... connected
done
Trying to check psa database... Trying to find psa database... version is 0952
DATABASE ERROR!!!
Previous product version is , but previous database
version is 0952. In most of cases it is result of
previous upgrade try failure. Please, restore previous version
from backup, and try again or contact technical support.

ERROR while trying to check database version
Check the error reason(see log file: /tmp/psa_9.5.4_suse10.3.build95101209.05_installing.110118.18.02.log), fix and try again

Aborting...

error: %post(psa-9.5.4-suse10.3.build95101209.05.x86_64) scriptlet failed, exit status 1
Trying to install PAM module... done
ERROR: An error occurred during installation of packages.
Attention! Your software might be inoperable.
Please, contact product technical support.
 
Ok. Try to do
1. echo '9.5.2 SuSE 11.1 95101209.08 ' > /usr/local/psa/version
2. /usr/local/psa/admin/sbin/autoinstaller --select-product-id plesk --select-release-id PLESK_9_5_4 --install-component base
 
it work´s again!!!!

thank you fogelf - thank you IgorG!!!!!!!
 
having trouble accessing Plesk...

I tried using the same steps.. but got stuck.. here is on screen copy paste:


[root@myserver psa]# cat /usr/local/psa/version 10.2.0 CentOS 5 102100709.06
[root@myserver psa]# echo '10.2.0 CentOS 5 102100709.06' > /usr/local/psa/version [root@myserver psa]# /usr/local/psa/admin/sbin/autoinstaller --select-product-id plesk --select-release-id PLESK_10_0_0 --install-component base
File downloading products.inf3: 100% was finished.
File downloading plesk.inf3: 10%..20%..30%..40%..50%..60%..70%..80%..90%..100% was finished.
File downloading ppsmbe.inf3: 18%..28%..39%..59%..70%..80%..90%..100% was finished.
File downloading sitebuilder.inf3: 10%..22%..35%..48%..74%..87%..100% was finished.
File downloading sso.inf3: 10%..24%..37%..64%..78%..91%..100% was finished.
File downloading setemplates.inf3: 19%..44%..69%..100% was finished.
File downloading pp-sitebuilder.inf3: 13%..30%..47%..82%..99%..100% was finished.
File downloading billing.inf3: 21%..34%..46%..58%..71%..83%..100% was finished.
Checking for installed packages...
File downloading PSA_10.0.0/plesk-10.0.0-cos5-x86_64.inf3: 10%..20%..30%..40%..50%..60%..70%..80%..90%..100% was finished.
File downloading SITEBUILDER_5.0.0/sitebuilder-5.0.0-rhall-all.inf3: 64%..100% was finished.
File downloading BILLING_7.0.0/billing-7.0.0-rhall-all.inf3: 73%..100% was finished.
Detecting installed product components.
Retrieving information about the installed packages...
File downloading BILLING_7.0.0/dist-rpm-RedHat-all-all/build-7.0.0-rhall-all.hdr.gz: 10%..20%..30%..40%..50%..60%..70%..80%..90%..100% was finished.
File downloading SITEBUILDER_5.0.0/dist-rpm-RedHat-all-all/build-5.0.0-rhall-all.hdr.gz: 10%..20%..30%..40%..50%..60%..70%..80%..90%..100% was finished.
File downloading BILLING_7.0.0/update-rpm-RedHat-all-all/update-7.0.0-rhall-all.hdr.gz: 100% was finished.
File downloading BILLING_7.0.0/thirdparty-rpm-RedHat-all-all/thirdparty-7.0.0-rhall-all.hdr.gz: 100% was finished.
File downloading SITEBUILDER_5.0.0/update-rpm-RedHat-all-all/update-5.0.0-rhall-all.hdr.gz: 100% was finished.
File downloading PSA_10.0.0/dist-rpm-CentOS-5-x86_64/build-10.0.0-cos5-x86_64.hdr.gz: 10%..20%..30%..40%..50%..60%..70%..80%..90%..100% was finished.
File downloading PSA_10.0.0/update-rpm-CentOS-5-x86_64/update-10.0.0-cos5-x86_64.hdr.gz: 10%..20%..30%..40%..50%..60%..70%..80%..90%..100% was finished.
File downloading PSA_10.0.0/thirdparty-rpm-CentOS-5-x86_64/thirdparty-10.0.0-cos5-x86_64.hdr.gz: 12%..22%..32%..42%..51%..61%..71%..81%..91%..100% was finished.
File downloading SITEBUILDER_5.0.0/thirdparty-rpm-RedHat-all-all/thirdparty-5.0.0-rhall-all.hdr.gz: 100% was finished.
Determining the packages that need to be installed.
File downloading PSA_10.0.0/dist-rpm-CentOS-5-x86_64/base/plesk-core-10.8.0-cos5.build108101004.13.x86_64.rpm: was skipped because of md5 checksum match.
File downloading PSA_10.0.0/dist-rpm-CentOS-5-x86_64/base/plesk-l10n-10.8.0-cos5.build108100927.15.noarch.rpm: was skipped because of md5 checksum match.
File downloading PSA_10.0.0/dist-rpm-CentOS-5-x86_64/base/plesk-skins-10.8.0-10092415.noarch.rpm: was skipped because of md5 checksum match.
File downloading PSA_10.0.0/dist-rpm-CentOS-5-x86_64/base/psa-10.0.0-cos5.build108101004.13.x86_64.rpm: was skipped because of md5 checksum match.
File downloading PSA_10.0.0/dist-rpm-CentOS-5-x86_64/base/psa-mod-fcgid-configurator-2.0.0-cos5.build108100921.15.x86_64.rpm: was skipped because of md5 checksum match.
File downloading PSA_10.0.0/dist-rpm-CentOS-5-x86_64/base/psa-mod_fcgid-2.3.5-10092115.x86_64.rpm: was skipped because of md5 checksum match.
File downloading PSA_10.0.0/dist-rpm-CentOS-5-x86_64/base/psa-updates-10.0.0-cos5.build108100921.15.noarch.rpm: was skipped because of md5 checksum match.
File downloading PSA_10.0.0/dist-rpm-CentOS-5-x86_64/base/psa-vhost-10.8.0-cos5.build108100924.19.noarch.rpm: was skipped because of md5 checksum match.
File downloading PSA_10.0.0/update-rpm-CentOS-5-x86_64/webalizer-2.01_10-30.1.x86_64.rpm: was skipped because of md5 checksum match.
File downloading SITEBUILDER_5.0.0/dist-rpm-RedHat-all-all/base/pp-sitebuilder-5.0.0-33387.10092415.noarch.rpm: was skipped because of md5 checksum match.
File downloading PSA_10.0.0/update-rpm-CentOS-5-x86_64/gd-2.0.33-9.4.el5_4.2.x86_64.rpm: was skipped because of md5 checksum match.
File downloading SITEBUILDER_5.0.0/dist-rpm-RedHat-all-all/base/pp-sitebuilder-skins-5.0.0-687.10092415.noarch.rpm: was skipped because of md5 checksum match.
File downloading SITEBUILDER_5.0.0/dist-rpm-RedHat-all-all/base/pp-sitebuilder-default-templates-5.0.0-33387.10092415.noarch.rpm: was skipped because of md5 checksum match.
File downloading PSA_10.0.0/update-rpm-CentOS-5-x86_64/libXpm-3.5.5-3.x86_64.rpm: was skipped because of md5 checksum match.
File downloading PSA_10.0.0/update-rpm-CentOS-5-x86_64/pkgconfig-0.21-2.el5.x86_64.rpm: was skipped because of md5 checksum match.
Starting installation of packages
Installing the package plesk-core-10.8.0-cos5.build108101004.13.x86_64

Trying to start service mysqld... done
Checking for the system groups and users necessary for Apache...
Checking for the group 'apache'...
Group 'apache' already exists

Checking for the user 'apache'...
User 'apache' already exists


===> Checking for the necessary system accounts
Checking for the system groups and users necessary for MySQL...
Checking for the group 'mysql'...
Group 'mysql' already exists

Checking for the user 'mysql'...
User 'mysql' already exists

Checking for the system groups and users necessary for admin server...
Checking for the group 'psaadm'...
Group 'psaadm' already exists

Checking for the user 'psaadm'...
User 'psaadm' already exists

Checking for the group 'psaserv'...
Group 'psaserv' already exists

Checking for the group 'psaserv'...
Trying to add supplementary group 'psaserv' for user 'apache'... already there
Checking for the group 'psaserv'...
Trying to add supplementary group 'psaserv' for user 'psaftp'... already there
Checking for the group 'psaserv'...
Trying to add supplementary group 'psaserv' for user 'psaadm'... already there
Checking for the group 'psacln'...
Group 'psacln' already exists

Unable to upgrade. You have 10.2.0 version installed,
but upgrader is incompatible with this version.
To install new psa copy, please move '/usr/local/psa'
to another place manually.
error: %pre(plesk-core-10.8.0-cos5.build108101004.13.x86_64) scriptlet failed, exit status 1
error: install: %pre scriptlet failed (2), skipping plesk-core-10.8.0-cos5.build108101004.13
ERROR: An error occurred during installation of packages.
Attention! Your software might be inoperable.
Please, contact product technical support.




Can u please help on this matter?
 
>[root@myserver psa]# echo '10.2.0 CentOS 5 102100709.06' > /usr/local/psa/version

10.2.0, is it correct prev. version??? 1st of all detect prev. version. Execute mysql query:
[root@a10-52-45-181 ~]# mysql -uadmin -p`cat /etc/psa/.psa.shadow` -D psa -e 'select version_info from upgrade_history'
+-------------------------------+
| version_info |
+-------------------------------+
| 10.1.1 CentOS 5 1010110120.18 |
+-------------------------------+
[root@a10-52-45-181 ~]#
Take last value and copy it in /usr/local/psa/version. Then try to upgrade.
 
Unable to upgrade. You have 10.2.0 version installed,

It looks like you have Parallels Small Business Panel 10.2 version installed there and you have tried upgrade it to Plesk. It is impossible because it is different products. Plesk 10.2 version is not released yet.
 
how to solve

Ooh.. So what can I do to restore my Parallels Business Panel?? Can you please guide it.

Thanks :)
 
Back
Top