Stephen Schmitt
New Member
Hi folks,
I'm new to knownhost and VPS hosting in general.. and am preparing to migrate my website over from another shared hosting provider.
I thought I would post here an interesting dilemma and how I solved it because I bet it affects others here:
After first logging in, I found that MySQL didn't support the InnoDB storage engine on my new vps server, which is a major problem as I need the transactional/acid support that it provides. After quite a bit of poking around and googling ( getting used to having root access!) I finally found the mysql errorlog files and the reason for the problem.
In the log file was these lines:
Taking that advice and editing the etc/my.cnf file to add the innodb_use_native_aio = 0 line and and restarting the mysql service fixed the problem.
Just thought I would share in case anyone else is having this problem! I'm sure there's a better solution than just disabling the native_aio, but the above got me up and running...
I'm new to knownhost and VPS hosting in general.. and am preparing to migrate my website over from another shared hosting provider.
I thought I would post here an interesting dilemma and how I solved it because I bet it affects others here:
After first logging in, I found that MySQL didn't support the InnoDB storage engine on my new vps server, which is a major problem as I need the transactional/acid support that it provides. After quite a bit of poking around and googling ( getting used to having root access!) I finally found the mysql errorlog files and the reason for the problem.
In the log file was these lines:
Code:
130430 21:43:51 InnoDB: Using Linux native AIO
130430 21:43:51 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.
130430 21:43:53 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
130430 21:43:53 InnoDB: Fatal error: cannot initialize AIO sub-system
130430 21:43:53 [ERROR] Plugin 'InnoDB' init function returned error.
130430 21:43:53 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
Taking that advice and editing the etc/my.cnf file to add the innodb_use_native_aio = 0 line and and restarting the mysql service fixed the problem.
Just thought I would share in case anyone else is having this problem! I'm sure there's a better solution than just disabling the native_aio, but the above got me up and running...