• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue cannot login to Plesk

xma1

New Pleskian
Hi,

if i go on https://xma1.de:8443 (my site) after some time it shows timeout error.

my sites works fine, but sometimes (once in month) it have problem with load average. at that time my sites, mail and ssh connection don't work. I need to restart my server.

I use an V-Server (www.strato.de) with Ubuntu.

I have tried:
-/etc/sw-cp-server/config
fastcgi_buffers 32 32k;
fastcgi_buffer_size 64k;

- /etc/ngnix/ngnix.conf
keepalive_timeout 600;

- Created file timeout.conf in /etc/nginx/conf.d/
with
proxy_connect_timeout 600;
proxy_send_timeout 600;
proxy_read_timeout 600;
send_timeout 600;

plesk repair all -y (stays some hours without information)
/usr/local/psa/admin/bin/autoinstaller --select-product-id plesk --select-release-current --reinstall-patch --install-component base
and
/usr/local/psa/admin/sbin/autoinstaller --all-versions (5. (*) Plesk 12.5.30 (Stable) (currently installed))
/usr/local/psa/admin/sbin/autoinstaller stys on multiverse warning
Warning: not connected 'multiverse' repository section
 
Before repairing or reinstalling Plesk, you could try to restart PSA service. Plesk brings its own web server. It is possible that Plesk GUI is unresponsive while subscription sites are being served.

# /etc/rc.d/init.d/psa stopall
# /etc/rc.d/init.d/psa start

If you experience server resource issues, your current hosting solution is too small for your needs and must be upgraded.
 
Hi Peter,
i had tried it to before, but forget to write about it (have tried at first to find a solution myself, but after weeks of try I decided to ask it in Forum).

now i get following error (what was before repairing or reinstalling Plesk I have forgot):
/etc/rc.d/init.d/psa: No such file or directory

current hosting solution is not too small.
I have 2 promotional Sites (one flash another HTML 5 both from Moto CMS).
1 Site for experiments with Joomla (mostly design, no information)
1 Git server (last time was not used, only I have account.)
2 OwnCloud Sites (It was installed but not used)
+ PHPInfo on an empty site to check server speed (was created at the beginning)
 
Ok I have found psa in another derectory: /etc/init.d/psa

But restart it dont help with my error.

here ist out from starting script:

Starting sw_engine service... invoke-rc.d: initscript sw-engine, action "status" failed.
done
Starting sw_cp_server service... invoke-rc.d: initscript sw-cp-server, action "status" failed.
done
Starting mysql service... already started
Starting named service... done
Starting mailer service... done
Starting spamfilter service... invoke-rc.d: initscript spamassassin, action "status" failed.
done
Starting tomcat service... not installed
Starting apache service... done
Starting superserver service... already started
Starting sw_engine service... already started
Starting drweb service... not installed
 
Last edited:
Any additional information in /var/log/plesk/psa_service.log, /var/log/plesk/rc_actions.log or /var/log/messages why sw-engine cannot start?
 
I can see sometimes sw-engine in top command (sometimes 2X sometimes 5x etc.).

/var/log/plesk/psa_service.log:


* sw-engine-fpm is running
===> Sat Dec 31 22:35:57 CET 2016, args: status
Trying to start service mysql... /usr/sbin/mysqld (pid 2984) is running...
done
done
* sw-engine-fpm is running
===> Sat Dec 31 23:40:26 CET 2016, args: status
Trying to start service mysql... /usr/sbin/mysqld (pid 2984) is running...
done
done
* sw-engine-fpm is running
===> Sat Dec 31 23:44:47 CET 2016, args: status
Trying to start service mysql... /usr/sbin/mysqld (pid 2984) is running...
done
done
* sw-engine-fpm is running
===> Sun Jan 1 00:49:14 CET 2017, args: status
Trying to start service mysql... /usr/sbin/mysqld (pid 2984) is running...
done
done
* sw-engine-fpm is running


/var/log/plesk/rc_actions.log:

* is running
* dovecot is running
* is running
* dovecot is running
* is running
* dovecot is running
* is running
* dovecot is running
* is running
* Stopping Postfix Mail Transport Agent postfix
...done.
* Stopping IMAP/POP3 mail server dovecot
...done.
* Stopping Plesk milter filter psa-pc-remote
...done.
* dovecot is not running
* is not running
* dovecot is not running
* is not running
* dovecot is not running
* is not running
* dovecot is not running
* is not running
* Starting Postfix Mail Transport Agent postfix
...done.
* Starting IMAP/POP3 mail server dovecot
...done.
* Starting Plesk milter filter psa-pc-remote
...done.
* dovecot is running
* is running
* dovecot is running
* is running
* Stopping Postfix Mail Transport Agent postfix
...done.
* Stopping IMAP/POP3 mail server dovecot
...done.
* Stopping Plesk milter filter psa-pc-remote
...done.
* dovecot is not running
* is not running
* dovecot is not running
* is not running
* Starting Postfix Mail Transport Agent postfix
...done.
* Starting IMAP/POP3 mail server dovecot
...done.
* Starting Plesk milter filter psa-pc-remote
...done.

-bash: cd: /var/log/messages: No such file or directory



 
Hi,

Please try repairing the Plesk.

Please check this:
/usr/local/psa/bootstrapper/"plesk version"/bootstrapper.sh repair

Then
# /etc/init.d/psa stop
# /etc/init.d/psa start

Thanks,
 
