• 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

[urgent] - Plesk won't start, not much info to go on

T

thedust2010

Guest
I recently updated Plesk from 8.3 to 8.6 and now after the upgrade everything is working fine except for Plesk itself:

Code:
[root@chiprod3 ~]# /etc/rc.d/init.d/psa status
psa is stopped
[root@chiprod3 ~]# /etc/init.d/psa start
Starting xinetd service... done
Starting named service... done
Starting mysqld service... done
Starting qmail service... done
Starting courier-imap service... done
Starting postgresql service... done
Starting psa-spamassassin service... done
Starting Plesk... failed
[root@chiprod3 ~]#

I've checked httpd error_log plus /var/log/messages and nothing interesting there. All Web sites are working fine but the Plesk control panel is gone!

When I enter "yum info psa" I see there are 3 different versions installed: 8.3, 8.4 and 8.6. Is this problematic? Could it prevent psa from running properly?

I am thinking about running the following:
Code:
rpm -e --nodeps psa
yum install psa

But, is this safe? I'm not entirely sure.

Anyone have ideas? I really don't want to execute "yum remove psa" because it contains 72 dependencies. If I do a total re-installation of Plesk am I at risk of losing all sorts of data?
 
Same issue here. But I've issued an upgrade from 8.3 to 8.4.

[root@localhost ~]# yum info psa
Setting up repositories
update 100% |=========================| 951 B 00:00
base 100% |=========================| 1.1 kB 00:00
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
Installed Packages
Name : psa
Arch : i586
Version: 8.4.0
Release: cos4.build84080425.21
Size : 52 M
Repo : installed
Summary: Plesk Interface and Utilities

Description:
Plesk Server Administrator (PSA) Interface and Utilities are used to provide a
web-based interface for setup and control of a complete virtual hosting
environment on one server. It can be used to control the use of qmail,
proftp, apache, bind, as well as other packages: mysql, frontpage, phpmyadmin,
imp-webmail, and webalizer. It offers three levels of administration: Admin
(owner/operator of the server), Client (owner of domains), and Domain.

Important!!! After rpm is installed, run web-browser with address
https://<hostname>:8443/ and complete the initial setup.


Name : psa
Arch : i586
Version: 8.3.0
Release: cos4.build83071218.20
Size : 71 M
Repo : installed
Summary: Plesk Interface and Utilities

Description:
Plesk Server Administrator (PSA) Interface and Utilities are used to provide a
web-based interface for setup and control of a complete virtual hosting
environment on one server. It can be used to control the use of qmail,
proftp, apache, bind, as well as other packages: mysql, frontpage, phpmyadmin,
imp-webmail, and webalizer. It offers three levels of administration: Admin
(owner/operator of the server), Client (owner of domains), and Domain.

Important!!! After rpm is installed, run web-browser with address
https://<hostname>:8443/ and complete the initial setup.

[root@localhost conf]# /etc/init.d/psa start
Starting xinetd service... done
Starting named service... done
Starting mysqld service... done
Starting qmail service... done
Starting courier-imap service... done
Starting postgresql service... done
Starting psa-spamassassin service... done
Starting Plesk... done
Starting drwebd service... done
[root@vzlinux2 conf]# /etc/init.d/psa status
psa dead but subsys locked

I've had this issue before but was solved by Swsoft. I sent a support request and haven't got any updates from them.
 
Also, I forgot to mention that the upgrade you did wasn't really successful.
 
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'

I found this in /tmp/psa_8.6.0_cos4.build86080722.02_problems.080815.17.11.log:

Code:
Security-Enhanced Linux is activated with custom policy, and no Plesk specific rules were found. This may cause problems in Plesk functioning.

And found this log of the failed upgrade:

Code:
START psa-8.6.0-cos4.build86080722.02 upgrading AT Fri Aug 15 17:11:20 CDT 2008
 Trying to register service xinetd...  using /sbin/chkconfig
