Problem with nginx test

hello

when i ran command

[email protected] [~]# /usr/local/nginx/sbin/nginx -t
: invalid event type “rtsig” in /usr/local/nginx/conf/nginx.conf:11
configuration file /usr/local/nginx/conf/nginx.conf test failed

what’s wrong with it ?

thanks

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,40664,40664#msg-40664

On Wed, Jan 13, 2010 at 07:44:07AM -0500, assassin85 wrote:

when i ran command

[email protected] [~]# /usr/local/nginx/sbin/nginx -t
: invalid event type “rtsig” in /usr/local/nginx/conf/nginx.conf:11
configuration file /usr/local/nginx/conf/nginx.conf test failed

what’s wrong with it ?

Why do you use “rtsig” event notification method ?
What does “uname -rsmvp” show ?


Igor S.
http://sysoev.ru/en/

i don’t know actually i followed instructions how to install nginx On
cpanel servers

here is the output for command

[email protected][/]# uname -rsmvp
Linux 2.6.18-128.2.1.el5.028stab064.7 #1 SMP Wed Aug 26 15:47:17 MSD
2009 i686 i686

additonal informations

[email protected][/]# /usr/local/nginx/sbin/nginx -v
nginx version: nginx/0.7.63

[email protected][/]# cat /usr/local/nginx/conf/nginx.conf
user nobody;

no need for more workers in the proxy mode

worker_processes 1;

error_log logs/error.log info;

worker_rlimit_nofile 8192;

events {
worker_connections 512; # you might need to increase this setting for
busy servers
use rtsig; # Linux kernels 2.6.x change to epoll
}

http {
server_names_hash_max_size 2048;

include mime.types;
default_type application/octet-stream;

sendfile on;
tcp_nopush on;
tcp_nodelay on;

keepalive_timeout 10;

gzip on;
gzip_min_length 1100;
gzip_buffers 4 32k;
gzip_types text/plain text/html application/x-javascript text/xml
text/css;
ignore_invalid_headers on;

client_header_timeout 3m;
client_body_timeout 3m;
send_timeout 3m;
connection_pool_size 256;
client_header_buffer_size 4k;
large_client_header_buffers 4 32k;
request_pool_size 4k;
output_buffers 4 32k;
postpone_output 1460;

include “/usr/local/nginx/conf/vhost.conf”;
}

this box running on CENTOS 5.4 i686 virtuozzo with cPanel

thanks for reply

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,40664,40738#msg-40738

Inside events tags

  • use rtsig;
  • use epoll;

Best Regards,

Glen L.

-------- Original-Nachricht --------

Datum: Wed, 13 Jan 2010 11:11:04 -0500
Von: “assassin85” [email protected]
An: [email protected]
Betreff: Re: Problem with nginx test

[email protected][/]# cat /usr/local/nginx/conf/nginx.conf
busy servers
use rtsig; # Linux kernels 2.6.x change to epoll

Hmmm… that looks strange. I mean you have Linux kernel
2.6.18-128.2.1.el5.028stab064.7 and I wounder what that comment there
about using epoll on Linux kernels 2.6.x is all about? Ahhh! Yes! I see.
If you use Linux kernel >= 2.6.0 you should use epoll instead of rtsig.
Ohhh boy. That was hard to fix. Phuu…

tcp_nodelay on;
client_header_timeout 3m;
}


nginx mailing list
[email protected]
http://nginx.org/mailman/listinfo/nginx


Preisknaller: GMX DSL Flatrate für nur 16,99 Euro/mtl.!
http://portal.gmx.net/de/go/dsl02

-------- Original-Nachricht --------

Datum: Wed, 13 Jan 2010 11:49:06 -0500
Von: “assassin85” [email protected]
An: [email protected]
Betreff: Re: Problem with nginx test

what is duplicate in the config ?

I think the “text/html” part can be omitted from that line with
“gzip_types”. Change it to something like:

gzip_types text/plain text/css application/x-javascript text/xml
application/xml application/xml+rss text/javascript;

thanks

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,40664,40753#msg-40753


nginx mailing list
[email protected]
http://nginx.org/mailman/listinfo/nginx


Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox
3.5 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser

lol :smiley: i didn’t notice that :slight_smile: , thanks steve for that

now i running the test came with

[email protected] [/]# /usr/local/nginx/sbin/nginx -t
: duplicate MIME type “text/html” in /usr/local/nginx/conf/nginx.conf:29
the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
configuration file /usr/local/nginx/conf/nginx.conf test is successful

what is duplicate in the config ?

thanks

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,40664,40753#msg-40753

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs