Centos 6.2 mysql sorununu çözebilecek arkadaşlar bi bakabilirmi?
Stopping mysqld: [ OK ]
MySQL Daemon failed to start.
Starting mysqld: [FAILED]
bu "/var/lib/mysql" dizinde bu "mysql.sock" dosya oluşmuyor manuel oluştursak bile mysql restart etmeye çalıştığımızda dosya siliniyor.
Centos 6.2 - MySQL başlatmada sorun.
4
●901
- 26-12-2014, 21:03:18/var/log/mysqld.log içeriği
--------------------------------------------------------------------------------------------
141226 21:50:22 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
141226 21:50:22 [Note] Plugin 'FEDERATED' is disabled.
141226 21:50:22 InnoDB: The InnoDB memory heap is disabled
141226 21:50:22 InnoDB: Mutexes and rw_locks use GCC atomic builtins
141226 21:50:22 InnoDB: Compressed tables use zlib 1.2.3
141226 21:50:22 InnoDB: Using Linux native AIO
141226 21:50:22 InnoDB: Warning: io_setup() failed with EAGAIN. Will make 5 attempts before giving up.
InnoDB: Warning: io_setup() attempt 1 failed.
InnoDB: Warning: io_setup() attempt 2 failed.
InnoDB: Warning: io_setup() attempt 3 failed.
InnoDB: Warning: io_setup() attempt 4 failed.
InnoDB: Warning: io_setup() attempt 5 failed.
141226 21:50:24 InnoDB: Error: io_setup() failed with EAGAIN after 5 attempts.
InnoDB: You can disable Linux Native AIO by setting innodb_use_native_aio = 0 in my.cnf
141226 21:50:24 InnoDB: Fatal error: cannot initialize AIO sub-system
141226 21:50:24 [ERROR] Plugin 'InnoDB' init function returned error.
141226 21:50:24 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
141226 21:50:24 [ERROR] Unknown/unsupported storage engine: InnoDB
141226 21:50:24 [ERROR] Aborting
141226 21:50:24 [Note] /usr/libexec/mysqld: Shutdown complete
----------------------------------------------------------------------
Bu "/var/lib/mysql/" dizinde sadece 3 klasör var
bu durum mysql güncel sürümlerde olmakta "mysql 5.1" sorun olmuyor - 05-03-2015, 01:24:48Çözüm 1
-----------
sudo -u mysql mysqld --skip-innodb --default-storage-engine=myisam
Bu komut sonrasında tekrar restart edin bakalım olacak mı?
Çözüm 2
--------------
my.cnf dosyanı nano ile açıp şu kodları yapıştır.
[mysqld] innodb=OFF ignore-builtin-innodb skip-innodb default-storage-engine=myisam default-tmp-storage-engine=myisam
Çözüm 3
--------------
cd /var/lib/mysql
Yukarıdaki dizine girip
rm /var/lib/mysql/ib_logfile0
rm /var/lib/mysql/ib_logfile1
bu komutlar ile ilgili log dosyalarını silin ve tekrar deneyin.
Bunlardan biri mutlaka işe yarar diye düşünüyorum.