• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • 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.

Unable to suspend/activate a domain. Plesk well and truely borked!

Status
Not open for further replies.

Slavik

Basic Pleskian
So it started with a server hang, rebooted and various problems arise.

Firstly, I needed to activate a suspended domain which throws this error.

Code:
PHP Fatal error:  Call to a member function deleteAdditionalConfigFiles() on a non-object in /usr/local/psa/admin/plib/api-common/Httpdmng.php on line 148

So ran

Code:
/usr/local/psa/bootstrapper/pp11.5.30-bootstrapper/bootstrapper.sh repair

With the output:

Code:
 Regenerating web servers' configuration files...
PHP Fatal error:  Call to a member function deleteAdditionalConfigFiles() on a non-object in /usr/local/psa/admin/plib/api-common/Httpdmng.php on line 148
Unable to rebuild web server configuration with currently active default templates
 Trying to rebuild web server configs with default templates after reconfiguration failure... PHP Fatal error:  Call to a member function deleteAdditionalConfigFiles() on a non-object in /usr/local/psa/admin/plib/api-common/Httpdmng.php on line 148

WARNING!
Some problems are found during rebuild web server configs with default templates after reconfiguration failure - using default templates does not solve the problem, restore custom ones(see log file: /tmp/plesk_11.5.30_repair.log)

Continue...

Warning: web server configuration is broken. We will try to repair it. This operation can take a lot of time, please do not interrupt the process.
Unable to rebuild web server configuration, possible there are broken domains
 Trying to reconfigure web-server configurations skipping broken domains... PHP Fatal error:  Call to a member function deleteAdditionalConfigFiles() on a non-object in /usr/local/psa/admin/plib/api-common/Httpdmng.php on line 148

WARNING!
Some problems are found during reconfigure web-server configurations skipping broken domains(see log file: /tmp/plesk_11.5.30_repair.log)

Continue...


**** 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 2369) is running...
done
 Trying to establish test connection... connected
done
 Trying to find psa database... version is 011005030
Version is OK, no need to create psa database.
 Trying to backup MySQL database... done
 MySQL databases are dumped to /var/lib/psa/dumps/mysql.preupgrade.11.5.30-11.5.30.20140326-154854.dump.gz
 Finishing up upgrade procedures and rerunning previously failed upgrade actions...
===> Cumulative Plesk database upgrade and repair (revertable stage) has been started.
Upgrade or repair for 'core' (stage 'prep') is not required
===> Preparing Plesk database upgrade (revertable stage).
 Trying to resolve hostname 's16076691.onlinehome-server.info' and validate its IP address... done

 Trying to set psa database version to 011005030... done
===> Cumulative upgrade and repair of Plesk database (revertable stage) has been completed.
===> Cumulative Plesk upgrade and repair (final stage) has been started.
Upgrade or repair for 'core' (stage 'post') is not required
===> Preparing Plesk upgrade (final stage).
===> Cumulative upgrade and repair of Plesk (final stage) has been completed.
 Trying to upgrade APS controller database... ===> Cumulative APS controller database (apsc) upgrade and repair has been started.
Upgrade or repair for 'apsc' (stage 'db') is not required
 Trying to backup MySQL database... done
 MySQL databases are dumped to /var/lib/psa/dumps/mysql.preupgrade.apsc.11.5.30-11.5.30.20140326-154902.dump.gz
===> Upgrade and repair of APS controller database has been completed.
done
 Trying to upgrade and repair SpamAssassin service configuration... Upgrade or repair for 'spamassassin' (stage 'files') is not required
done
 Trying to upgrade and repair Courier-IMAP services configuration (prep stage)... Upgrade or repair for 'courier_imap' (stage 'prep') is not required
done
 Trying to upgrade and repair Courier-IMAP services configuration (post stage)... Upgrade or repair for 'courier_imap' (stage 'post') is not required
done
 Trying to upgrade and repair Courier-IMAP services configuration (bootstrapper-post stage)... Upgrade or repair for 'courier_imap' (stage 'bootstrapper-post') is not required
done
 Trying to condrestart service courier-imapd... done
 Trying to condrestart service courier-imaps... done
 Trying to condrestart service courier-pop3d... done
 Trying to condrestart service courier-pop3s... done
 Trying to upgrade and repair Horde webmail configuration... Upgrade or repair for 'horde' (stage 'files') is not required
done
 Trying to start service mysqld... mysqld (pid 2369) is running...
done
 Trying to establish test connection... connected
