# Nginx doesnt start

**URL:** <https://www.ruby-forum.com/t/nginx-doesnt-start/201963>\
**Category:** NGINX\
**Created:** [January 18, 2011, 10:06pm UTC](https://www.ruby-forum.com/t/nginx-doesnt-start/201963 "2011-01-18T22:06:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [January 18, 2011, 10:06pm UTC](https://www.ruby-forum.com/t/nginx-doesnt-start/201963/1 "2011-01-18T22:06:22Z")

</div>

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.

Posted at Nginx Forum:

> **[Nginx doesnt start](https://forum.nginx.org/read.php?2,167356,167356#msg-167356)**
>
> 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:...

---

<div class="post-metadata">

**Author:** ![jacppe](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/858c86/32.png) [@jacppe](https://www.ruby-forum.com/u/jacppe)\
**Post date:** [January 18, 2011, 10:28pm UTC](https://www.ruby-forum.com/t/nginx-doesnt-start/201963/2 "2011-01-18T22:28:57Z")

</div>

Hello!

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

> 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 D.

---

<div class="post-metadata">

**Author:** ![jacppe](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/858c86/32.png) [@jacppe](https://www.ruby-forum.com/u/jacppe)\
**Post date:** [January 18, 2011, 10:39pm UTC](https://www.ruby-forum.com/t/nginx-doesnt-start/201963/3 "2011-01-18T22:39:01Z")

</div>

Thanks Maxim.

Posted at Nginx Forum:

> **[Re: Nginx doesnt start](https://forum.nginx.org/read.php?2,167356,167370#msg-167370)**
>
> 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:...
