Oliver Bazely
New Pleskian
Hi,
I have a VPS with a handful of sites on. Nothing that critical. Plesk has been running fine for several years. I recently started getting CPU / Apache memory errors. I found that one of my sites has been under DDoS attack for about a week (only 1 request per second, but enough to take that site offline).
I wanted to install fail2ban and mod_security, to shut down the offending IPs. I tried to do this via plesk 12.0.18, using the upgrade / update tool, and selecting the packages there. mod_security installed fine, but fail2ban was very slow, and never really worked. I restarted the server, and started getting error messages on the plesk dashboard. I tried upgrading to 12.5.30, to see if that would get fail2ban working, but I still had problems.
Since then, plesk has completely stopped working. I can't even log in any more. I tried some things via terminal, including yum update, and the /bootstrapper.sh repair (for both 12.0.18 and 12.5.30). I now get errors for both.
I'd really like to get back into the plesk control panel, and work out how to get fail2ban working. The DDoS is still going on, and the site keeps being knocked off line. I have the IPs to be blocked.
Some info:
I have a VPS with a handful of sites on. Nothing that critical. Plesk has been running fine for several years. I recently started getting CPU / Apache memory errors. I found that one of my sites has been under DDoS attack for about a week (only 1 request per second, but enough to take that site offline).
I wanted to install fail2ban and mod_security, to shut down the offending IPs. I tried to do this via plesk 12.0.18, using the upgrade / update tool, and selecting the packages there. mod_security installed fine, but fail2ban was very slow, and never really worked. I restarted the server, and started getting error messages on the plesk dashboard. I tried upgrading to 12.5.30, to see if that would get fail2ban working, but I still had problems.
Since then, plesk has completely stopped working. I can't even log in any more. I tried some things via terminal, including yum update, and the /bootstrapper.sh repair (for both 12.0.18 and 12.5.30). I now get errors for both.
I'd really like to get back into the plesk control panel, and work out how to get fail2ban working. The DDoS is still going on, and the site keeps being knocked off line. I have the IPs to be blocked.
Some info:
Code:
[root@XXXXXXXX bootstrapper]# plesk version
Product version: 12.0.18
Build date: 2015/10/14 14:00
Build target: CentOS 6
Revision: 333059
Architecture: 64-bit
Wrapper version: 1.1
[root@XXXXXXXXXXX bootstrapper]# mysql -u admin -p`cat /etc/psa/.psa.shadow` -e 'select * from psa.misc where param="version"'
+---------+-----------+
| param | val |
+---------+-----------+
| version | 012005030 |
+---------+-----------+
[root@XXXXXXXXX bootstrapper]# /usr/local/psa/bootstrapper/pp12.0.18-bootstrapper/bootstrapper.sh repair
Started bootstrapper repair procedure. This may take a while.
Certain actions may be skipped if not applicable.
**** Product repair started.
===> Checking for previous installation ... found.
Started bootstrapper repair procedure. This may take a while.
Certain actions may be skipped if not applicable.
Trying to start service mysqld... mysqld (pid 1706) is running...
done
Trying to establish test connection... connected
done
Trying to start service mysqld... mysqld (pid 1706) is running...
done
Trying to establish test connection... connected
done
Trying to find psa database... version is 012005030
DATABASE ERROR!!!
Previous product version is 12.0.18, but previous database
version is 012005030. 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: /var/log/plesk/install/plesk_12.0.18_repair.log), fix and try again
***** problem report *****
ERROR while trying to check database version
Check the error reason(see log file: /var/log/plesk/install/plesk_12.0.18_repair.log), fix and try again
[root@XXXXXXXX bootstrapper]#
Last edited: