Mysql after ./build all d stop working

alipour66m

Verified User
Joined
Feb 22, 2013
Messages
69
Hi
after i did a ./build update ./build all d
mysql stoped and does not start


[root@server mysql]# service mysqld start
Starting MySQL.The server quit without updating PID file (/var/lib/mysql/server.hostkade.com.pid).


this is my log

150620 16:07:02 mysqld_safe mysqld from pid file /var/lib/mysql/server.hostkade. com.pid ended
150620 16:07:08 mysqld_safe Starting mysqld daemon with databases from /var/lib/ mysql
2015-06-20 16:07:08 0 [Warning] 'THREAD_CONCURRENCY' is deprecated and will be r emoved in a future release.
2015-06-20 16:07:08 0 [Warning] TIMESTAMP with implicit DEFAULT value is depreca ted. Please use --explicit_defaults_for_timestamp server option (see documentati on for more details).
2015-06-20 16:07:08 0 [Note] /usr/sbin/mysqld (mysqld 5.6.25-log) starting as pr ocess 32597 ...
2015-06-20 16:07:08 32597 [Note] Plugin 'FEDERATED' is disabled.
2015-06-20 16:07:08 32597 [Note] InnoDB: Using atomics to ref count buffer pool pages
2015-06-20 16:07:08 32597 [Note] InnoDB: The InnoDB memory heap is disabled
2015-06-20 16:07:08 32597 [Note] InnoDB: Mutexes and rw_locks use GCC atomic bui ltins
2015-06-20 16:07:08 32597 [Note] InnoDB: Memory barrier is not used
2015-06-20 16:07:08 32597 [Note] InnoDB: Compressed tables use zlib 1.2.3
2015-06-20 16:07:08 32597 [Note] InnoDB: Using Linux native AIO
2015-06-20 16:07:08 32597 [Note] InnoDB: Using CPU crc32 instructions
2015-06-20 16:07:08 32597 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2015-06-20 16:07:08 32597 [Note] InnoDB: Completed initialization of buffer pool
2015-06-20 16:07:08 32597 [Note] InnoDB: Restoring page 0 of tablespace 0
2015-06-20 16:07:08 32597 [Warning] InnoDB: Doublewrite does not have page_no=0 of space: 0
2015-06-20 16:07:08 32597 [ERROR] InnoDB: space header page consists of zero byt es in data file ./ibdata1
2015-06-20 16:07:08 32597 [ERROR] InnoDB: Could not open or create the system ta blespace. If you tried to add new data files to the system tablespace, and it fa iled here, you should now edit innodb_data_file_path in my.cnf back to what it w as, and remove the new ibdata files InnoDB created in this failed attempt. InnoD B only wrote those files full of zeros, but did not yet use them in any way. But be careful: do not remove old data files which contain your precious data!
2015-06-20 16:07:08 32597 [ERROR] Plugin 'InnoDB' init function returned error.
2015-06-20 16:07:08 32597 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGI NE failed.
2015-06-20 16:07:08 32597 [ERROR] Unknown/unsupported storage engine: InnoDB
2015-06-20 16:07:08 32597 [ERROR] Aborting

