• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved Cannot access Plesk on VPS server

oddsideales

New Pleskian
No idea what changed but right now my sites are not responding correctly and I believe it has to do with the mysql db not starting. I am new to this so please bear with me! I was able to retrieve the error log and this is what I got:

2018/01/29 11:51:50 [error] 1731#0: *12795 open() "/usr/local/psa/admin/htdocs/nice ports,/Trinity.txt.bak" failed (2: No such file or directory), client: 122.114.26.193, server: , request: "GET /nice%20ports%2C/Tri%6Eity.txt%2ebak HTTP/1.0"

2018/01/29 11:54:48 [error] 1731#0: *12798 open() "/usr/local/psa/admin/htdocs/nmaplowercheck1517244821" failed (2: No such file or directory), client: 122.114.26.193, server: , request: "GET /nmaplowercheck1517244821 HTTP/1.1", host: "152.ip-144-217-89.net:8443"

2018/01/29 11:54:53 [error] 1731#0: *12801 open() "/usr/local/psa/admin/htdocs/HNAP1" failed (2: No such file or directory), client: 122.114.26.193, server: , request: "GET /HNAP1 HTTP/1.1", host: "152.ip-144-217-89.net:8443"

2018/01/29 11:55:03 [error] 1731#0: *12804 open() "/usr/local/psa/admin/htdocs/sdk" failed (2: No such file or directory), client: 122.114.26.193, server: , request: "POST /sdk HTTP/1.1", host: "152.ip-144-217-89.net:8443"

2018/01/29 18:07:07 [error] 1731#0: *12824 open() "/usr/local/psa/admin/htdocs/nice ports,/Trinity.txt.bak" failed (2: No such file or directory), client: 122.114.26.187, server: , request: "GET /nice%20ports%2C/Tri%6Eity.txt%2ebak HTTP/1.0"

2018/01/29 18:08:48 [error] 1731#0: *12827 open() "/usr/local/psa/admin/htdocs/sdk" failed (2: No such file or directory), client: 122.114.26.187, server: , request: "POST /sdk HTTP/1.1", host: "152.ip-144-217-89.net:8443"

2018/01/29 18:08:48 [error] 1731#0: *12829 open() "/usr/local/psa/admin/htdocs/nmaplowercheck1517267261" failed (2: No such file or directory), client: 122.114.26.187, server: , request: "GET /nmaplowercheck1517267261 HTTP/1.1", host: "152.ip-144-217-89.net:8443"

2018/01/29 18:08:49 [error] 1731#0: *12832 open() "/usr/local/psa/admin/htdocs/HNAP1" failed (2: No such file or directory), client: 122.114.26.187, server: , request: "GET /HNAP1 HTTP/1.1", host: "152.ip-144-217-89.net:8443"

2018/01/30 10:56:59 [error] 1731#0: *12856 open() "/usr/local/psa/admin/htdocs/nice ports,/Trinity.txt.bak" failed (2: No such file or directory), client: 205.209.128.85, server: , request: "GET /nice%20ports%2C/Tri%6Eity.txt%2ebak HTTP/1.0"

2018/01/30 11:03:25 [error] 1731#0: *12929 open() "/usr/local/psa/admin/htdocs/sdk" failed (2: No such file or directory), client: 205.209.128.85, server: , request: "POST /sdk HTTP/1.1", host: "152.ip-144-217-89.net:8443"

2018/01/30 11:24:07 [error] 1731#0: *12962 open() "/usr/local/psa/admin/htdocs/nice ports,/Trinity.txt.bak" failed (2: No such file or directory), client: 122.114.26.187, server: , request: "GET /nice%20ports%2C/Tri%6Eity.txt%2ebak HTTP/1.0"

2018/01/30 11:38:22 [error] 1731#0: *12966 open() "/usr/local/psa/admin/htdocs/stats" failed (2: No such file or directory), client: 122.114.26.187, server: , request: "GET /stats HTTP/1.1", host: "152.ip-144-217-89.net:8443"

2018/01/30 11:38:24 [error] 1731#0: *12965 open() "/usr/local/psa/admin/htdocs/sdk" failed (2: No such file or directory), client: 122.114.26.187, server: , request: "POST /sdk HTTP/1.1", host: "152.ip-144-217-89.net:8443"

