Nginx doesnt start

Maxim Dounin mdounin at mdounin.ru
Wed Jan 19 00:27:27 MSK 2011


Hello!

On Tue, Jan 18, 2011 at 04:04:52PM -0500, jacppe wrote:

> Hi all, after install nginx using EPEL (yum install nginx) in CentOS
> 5.5. I tried to start the server, but I got this error:
> 
> 2011/01/18 15:56:58 [emerg] 2139#0: eventfd() failed (38: Function not
> implemented)
> 2011/01/18 15:56:58 [alert] 2138#0: worker process 2139 exited with
> fatal code 2 and can not be respawn
> 2011/01/18 16:00:06 [emerg] 2192#0: eventfd() failed (38: Function not
> implemented)
> 2011/01/18 16:00:06 [alert] 2191#0: worker process 2192 exited with
> fatal code 2 and can not be respawn
> 2011/01/18 16:01:15 [emerg] 2261#0: eventfd() failed (38: Function not
> implemented)
> 2011/01/18 16:01:15 [alert] 2260#0: worker process 2261 exited with
> fatal code 2 and can not be respawn
> 
> I need to compile the nginx instead using yum?
> Thanks a lot.

Your nginx binary was compiled with file AIO support and uses 
eventfd() syscall, but your kernel doesn't have this syscall.  You 
have to recompile nginx without --with-file-aio configure argument.

Maxim Dounin



More information about the nginx mailing list