Hi,

I have tried this repair function, but it don't move after "===> Plesk database scheme upgrade has been completed." row.
i don't know if it finished or not (I have waited 4-5 hours).

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

Started bootstrapper repair procedure. This may take a while.

Certain actions may be skipped if not applicable.


-- Warning: Skipping the data of table mysql.event. Specify the --events option explicitly.

Finishing up upgrade procedures and rerunning previously failed upgrade actions...

===> Cumulative APS controller database (apsc) upgrade and repair has been started.

===> Cumulative upgrade and repair of APS controller database has been completed.

===> Cumulative APS controller upgrade and repair (final stage) has been started.

===> Cumulative upgrade and repair of APS controller (final stage) has been completed.

===> Cumulative Plesk database upgrade and repair (revertable stage) has been started.

===> Preparing Plesk database upgrade (revertable stage).

===> Cumulative upgrade and repair of Plesk database (revertable stage) has been completed.

===> Plesk database scheme upgrade has been started.

Applying migrations from: /opt/psa/bootstrapper/pp12.5.30-bootstrapper/migrations/

===> Plesk database scheme upgrade has been completed.
 
have tried to close program and write a command with psa stop, start.
After I wrote /etc/init.d/psa start i had "action "status" failed".

Starting sw_engine service... invoke-rc.d: initscript sw-engine, action "status" failed.

done

Starting sw_cp_server service... already started

Starting mysql service... already started

Starting named service... done

Starting mailer service... already started

Starting spamfilter service... already started

Starting tomcat service... not installed

Starting apache service... already started

Starting superserver service... already started

Starting sw_engine service... already started

Starting drweb service... not installed
 
After second run (and i cannot login in my mail):

**** 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 mysql... /usr/sbin/mysqld (pid 21815) is running...

done

Trying to establish test connection... ERROR 1045 (28000): Access denied for user 'admin'@'localhost' (using password: YES)

ERROR 1045 (28000): Access denied for user 'admin'@'localhost' (using password: YES)

ERROR 1045 (28000): Access denied for user 'admin'@'localhost' (using password: YES)

...

failed


ERROR while trying to establish test connection

Check the error reason(see log file: /var/log/plesk/install/plesk_12.5.30_repair.log), fix and try again


***** problem report *****

ERROR while trying to establish test connection

Check the error reason(see log file: /var/log/plesk/install/plesk_12.5.30_repair.log), fix and try again


i can login to my sql, and i can find there all tables.
 
Last edited:
Access denied is fixed:
i have removed /root/.my.cnf (that i have created ) and it works again
but i steel cannot login on mail server (Password and name are on MySQL DB)

in /usr/local/psa/admin/bin/mail_auth_view i have information.
+--------------------------------------+-----+--------------------------------------+

| address |flags| password |

+--------------------------------------+-----+--------------------------------------+

+--------------------------------------+-----+--------------------------------------+

Flags

in my sql
mysql> SELECT CONCAT(mail_name,"@",name) as email_address,accounts.password FROM mail LEFT JOIN domains on domains.id=mail.dom_id LEFT JOIN accounts on accounts.id=mail.account_id;

+------------------------+----------------------------------------------------------------+

| email_address | password |

+------------------------+----------------------------------------------------------------+

| [email protected] | ********************************** |
| [email protected] | ********************************* |
| [email protected] | ********************************* |
| [email protected] | ******************************** |

+------------------------+----------------------------------------------------------------+

/usr/local/psa/bin/sw-engine-pleskrun plesk_password_changer.php `cat /etc/psa/.psa.shadow` --all:

[2017-01-08 09:26:07][INFO] ==> Installed Plesk version/build: 12.5.30 Ubuntu 14.04 1205160608.09


[2017-01-08 09:26:07][INFO] ==> Detect system configuration

[2017-01-08 09:26:07][INFO] OS: Ubuntu 14.04.4 LTS \n \l

[2017-01-08 09:26:07][INFO] Arch: x86_64


[2017-01-08 09:26:07][INFO] ==> Validate given db password

[2017-01-08 09:26:07][INFO] Result: OK


[2017-01-08 09:26:07][INFO] ==> Plesk Password Changer version: 12.0.18.0


[2017-01-08 09:26:07][INFO] ==> STEP 1: Change password for resellers...


[2017-01-08 09:26:07][INFO] ==> STEP 2: Change password for clients...
 
Last edited:
I have reseted my server on 1 day back ( from old BackUp), jet works my mailserver.
But I steel cannot login on my Plesk site.

and i have found mail from watchdog (at that time where it was a big load avarage).

sw-engine was started Seven times, maybe it is the reason for big load avarage.


10829 psaadm 20 0 280860 37040 19200 R 18.9 0.9 0:00.11 sw-engine
10842 psaadm 20 0 275680 31144 18704 R 18.9 0.7 0:00.06 sw-engine
10851 psaadm 20 0 275040 30252 18788 R 14.2 0.7 0:00.05 sw-engine
10812 psaadm 20 0 279592 35616 19192 R 9.4 0.8 0:00.11 sw-engine
10819 psaadm 20 0 277468 33464 18824 R 9.4 0.8 0:00.08 sw-engine
10831 psaadm 20 0 274904 30032 18788 R 9.4 0.7 0:00.05 sw-engine
10834 psaadm 20 0 274360 29368 18788 R 9.4 0.7 0:00.04 sw-engine
 
Back
Top