done
Setting the default locale
The default locale is set to en-US (ENGLISH, UNITED STATES)
***** upgrade problem report *****
Security-Enhanced Linux is activated with custom policy, and no Plesk specific rules were found. This may cause problems in Plesk functioning.



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

 Trying to restart service mysqld... mysqld (pid 24770) is running...
done
===> Installing psa database
 Trying to start MySQL server... mysqld (pid 24770) is running...
 Trying to define valid mysql credentials...  Trying to establish test connection... connected
done
 Trying to start MySQL server... mysqld (pid 24770 7888) is running...
 Trying to establish test connection... ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

ERROR while trying to establish test connection

Aborting...

STOP psa-8.6.0-cos4.build86080722.02 upgrading AT Fri Aug 15 17:11:21 CDT 2008

Any clues? I use Atomic Rocket Turtle repositories when using "yum update".
 
Hello thedust2010 ,

What is causing the problem is still to be digged out

As se linux is known to cause trouble ... try the command setenforce 0
from the log's mysqld is not beeing connected .You have to chek its status
try ..you can logg in to the mysql db ..

Any way ..dont do a rpm -e psa
 
Again restart the mysqld

by /etc/init.d/mysqld restart

try another update
 
I have tried restarting mysqld and disabling SELinux completely (also trying to set it to permissive as you've suggested) but still psa will not start. I saw another thread that seems to be the same problem and they found something that works: http://forum.swsoft.com/showthread.php?t=54210

Here's the bit they recommend doing:

cd /root/psa/PSA_8.6.0/dist-rpm-SuSE-10.1-x86_64/base
rpm -Uvh * --force

You mentioned "rpm -e psa" would be ill-advised. What about trying this? To you think there would be much harm to trying it?
 
That option is very good .
Then you have to get the plesk rpm , Un tarr it and go to the base folder abd --force ...

You have the rpm ? .I was of the impression that you are using Atomic Repo ...
 
I don't believe I have the rpm. I do have the following file: /root/parallels/PSA_8.6.0/dist-rpm-CentOS-4.2-i386/build-8.6.0-cos4.2-i386.hdr.gz.

This is the same file that you see listed here: http://autoinstall.plesk.com/PSA8/dist-rpm-CentOS-4.2-i386/8.6.0/

I am thinking this is not the correct file to use but that the file I need will be available somewhere at autoinstall.plesk.com. I am thinking this file is correct? http://autoinstall.plesk.com/PSA8/d...base/psa-8.6.0-cos4.build86080722.02.i586.rpm
 
( The autoinstaller is just a script that automatically downloads RPM’s and executes them in groups) .Check the rpm that u have now bu making a copy and unzipping it .The unzipped folder must have /base /contrib /thirdparty etc etc directories

I have divorced autoinstaller 4 years back .So i am not sure on this
 
Hello,

I can fix this for you, you need to download manually the RPMs and install them. If you want just send me an PM.
 
you could easily try it yourself.

get the tar.gz for the rpms, then install the whole base directory plus the /opt/NAME at the same time with the --force option.

I have done it LOADS of times before, and works.

Keep in mind, perform first full backup of files and databases.
 
Make backups of sites, conf files, mail, dns zones, databases, then untar the tar file containing the rpms

go to the dist-rpm folder

perform:

rpm -Uhv base/*rpm opt/api/*rpm opt/migration/*rpm opt/backup/*rpm opt/horde/*rpm opt/updater/*rpm --force

DO NOT perform rpm -e unless you really know what you are doing.

That should work, i have done it several times on some of the servers that i manage, and it works. its not an usual thing to do(at the very least not in my experience with plesk servers) but i have seen it a lot, even in identical servers, some times software behave differently from one another.

cheers.
 
Parallels support finally got back to me. They confirmed that by downloading the base Plesk packages for 8.6.0 and installing them using "rpm -Uvh --force" they were able to restore services properly.

Thanks for all your help with this guys. Life's a lot less stressful today. :)
 
Back
Top