# Nginx 0.8.25 on an Xen VPS - Ubuntu

**URL:** <https://www.ruby-forum.com/t/nginx-0-8-25-on-an-xen-vps-ubuntu/179098>\
**Category:** NGINX\
**Created:** [November 17, 2009, 5:22pm UTC](https://www.ruby-forum.com/t/nginx-0-8-25-on-an-xen-vps-ubuntu/179098 "2009-11-17T17:22:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sovok](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/b5a626/32.png) [@sovok](https://www.ruby-forum.com/u/sovok)\
**Post date:** [November 17, 2009, 5:22pm UTC](https://www.ruby-forum.com/t/nginx-0-8-25-on-an-xen-vps-ubuntu/179098/1 "2009-11-17T17:22:20Z")

</div>

Hello, I just build nginx from source on a new VPS based on Xen. The  
system is running Ubuntu.

The build was fine also the installation, but when starting it, the  
workers are not starting and have this error in error\_log:

eventfd() failed (38: Function not implemented)  
worker process 2345 exited with fatal code 2 and can not be respawn

Can anyone tell me whats the problem?

---

<div class="post-metadata">

**Author:** ![sovok](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/b5a626/32.png) [@sovok](https://www.ruby-forum.com/u/sovok)\
**Post date:** [November 17, 2009, 5:25pm UTC](https://www.ruby-forum.com/t/nginx-0-8-25-on-an-xen-vps-ubuntu/179098/2 "2009-11-17T17:25:51Z")

</div>

Robert G. wrote:

> Hello, I just build nginx from source on a new VPS based on Xen. The  
> system is running Ubuntu.
> 
> The build was fine also the installation, but when starting it, the  
> workers are not starting and have this error in error\_log:
> 
> eventfd() failed (38: Function not implemented)  
> worker process 2345 exited with fatal code 2 and can not be respawn
> 
> Can anyone tell me whats the problem?

Never mind, my fault 😃  
I found the problem!

---

<div class="post-metadata">

**Author:** ![sovok](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/b5a626/32.png) [@sovok](https://www.ruby-forum.com/u/sovok)\
**Post date:** [November 17, 2009, 5:58pm UTC](https://www.ruby-forum.com/t/nginx-0-8-25-on-an-xen-vps-ubuntu/179098/3 "2009-11-17T17:58:05Z")

</div>

Robert G. wrote:

> > Can anyone tell me whats the problem?
> 
> Never mind, my fault 😃  
> I found the problem!

Which was what?

---

<div class="post-metadata">

**Author:** ![sovok](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/b5a626/32.png) [@sovok](https://www.ruby-forum.com/u/sovok)\
**Post date:** [November 24, 2010, 5:03pm UTC](https://www.ruby-forum.com/t/nginx-0-8-25-on-an-xen-vps-ubuntu/179098/4 "2010-11-24T17:03:51Z")

</div>

Robert G. wrote in post #868145:

> Robert G. wrote:
> 
> > Hello, I just build nginx from source on a new VPS based on Xen. The  
> > system is running Ubuntu.
> > 
> > The build was fine also the installation, but when starting it, the  
> > workers are not starting and have this error in error\_log:
> > 
> > eventfd() failed (38: Function not implemented)  
> > worker process 2345 exited with fatal code 2 and can not be respawn
> > 
> > Can anyone tell me whats the problem?
> 
> Never mind, my fault 😃  
> I found the problem!

And what was the problem, and how did you work around the solution  
Robert G.?

---

<div class="post-metadata">

**Author:** ![sovok](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/b5a626/32.png) [@sovok](https://www.ruby-forum.com/u/sovok)\
**Post date:** [November 24, 2010, 11:13pm UTC](https://www.ruby-forum.com/t/nginx-0-8-25-on-an-xen-vps-ubuntu/179098/5 "2010-11-24T23:13:19Z")

</div>

The very same issue is described here and solution was given by Maxim.

[quote="nginx binary was compiled with file aio support , but your  
system doesn’t have proper interfaces (lacks eventfd() syscall).  
Solution is to recompile nginx without file aio support. "]

[/quote]

More at here [eventfd() failed](http://forum.nginx.org/read.php?2,150853,150853#msg-150853)

Posted at Nginx Forum:

> **[Re: nginx 0.8.25 on an Xen VPS - Ubuntu.](https://forum.nginx.org/read.php?2,23577,153119#msg-153119)**
>
> Robert Gabriel wrote: \> Hello, I just build nginx from source on a new VPS based on Xen. The \> system is running Ubuntu. \> \> The build was fine also the installation, but when starting it, the \> workers are not starting and have this...
