Welcome! Log In Create A New Profile

Advanced

Re: nginx: worker process exited with fatal code 2 and cannot be respawn | eventfd() failed.

Eric Agbeli
November 26, 2010 10:48AM
Maxim Dounin wrote in post #964105:
> Hello!
>
> On Fri, Nov 26, 2010 at 02:59:11PM +0100, Eric Agbeli wrote:
>
>> >> not have control over. So updating to the latest CentOS is not an option
>> > ./configure && make && make install
>> >
>> > Maxim Dounin
>>
>>
>> Hi in trying to recompile with the command -$./configure
>> --without-file-aio. I am faced with this error.
>>
>> ./configure: error: invalid option "--without-file-aio"
>
> There are no configure argument --without-file-aio, and this error
> is expected.
>
>> I alternatively compiled with the latest nginx source file(nginx-0.8.53)
>> without "--with-file-aio" configure option and it compiled ok. But after
>> reinstalling nginx on the system and running nginx i have the same error
>> existing in the error logs.
>
> Most likely you are starting wrong binary, not the one you've just
> compiled and installed.
>
> Please follow startup scripts you use to find binary you actually
> starting and examine it (with ls -l to check date/time, via
> running with -V switch to see configure arguments).
>
> Maxim Dounin

Thanks a mil for drawing my attention to the fact that i was running the
old binary. I investigated further and realized that the startup script
as you stated was pointing to an old binary. So I modified the script to
point to the new binary and all seems to be working perfectly well. :D
:D

I must add that it seems right to build with the new source which is
nginx-0.8.53. One other thing was that, I faced an error while pointing
to the new binary file. Error is shown below

unknown directive "ssl" in /etc/nginx/nginx.conf

The solution to solving this problem was to recompile nginx with the
configure option "--with-http_ssl_module".

../configure --with-http_ssl_module

THANKS MAXIM!!! 'MEDAASE' as we say in my local dialect.
Cheers!

--
Posted via http://www.ruby-forum.com/.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

nginx: worker process exited with fatal code 2 and cannot be respawn | eventfd() failed.

Eric A. November 24, 2010 11:20AM

Re: nginx: worker process exited with fatal code 2 and cannot be respawn | eventfd() failed.

Maxim Dounin November 24, 2010 11:44AM

Re: nginx: worker process exited with fatal code 2 and cannot be respawn | eventfd() failed.

Gena Makhomed November 24, 2010 12:10PM

Re: nginx: worker process exited with fatal code 2 and cannot be respawn | eventfd() failed.

Eric A. November 24, 2010 05:56PM

Re: nginx: worker process exited with fatal code 2 and cannot be respawn | eventfd() failed.

Maxim Dounin November 25, 2010 06:02AM

Re: nginx: worker process exited with fatal code 2 and cannot be respawn | eventfd() failed.

Eric Agbeli November 26, 2010 09:04AM

Re: nginx: worker process exited with fatal code 2 and cannot be respawn | eventfd() failed.

Maxim Dounin November 26, 2010 09:38AM

Re: nginx: worker process exited with fatal code 2 and cannot be respawn | eventfd() failed.

Eric Agbeli November 26, 2010 10:48AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 51
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready