• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved How to keep mysql down

Zalem Citizen

New Pleskian
Hello,

Plesk Onyx on Ubuntu 16.04 VPS
In order to copy data to a bigger additional disk I need to stop mysql for the duration of my copy job.
When stopped with
Code:
service mysql stop
or
Code:
systemctl stop mysql.service

Plesk keeps restarting the service within 5 minutes. Syslog :

Code:
Feb  3 13:00:59 klabs-test monit[2739]: 'mysql' process is not running
Feb  3 13:00:59 klabs-test monit[2739]: Collector: cannot open a connection to http://127.0.0.1:2912/ -- Transport endpoint is not connected
Feb  3 13:00:59 klabs-test monit[2739]: Collector: no server available -- aborting message
Feb  3 13:00:59 klabs-test monit[2739]: 'mysql' trying to restart
Feb  3 13:00:59 klabs-test monit[2739]: 'mysql' start: /opt/psa/admin/sbin/pleskrc
Feb  3 13:00:59 klabs-test monit[2739]: Collector: cannot open a connection to http://127.0.0.1:2912/ -- Transport endpoint is not connected
Feb  3 13:00:59 klabs-test monit[2739]: Collector: no server available -- aborting message
Feb  3 13:01:00 klabs-test systemd[1]: Starting MySQL Community Server...

Is there a proper way to disable this autostart ?

Thanks
 
"monit" is an Ubuntu server service, not a Plesk utility. You will need to disable the service via monit, like
# monit stop mysqld
(or mysql, mariadb or whatever your MySQL daemon is called).
 
Thanks for your help.

You're right, my bad. Strange thing is that monit package seems not installed.
I keep looking
 
Got it ...
Brought by watchdog extension and located in /opt/psa/admin/bin/modules/watchdog/monit and configured by /opt/psa/modules/watchdog/monitrc

Thanks, you helped !
 
And indeed :

Monitoring System Services

Now the services will be monitored in accordance with the settings you specified. If you decided to use the default settings, the following actions will be taken:

  • All services will be automatically restarted in case of failure.

The weird thing is I didn't enabled any service monitoring and it still restarts them
 
Back
Top