2018/01/30 11:38:40 [error] 1731#0: *12971 open() "/usr/local/psa/admin/htdocs/nmaplowercheck1517330188" failed (2: No such file or directory), client: 122.114.26.187, server: , request: "GET /nmaplowercheck1517330188 HTTP/1.1", host: "152.ip-144-217-89.net:8443"

2018/01/30 11:38:42 [error] 1731#0: *12972 open() "/usr/local/psa/admin/htdocs/HNAP1" failed (2: No such file or directory), client: 122.114.26.187, server: , request: "GET /HNAP1 HTTP/1.1", host: "152.ip-144-217-89.net:8443"

2018/01/30 15:28:24 [error] 1731#0: *13002 open() "/usr/local/psa/admin/htdocs/apple-touch-icon-precomposed.png" failed (2: No such file or directory), client: 24.176.22.1, server: , request: "GET /apple-touch-icon-precomposed.png HTTP/1.1", host: "vps112283.vps.ovh.ca:8443"

2018/01/30 15:28:24 [error] 1731#0: *13002 open() "/usr/local/psa/admin/htdocs/apple-touch-icon.png" failed (2: No such file or directory), client: 24.176.22.1, server: , request: "GET /apple-touch-icon.png HTTP/1.1", host: "vps112283.vps.ovh.ca:8443"

2018/01/31 20:18:03 [error] 1730#0: *17 open() "/usr/local/psa/admin/htdocs/robots.txt" failed (2: No such file or directory), client: 71.6.158.166, server: , request: "GET /robots.txt HTTP/1.1", host: "144.217.89.152:8443"

2018/01/31 20:18:03 [error] 1730#0: *18 open() "/usr/local/psa/admin/htdocs/sitemap.xml" failed (2: No such file or directory), client: 71.6.158.166, server: , request: "GET /sitemap.xml HTTP/1.1", host: "144.217.89.152:8443"


Can anyone give me advice on how to fix this?
 
UPDATE: Got the DB running. Websites work fine but still cannot access plesk. Now I get this error: ERROR: Zend_Db_Adapter_Exception: SQLSTATE[HY000] [2002] Connection refused
Additionally, an exception has occurred while trying to report this error: Zend_Db_Adapter_Exception
SQLSTATE[HY000] [2002] Connection refused (Abstract.php:144)
 
I have read that article many times. Unfortunately I am not versed enough in SSH commands to figure it out. I can SSH in but and enter in the line that begins with grep and nothing happens then I have no idea how to use the comment below.
 
In an effort to repair plesk, I have run the command repair plesk fs vhosts which returns the PHP notice:
Undefined index: fs in /usr/sbin/plesk on line 57
 
What about

# plesk installer --select-release-current --reinstall-patch --upgrade-installed-components
# plesk repair installation
 
The first line ran successfully ending with "all patches were applied. patches were installed successfully"

I did try to access plesk prior to running the second command and still received the error: ERROR: Zend_Db_Adapter_Exception: SQLSTATE[HY000] [2002] Connection refused

Additionally, an exception has occurred while trying to report this error: Zend_Db_Adapter_Exception
SQLSTATE[HY000] [2002] Connection refused (Abstract.php:144)


Then I entered "plesk repair installation" and this was the response:
[root@vps112283 ~]# plesk repair installation

PHP Notice: Undefined index: installation in /usr/sbin/plesk on line 57

Usage: plesk [command]


Commands:

help - Show help and exit

version - Show product version information

db - Database related commands. Open MySQL console by default.

bin - Run the specified Plesk command-line utility (e.g., domain, client)

sbin - Run the specified Plesk internal utility

php - Run a PHP script using the proper PHP interpreter

conf - Open the specified Plesk configuration file in the editor

log - Display the specified Plesk log file

installer - Parallels Installer shortcuts and command completion.
 
Oh, sorry, I forgot that you have old Plesk 12. Try to use command like

# /usr/local/psa/bootstrapper/pp12.0.18-bootstrapper/bootstrapper.sh repair

or

# /usr/local/psa/bootstrapper/pp12.5.30-bootstrapper/bootstrapper.sh repair

if you have Plesk 12.5, instead of "plesk repair installation"

But anyway, there is problem with mysql service and I strongly recommend to check mysql logs and fix mysql service.
 
I sincerely appreciate your efforts to try to resolve this issue.

This is what I got:
[root@vps112283 ~]# /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 2570) is running...

done

Trying to establish test connection... connected

done

Trying to start service mysqld... mysqld (pid 2570) 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@vps112283 ~]#
 
Back
Top