Unable to change FTP password: Call to a member function getWebServerFPAdminSysUser() on a non-object

Created:

2017-02-21 12:31:49 UTC

Modified:

2017-08-16 16:58:35 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Unable to change FTP password: Call to a member function getWebServerFPAdminSysUser() on a non-object

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk 12.0 for Linux

Symptoms

Unable to change FTP password for a user:

PLESK_ERROR: Internal error. ERROR: Call to a member function getWebServerFPAdminSysUser() on a non-object (Apache.php:702)

Running bootstrapper finishes with error:

# /usr/local/psa/bootstrapper/pp12.0.18-bootstrapper/bootstrapper.sh repair Details: PHP Fatal error: Call to a member function getScheme() on a non-object in /usr/local/psa/admin/plib/WebServerManager/Adapter/Apache.php on line 816 WARNING! Some problems are found during reconfigure web-server configurations skipping broken domains(see log file: /var/log/plesk/install/plesk_12.0.18_repair.log)

Any RPM or YUM commands give the following error:

# rpm -qa | grep psa rpmdb: Thread/process 5581/139781471164384 failed: Thread died in Berkeley DB library error: db3 error(-30974) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery error: cannot open Packages index using db3 - (-30974) error: cannot open Packages database in /var/lib/rpm rpmdb: Thread/process 5581/139781471164384 failed: Thread died in Berkeley DB library error: db3 error(-30974) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery error: cannot open Packages database in /var/lib/rpm

Plesk is shown as not installed in Plesk installer:

CONFIG_TEXT: The following product versions are available:
1. [ ] Plesk

Cause

Corrupted rpm database

Resolution

  1. Connect to the server using SSH .
  2. Backup RPM database files:

    # cd /var/lib/rpm/
    # mv __db.* ~

  3. Remove corrupted database files:

    # rm -f /var/lib/rpm/__db.*

  4. Rebuild RPM database:

    # rpm --rebuilddb

  5. Refresh server components at Plesk > Tools & Settings > Server Components:
    refresh.png
Have more questions? Submit a request
Please sign in to leave a comment.