• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • 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.

Plesk is down... how can i repair or reinstall it ?

regisg

Regular Pleskian
Hello,

After some hazardous experiments on our server (which I can not explain ...), it is impossible for me to restart Plesk Control Panel (latest version installed) in web mode.

https://xxx.xxx.xxx.xxx:8443/login_up.php3 => logging => (waiting for a few seconds) => https://xxx.xxx.xxx.xxx:8443/smb/ => Error : "this web page has a redirect loop".

I can still do:
- Launch Virtuozzo in web mode (https://xxx.xxx.xxx.xxx:4643/vz/cp)
- Launch plesk autoinstaller (/ usr / local / psa / admin / bin / autoinstaller)
But neither one nor the other allow me to reinstall or repair Plesk ...

I would add that all server services are working properly (psa itself is started ...).

What can I do please?

Thanks a lot for your help.
 
Unfortunately, the repair failed...
Here are the logs :

(...)
===> 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 957) 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.20140207-074633.dump.gz
Finishing up upgrade procedures and rerunning previously failed upgrade actions...
===> Cumulative Plesk database upgrade and repair (revertable stage) has been started.
===> Preparing Plesk database upgrade (revertable stage).

httpsd: no process killed
Trying to reset database user password for 'pp_sb_db'@'localhost'... done
Trying to reset database user password for 'horde'@'localhost'... done
Trying to reset database user password for 'atmail'@'localhost'... done

Passwords for some MySQL users were not upgraded.
All MySQL DB users that may be used by Panel MUST have passwords in new 41-character format in order for Panel to function properly.
Currently following users have passwords in old format: pma_Md1VJqcIqKAA@localhost.
Please ensure that MySQL server is not forced to use old password hashing algorithm and upgrade password format manually for users from the list above. Consult with MySQL server manual on detailed steps. You may skip certain users if you are sure they weren't created and aren't used by Panel.

Trying to set psa database version to 011005030... done
After end of upgrade for 'core' (stage 'prep') following actions are registered as failed: 20111115171314-upgrade_mysqlnd_old_passwd 20111115171314-upgrade_mysqlnd_old_passwd 20111115171314-upgrade_mysqlnd_old_passwd 20111115171314-upgrade_mysqlnd_old_passwd.
===> Plesk database was not upgraded completely. See installation log for details.

===> 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.20140207-074641.dump.gz
===> Upgrade and repair of APS controller database has been completed.
done
(...)
Trying to upgrade and repair Roundcube webmail configuration... Upgrade or repair for 'roundcube' (stage 'files') is not required
done
Trying to upgrade Roundcube Web Based mail client configs and DB from '0.8.6' to '0.9.5'... PHP Warning: Module 'json' already loaded in Unknown on line 0
PHP Warning: Directive 'safe_mode' is deprecated in PHP 5.3 and greater in Unknown on line 0
PHP Warning: realpath(): open_basedir restriction in effect. File(/usr/share/psa-roundcube) is not within the allowed path(s): (/var/www/vhosts/munci.org/config/) in /usr/share/psa-roundcube/bin/update.sh on line 22
PHP Warning: require_once(): open_basedir restriction in effect. File(/program/include/clisetup.php) is not within the allowed path(s): (/var/www/vhosts/munci.org/config/) in /usr/share/psa-roundcube/bin/update.sh on line 24
PHP Warning: require_once(/program/include/clisetup.php): failed to open stream: Operation not permitted in /usr/share/psa-roundcube/bin/update.sh on line 24
PHP Fatal error: require_once(): Failed opening required '/program/include/clisetup.php' (include_path='.:') in /usr/share/psa-roundcube/bin/update.sh on line 24

WARNING!
Some problems are found during upgrade Roundcube Web Based mail client configs and DB from '0.8.6' to '0.9.5'. Run /usr/share/psa-roundcube//bin/update.sh manually to complete upgrade.(see log file: /tmp/plesk_11.5.30_repair.log)

Trying to upgrade and repair Horde webmail configuration... Upgrade or repair for 'horde' (stage 'files') is not required
done
Trying to upgrade and repair Firewall service configuration... Upgrade or repair for 'firewall' (stage 'post') is not required
done
Trying to start service mysqld... mysqld (pid 957) 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... /usr/lib64/plesk-9.0/mail_restore: line 676: 20060 Killed $progname $args >> $product_log 2>&1
fail

