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 Debian/Ubuntu
  • Search

{Solved} MySQL ERROR

Debian/Ubuntu related topics
Post Reply
  • Print view
Advanced search
12 posts
  • 1
  • 2
  • Next
LaunchHost
Posts: 16
Joined: Wed Jun 15, 2016 8:40 pm

{Solved} MySQL ERROR
  • Quote

Post by LaunchHost » Wed Jun 15, 2016 9:13 pm

HI,

I have a problem. My vestaCP server gives this problem:


root@websrv:~# systemctl status mysql.service -l
● mysql.service - LSB: Start and stop the mysql database server daemon
Loaded: loaded (/etc/init.d/mysql)
Active: failed (Result: exit-code) since Wed 2016-06-15 20:37:06 EDT; 4min 26s ago
Process: 7791 ExecStart=/etc/init.d/mysql start (code=exited, status=1/FAILURE)

Jun 15 20:37:06 websrv.launchhost.net mysql[7791]: Starting MySQL database server: mysqld . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . failed!
Jun 15 20:37:06 websrv.launchhost.net systemd[1]: mysql.service: control process exited, code=exited status=1
Jun 15 20:37:06 websrv.launchhost.net systemd[1]: Failed to start LSB: Start and stop the mysql database server daemon.
Jun 15 20:37:06 websrv.launchhost.net systemd[1]: Unit mysql.service entered failed state.

Can help everbody my please?

The mysql server don't want start after a backup image form the disk image imported on the server. The web server works fine the websites are online but the mysql server don't work only. Anthor things works fine!
Last edited by LaunchHost on Fri Jun 17, 2016 9:33 pm, edited 1 time in total.
Top

joem
Posts: 378
Joined: Thu Nov 13, 2014 8:33 am

Os: CentOS 6x
Web: nginx + php-fpm
Re: MySQL ERROR
  • Quote

Post by joem » Thu Jun 16, 2016 6:18 am

LaunchHost wrote:HI,

I have a problem. My vestaCP server gives this problem:


root@websrv:~# systemctl status mysql.service -l
● mysql.service - LSB: Start and stop the mysql database server daemon
Loaded: loaded (/etc/init.d/mysql)
Active: failed (Result: exit-code) since Wed 2016-06-15 20:37:06 EDT; 4min 26s ago
Process: 7791 ExecStart=/etc/init.d/mysql start (code=exited, status=1/FAILURE)

Jun 15 20:37:06 websrv.launchhost.net mysql[7791]: Starting MySQL database server: mysqld . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . failed!
Jun 15 20:37:06 websrv.launchhost.net systemd[1]: mysql.service: control process exited, code=exited status=1
Jun 15 20:37:06 websrv.launchhost.net systemd[1]: Failed to start LSB: Start and stop the mysql database server daemon.
Jun 15 20:37:06 websrv.launchhost.net systemd[1]: Unit mysql.service entered failed state.

Can help everbody my please?

The mysql server don't want start after a backup image form the disk image imported on the server. The web server works fine the websites are online but the mysql server don't work only. Anthor things works fine!
you can try,

Code: Select all

chown mysql:mysql /var/lib/mysql
Then reboot mysql
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: MySQL ERROR
  • Quote

Post by skurudo » Thu Jun 16, 2016 10:33 am

Some errors in mysql error log?
https://vestacp.com/docs/#config-log-lo ... ian-ubuntu
Top

LaunchHost
Posts: 16
Joined: Wed Jun 15, 2016 8:40 pm

Re: MySQL ERROR
  • Quote

Post by LaunchHost » Thu Jun 16, 2016 2:46 pm

Hi,

the command don't work.

But the error log:
160617 14:45:02 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
160616 14:45:02 [Note] /usr/sbin/mysqld (mysqld 5.5.49-0+deb8u1) starting as process 30774 ...
160616 14:45:02 [Note] Plugin 'FEDERATED' is disabled.
160616 14:45:02 InnoDB: The InnoDB memory heap is disabled
160616 14:45:02 InnoDB: Mutexes and rw_locks use GCC atomic builtins
160616 14:45:02 InnoDB: Compressed tables use zlib 1.2.8
160616 14:45:02 InnoDB: Using Linux native AIO
160616 14:45:02 InnoDB: Initializing buffer pool, size = 128.0M
160616 14:45:02 InnoDB: Completed initialization of buffer pool
160616 14:45:02 InnoDB: highest supported file format is Barracuda.
InnoDB: The log sequence number in ibdata files does not match
InnoDB: the log sequence number in the ib_logfiles!
160616 14:45:02 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
InnoDB: Warning: a page in the doublewrite buffer is not within space
InnoDB: bounds; space id 100 page number 13, page 48 in doublewrite buf.
160616 14:45:03 InnoDB: Error: page 7 log sequence number 49134153
InnoDB: is in the future! Current system log sequence number 1595916.
"/var/log/mysql/error.log" 2086 lines, 128260 characters
Top

LaunchHost
Posts: 16
Joined: Wed Jun 15, 2016 8:40 pm

Re: MySQL ERROR
  • Quote

Post by LaunchHost » Thu Jun 16, 2016 2:50 pm

And this error:


160616 14:45:04 InnoDB: Error: page 366 log sequence number 115166166
InnoDB: is in the future! Current system log sequence number 1595916.
InnoDB: Your database may be corrupt or you may have copied the InnoDB
InnoDB: tablespace but not the InnoDB log files. See
InnoDB: http://dev.mysql.com/doc/refman/5.5/en/ ... overy.html
InnoDB: for more information.
Top

LaunchHost
Posts: 16
Joined: Wed Jun 15, 2016 8:40 pm

Re: MySQL ERROR
  • Quote

Post by LaunchHost » Thu Jun 16, 2016 4:51 pm

Can help any body my?
Top

LaunchHost
Posts: 16
Joined: Wed Jun 15, 2016 8:40 pm

Re: MySQL ERROR
  • Quote

Post by LaunchHost » Thu Jun 16, 2016 7:05 pm

Can any body help my please?
Top

joem
Posts: 378
Joined: Thu Nov 13, 2014 8:33 am

Os: CentOS 6x
Web: nginx + php-fpm
Re: MySQL ERROR
  • Quote

Post by joem » Thu Jun 16, 2016 11:07 pm

LaunchHost wrote:Can any body help my please?

How much ram do you have? The best guide I found on how to fix your issue is http://blackbird.si/mysql-corrupted-inn ... tep-guide/
Top

LaunchHost
Posts: 16
Joined: Wed Jun 15, 2016 8:40 pm

Re: MySQL ERROR
  • Quote

Post by LaunchHost » Fri Jun 17, 2016 10:01 am

Hi,

I have started the mysql but. VestaCP can't connect with the localhost.

this problem: http://prntscr.com/bhgv5r
And roundcube are done: http://prntscr.com/bhgvgz
Top

LaunchHost
Posts: 16
Joined: Wed Jun 15, 2016 8:40 pm

Re: MySQL ERROR
  • Quote

Post by LaunchHost » Fri Jun 17, 2016 10:03 am

joem wrote:
LaunchHost wrote:Can any body help my please?

How much ram do you have? The best guide I found on how to fix your issue is http://blackbird.si/mysql-corrupted-inn ... tep-guide/
and i have 2 GB ram for the server.
Top


Post Reply
  • Print view

12 posts
  • 1
  • 2
  • Next

Return to “Debian/Ubuntu”



  • 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
 

 

cron

Login  •  Register

I forgot my password