Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

Catastrophic Vesta Failure after Apt-get update

General questions about VestaCP
Post Reply
  • Print view
Advanced search
8 posts • Page 1 of 1
cagatay
Posts: 119
Joined: Wed May 28, 2014 6:40 am

Catastrophic Vesta Failure after Apt-get update
  • Quote

Post by cagatay » Thu Jan 29, 2015 9:29 am

Hello,

Yesterday I did a apt-get update / upgrade.

It updated mysql package and now I noticed all my wordpress websites (I host wordpress only) are returning default installation screen.

Anyone experienced the same ?
Top

cagatay
Posts: 119
Joined: Wed May 28, 2014 6:40 am

Re: Catastrophic Vesta Failure after Apt-get update
  • Quote

Post by cagatay » Thu Jan 29, 2015 10:03 am

Image

DONT UPDATE MYSQL OR YOU VESTA WILL FAIL

I am running Debian 7 64 bit
Top

mcsteevie
Posts: 11
Joined: Thu Jan 29, 2015 3:13 am

Re: Catastrophic Vesta Failure after Apt-get update
  • Quote

Post by mcsteevie » Thu Jan 29, 2015 10:10 am

cagatay wrote:Image

DONT UPDATE MYSQL OR YOU VESTA WILL FAIL
Error 24 and "can't open file" usually mean that there are too many files open (the open file limit may be set too low). Have you tried adding the following to /etc/my.cnf:

Code: Select all

[mysqld]

open_files_limit = 100000
Make sure you restart mysql after the change.
Top

cagatay
Posts: 119
Joined: Wed May 28, 2014 6:40 am

Re: Catastrophic Vesta Failure after Apt-get update
  • Quote

Post by cagatay » Thu Jan 29, 2015 10:14 am

This is what I am getting when trying to restart mysql

Image
Top

mcsteevie
Posts: 11
Joined: Thu Jan 29, 2015 3:13 am

Re: Catastrophic Vesta Failure after Apt-get update
  • Quote

Post by mcsteevie » Thu Jan 29, 2015 10:24 am

Can you check the open file limit?

Code: Select all

sudo -u mysql bash

ulimit -a
Should give you a load of readouts. Please look for the line that starts with "open files" and post here.
Top

cagatay
Posts: 119
Joined: Wed May 28, 2014 6:40 am

Re: Catastrophic Vesta Failure after Apt-get update
  • Quote

Post by cagatay » Thu Jan 29, 2015 10:29 am

mcsteevie wrote:Can you check the open file limit?

Code: Select all

sudo -u mysql bash

ulimit -a
Should give you a load of readouts. Please look for the line that starts with "open files" and post here.
I posted the last message before I read your message, please hold now I am dealing with apache. Your solution stopped mysql errors, but because I am on a new server I have to figure out a way starting apache (ip address change)
Top

cagatay
Posts: 119
Joined: Wed May 28, 2014 6:40 am

Re: Catastrophic Vesta Failure after Apt-get update
  • Quote

Post by cagatay » Thu Jan 29, 2015 12:00 pm

mcsteevie wrote:
cagatay wrote:Image

DONT UPDATE MYSQL OR YOU VESTA WILL FAIL
Error 24 and "can't open file" usually mean that there are too many files open (the open file limit may be set too low). Have you tried adding the following to /etc/my.cnf:

Code: Select all

[mysqld]

open_files_limit = 100000
Make sure you restart mysql after the change.

Thank you very much, it solved the problem.
Top

mcsteevie
Posts: 11
Joined: Thu Jan 29, 2015 3:13 am

Re: Catastrophic Vesta Failure after Apt-get update
  • Quote

Post by mcsteevie » Thu Jan 29, 2015 12:17 pm

Glad it helped :-)
Top


Post Reply
  • Print view

8 posts • Page 1 of 1

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password