• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Resolved Can't connect after server reset - locked out via ftp

Brad Mehlenbacher

New Pleskian
Hey guys, so the company I'm doing work with runs a dedicated server. Earlier today we were getting internal error 500s - likely due to lack of space. We reset the server, but upon restarting the server gave the following error:

ERROR: Zend_Db_Adapter_Exception: SQLSTATE[HY000] [2002] No such file or directory

ERROR: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [2002] No such file or directory' in /opt/psa/admin/externals/Zend/Db/Adapter/Pdo/Abstract.php:129 Stack trace: #0 /opt/psa/admin/externals/Zend/Db/Adapter/Pdo/Abstract.php(129): PDO->__construct('mysql:dbname=ps...', 'admin', '$AES-128-CBC$Nk...', Array) #1 /opt/psa/admin/externals/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect() #2 /opt/psa/admin/externals/Zend/Db/Adapter/Abstract.php(460): Zend_Db_Adapter_Pdo_Mysql->_connect() #3 /opt/psa/admin/externals/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('select param, v...', Array) #4 /opt/psa/admin/plib/Db/Adapter/Pdo/Mysql.php(30): Zend_Db_Adapter_Pdo_Abstract->query('select param, v...', Array) #5 /opt/psa/admin/plib/db.php(36): Db_Adapter_Pdo_Mysql->query('select param, v...') #6 /opt/psa/admin/plib/db.php(212): db_query('select param, v...', false) #7 /opt/psa/admin/plib/Plesk/Mode.php(423): get_param('disable_provisi...') #8 /opt/psa/admin (Abstract.php:144)
​
Now please note that we were running very low on space before the reset - but now that we've reset I can't connect via the :8443 port at all, every time I try I get that error.

Any time I try to connect to the site itself I get:

Error establishing a database connection

I've tried connecting via FTP, but with my current login it isn't giving me permission, stating that I have to use my plex login. Any time I try to connect via my user login for plex, it does not connect.

Now I've got a few questions:

1) Has anybody ever had anything remotely similar to this happen to them? What did you do?
2) Does plex ftp connect differently to their hosted directory than the actual server itself would? Any reason why my plex login wouldnt work via ftp if it's stating in filezilla that I have to use that login? (Note that it says a different name than my actual login as permission, but similar)

Thank you for any help you guys may be able to provide, sincerely appreciate it!
 
Back
Top