==> Checking for: mailman_lists_dump... fail
==> Checking for: mail_kav8_restore... ok
==> Checking for: mail_responder_restore... fail
==> 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
Errors occured in mail restore procedure

Some utilities have exited with errors:
/usr/lib64/plesk-9.0/mail_auth_dump
/usr/lib64/plesk-9.0/mailman_lists_dump
/usr/lib64/plesk-9.0/mail_responder_restore

done
Reconfiguring Apache web server...
Reconfiguring ProFTPD FTP server...
Reconfiguring AWStats web statistics...
Reconfiguring WatchDog...
Restoring SELinux contexts...
Regenerating web servers' configuration files...
Execution failed.
Command: httpdmng
Arguments: Array
(
[0] => --reconfigure-server
[1] => -no-restart
)

Details: 2014-02-07T07:47:26+01:00 ERR (3) [util_exec]: proc_close() failed
(...)
PHP Warning: proc_open(): fork failed - Cannot allocate memory; File: /usr/local/psa/admin/plib/Service/Agent/Transport/Util.php, Line: 53

2014-02-07T07:47:27+01:00 ERR (3) [util_exec]: proc_open failed: Empty error message from utility.
(...)
PHP Warning: proc_open(): fork failed - Cannot allocate memory; File: /usr/local/psa/admin/plib/Service/Agent/Transport/Util.php, Line: 53

2014-02-07T07:47:27+01:00 ERR (3) [util_exec]: proc_open failed: Empty error message from utility.
(...)
PHP Warning: proc_open(): fork failed - Cannot allocate memory; File: /usr/local/psa/admin/plib/Service/Agent/Transport/Util.php, Line: 53

2014-02-07T07:47:27+01:00 ERR (3) [util_exec]: proc_open failed: Empty error message from utility.
(...)
PHP Warning: proc_open(): fork failed - Cannot allocate memory; File: /usr/local/psa/admin/plib/Service/Agent/Transport/Util.php, Line: 53

2014-02-07T07:47:30+01:00 ERR (3) [util_exec]: proc_open failed: Empty error message from utility.
(...)
PHP Warning: proc_open(): fork failed - Cannot allocate memory; File: /usr/local/psa/admin/plib/Service/Agent/Transport/Util.php, Line: 53

2014-02-07T07:47:31+01:00 ERR (3) [util_exec]: proc_open failed: Empty error message from utility.
(...)
PHP Warning: proc_open(): fork failed - Cannot allocate memory; File: /usr/local/psa/admin/plib/Service/Agent/Transport/Util.php, Line: 53

2014-02-07T07:47:31+01:00 ERR (3) [util_exec]: proc_open failed: Empty error message from utility.
(...)
2014-02-07T07:47:33+01:00 ERR (3) [panel]: Apache config (13917556440.25237900) generation failed: Template_Exception: /usr/local/psa/admin/sbin/apache-config: fork: Cannot allocate memory

file: /usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 68
code: 0
/usr/local/psa/admin/sbin/apache-config: fork: Cannot allocate memory


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... Execution failed.
Command: httpdmng
Arguments: Array
(
[0] => --reconfigure-server
[1] => -no-restart
)

Details: PHP Warning: include_once(/usr/local/psa/admin/plib/AdminPassword.php): failed to open stream: Too many open files in system in /usr/local/psa/admin/plib/Loader.php on line 95
PHP Warning: include_once(): Failed opening 'AdminPassword.php' for inclusion (include_path='/usr/local/psa/admin/plib:/usr/local/psa/admin/externals') in /usr/local/psa/admin/plib/Loader.php on line 95
PHP Fatal error: Class 'AdminPassword' not found in /usr/local/psa/admin/plib/db.php on line 18

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

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.

**** Product repair failed.

***** problem report *****
Passwords for some MySQL users were not upgraded. (...) You may skip certain users if you are sure they weren't created and aren't used by Panel.
 
Actually, repairing completely broken Plesk is not trivial task. Therefore I would suggest you contact Parallels Support Team or completely reinstall OS and Plesk.
 
Back
Top