done
 Trying to connect to apsc database... done
 Reconfiguring mail subsystem...
 Trying to execute mail_restore to synchronize mail server settings and Plesk Database... ==> Checking for: mailsrv_conf_init... ok
==> Checking for: mail_handlers_init... ok
==> Checking for: mailsrv_entities_dump... ok
==> Checking for: mail_admin_aliases... ok
==> Checking for: mail_auth_dump... ok
==> Checking for: mailman_lists_dump... ok
==> Checking for: mail_kav8_restore... ok
==> Checking for: mail_responder_restore... ok
==> Checking for: vhostidmng... not exists
==> Checking for: mail_spam_restore... ok
==> Checking for: mail_grey_restore... ok
==> Checking for: mail_mailbox_restore... ok
==> Checking for: mail_spf_restore... ok
==> Checking for: mail_dk_restore... ok
==> Checking for: mail_drweb_restore... not exists
done
 Reconfiguring Apache web server...
 Reconfiguring ProFTPD FTP server...
 Reconfiguring AWStats web statistics...
 Reconfiguring WatchDog...
 Restoring SELinux contexts...
 Regenerating web servers' configuration files...
PHP Fatal error:  Call to a member function deleteAdditionalConfigFiles() on a non-object in /usr/local/psa/admin/plib/api-common/Httpdmng.php on line 148
Unable to rebuild web server configuration with currently active default templates
 Trying to rebuild web server configs with default templates after reconfiguration failure... PHP Fatal error:  Call to a member function deleteAdditionalConfigFiles() on a non-object in /usr/local/psa/admin/plib/api-common/Httpdmng.php on line 148

WARNING!
Some problems are found during rebuild web server configs with default templates after reconfiguration failure - using default templates does not solve the problem, restore custom ones(see log file: /tmp/plesk_11.5.30_repair.log)

Continue...

Warning: web server configuration is broken. We will try to repair it. This operation can take a lot of time, please do not interrupt the process.
Unable to rebuild web server configuration, possible there are broken domains
 Trying to reconfigure web-server configurations skipping broken domains... PHP Fatal error:  Call to a member function deleteAdditionalConfigFiles() on a non-object in /usr/local/psa/admin/plib/api-common/Httpdmng.php on line 148

WARNING!
Some problems are found during reconfigure web-server configurations skipping broken domains(see log file: /tmp/plesk_11.5.30_repair.log)

Continue...

Unable to rebuild web server configuration with currently active default templates
 Trying to rebuild web server configs with default templates after reconfiguration failure... PHP Fatal error:  Call to a member function deleteAdditionalConfigFiles() on a non-object in /usr/local/psa/admin/plib/api-common/Httpdmng.php on line 148

WARNING!
Some problems are found during rebuild web server configs with default templates after reconfiguration failure - using default templates does not solve the problem, restore custom ones(see log file: /tmp/plesk_11.5.30_repair.log)

Continue...

 Cleaning active Panel sessions...

Bootstrapper repair finished.
If problems persist, please check installer logs ('/tmp/plesk_11.5.30_repair.log' and '/tmp/plesk_11.5.30_repair_problems.log') for errors.
If you can't resolve the issue on your own, please address Parallels support.


Logging into plesk alarm bells start ringing, menus have disapeared. So go to the updater and it tells me plesk isn't even installed. Yikes.


Any suggestions?
 
Hi,

before proceeding with anything, make a backup of the current state.

It's happened to me a couple of times when Plesk/psa is uninstalled.
As long as the psa Database is still there, there is nothing to worry about.

They way I have fixed this issue in the past is by running the autoinstaller again, trying to install everything that used to be installed.
If I then still had issues I ran the bootstrapper.

Hope it helps!

Regards,
Kristian
 
Is it VPS Plesk installation?
According to this article it should be fixed by bootstrapper - http://kb.parallels.com/en/118282

Unfortunately not

Hi,

before proceeding with anything, make a backup of the current state.

It's happened to me a couple of times when Plesk/psa is uninstalled.
As long as the psa Database is still there, there is nothing to worry about.

They way I have fixed this issue in the past is by running the autoinstaller again, trying to install everything that used to be installed.
If I then still had issues I ran the bootstrapper.

Hope it helps!

Regards,
Kristian

Whatever MU happened last night resolved the issue. All I had to do was /usr/local/psa/admin/sbin/httpdmng --reconfigure-all this morning and all fixed.
 
Status
Not open for further replies.
Back
Top