2015-06-20 16:07:08 32597 [Note] Binlog end
2015-06-20 16:07:08 32597 [Note] Shutting down plugin 'partition'
2015-06-20 16:07:08 32597 [Note] Shutting down plugin 'ARCHIVE'
2015-06-20 16:07:08 32597 [Note] Shutting down plugin 'BLACKHOLE'
2015-06-20 16:07:08 32597 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'
2015-06-20 16:07:08 32597 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'
2015-06-20 16:07:08 32597 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS'
2015-06-20 16:07:08 32597 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN'
2015-06-20 16:07:08 32597 [Note] Shutting down plugin 'INNODB_SYS_FIELDS'
2015-06-20 16:07:08 32597 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS'
2015-06-20 16:07:08 32597 [Note] Shutting down plugin 'INNODB_SYS_INDEXES'
2015-06-20 16:07:08 32597 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS'
2015-06-20 16:07:08 32597 [Note] Shutting down plugin 'INNODB_SYS_TABLES'
2015-06-20 16:07:08 32597 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE'
2015-06-20 16:07:08 32597 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE'
2015-06-20 16:07:08 32597 [Note] Shutting down plugin 'INNODB_FT_CONFIG'
2015-06-20 16:07:08 32597 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED'
2015-06-20 16:07:08 32597 [Note] Shutting down plugin 'INNODB_FT_DELETED'
2015-06-20 16:07:08 32597 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWOR D'
2015-06-20 16:07:08 32597 [Note] Shutting down plugin 'INNODB_METRICS'
2015-06-20 16:07:08 32597 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS'
2015-06-20 16:07:08 32597 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU'
2015-06-20 16:07:08 32597 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE'
2015-06-20 16:07:08 32597 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESE T'
2015-06-20 16:07:08 32597 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX'
2015-06-20 16:07:08 32597 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET'
2015-06-20 16:07:08 32597 [Note] Shutting down plugin 'INNODB_CMPMEM'
2015-06-20 16:07:08 32597 [Note] Shutting down plugin 'INNODB_CMP_RESET'
2015-06-20 16:07:08 32597 [Note] Shutting down plugin 'INNODB_CMP'
2015-06-20 16:07:08 32597 [Note] Shutting down plugin 'INNODB_LOCK_WAITS'
2015-06-20 16:07:08 32597 [Note] Shutting down plugin 'INNODB_LOCKS'
2015-06-20 16:07:08 32597 [Note] Shutting down plugin 'INNODB_TRX'
2015-06-20 16:07:08 32597 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
2015-06-20 16:07:08 32597 [Note] Shutting down plugin 'CSV'
2015-06-20 16:07:08 32597 [Note] Shutting down plugin 'MEMORY'
2015-06-20 16:07:08 32597 [Note] Shutting down plugin 'MRG_MYISAM'
2015-06-20 16:07:08 32597 [Note] Shutting down plugin 'MyISAM'
2015-06-20 16:07:08 32597 [Note] Shutting down plugin 'sha256_password'
2015-06-20 16:07:08 32597 [Note] Shutting down plugin 'mysql_old_password'
2015-06-20 16:07:08 32597 [Note] Shutting down plugin 'mysql_native_password'
2015-06-20 16:07:08 32597 [Note] Shutting down plugin 'binlog'
2015-06-20 16:07:08 32597 [Note] /usr/sbin/mysqld: Shutdown complete
 
Hello,

Pay attention to these lines:


2015-06-20 16:07:08 32597 [ERROR] InnoDB: space header page consists of zero bytes in data file ./ibdata1
2015-06-20 16:07:08 32597 [ERROR] InnoDB: Could not open or create the system tablespace. If you tried to add new data files to the system tablespace, and it failed here, you should now edit innodb_data_file_path in my.cnf back to what it was, and remove the new ibdata files InnoDB created in this failed attempt. InnoDB only wrote those files full of zeros, but did not yet use them in any way. But be careful: do not remove old data files which contain your precious data!
2015-06-20 16:07:08 32597 [ERROR] Plugin 'InnoDB' init function returned error.
2015-06-20 16:07:08 32597 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2015-06-20 16:07:08 32597 [ERROR] Unknown/unsupported storage engine: InnoDB

and you probably need follow this:

- MySQL :: MySQL 5.6 Reference Manual :: 14.18.2 Forcing InnoDB Recovery
https://dev.mysql.com/doc/refman/5.6/en/forcing-innodb-recovery.html
 
need help

after this problem i have renamed ibdata1 to ibdata2 and restart but nothing happend and then renamed to ibdata1
I disabled innodb and now mysql is up and running ....
but i need to fix innodb
i have deleted ib_logfile1 and ib_logfile2 today :(
what should i do?
 
zEitEr Fixed my problem

zEitEr (alex GR.) Fixed my problem completly.
thank you very much
Я ****************аго********ар******** ********е****************
 
Back
Top