# Problem in first usage of nginx

**URL:** <https://www.ruby-forum.com/t/problem-in-first-usage-of-nginx/204916>\
**Category:** NGINX\
**Created:** [March 24, 2011, 9:10pm UTC](https://www.ruby-forum.com/t/problem-in-first-usage-of-nginx/204916 "2011-03-24T21:10:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dubstep](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/cdc98d/32.png) [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Post date:** [March 24, 2011, 9:10pm UTC](https://www.ruby-forum.com/t/problem-in-first-usage-of-nginx/204916/1 "2011-03-24T21:10:51Z")

</div>

Hello,  
I have several questions about using NginX.

1. 

After I first install nginx-0.8.41 in Ubuntu 8.04 system, with the  
default  
.conf file.  
I start nginx with 127.0.0.1:8000, however, I can not see the default  
webpage. The browser can not connect to server.  
Could anyone help me to figure it out?

1. 

I am following the instructions in  
[http://wiki.nginx.org/HttpChunkinModule](http://wiki.nginx.org/HttpChunkinModule)

to configure nginx.  
when I start nginx, I encounter the error:  
[emerg]: unknown directive “chunkin” in ./conf/nginx.conf:36

The line is  
35 server {  
36 chunkin on;  
37 listen 127.0.0.1:8000;

Thanks,  
Yanxin

---

<div class="post-metadata">

**Author:** ![yanxin\_z](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/d6d6ee/32.png) [@yanxin\_z](https://www.ruby-forum.com/u/yanxin_z)\
**Post date:** [March 24, 2011, 9:26pm UTC](https://www.ruby-forum.com/t/problem-in-first-usage-of-nginx/204916/2 "2011-03-24T21:26:31Z")

</div>

Hello Yanxin,

starts nginx if you not set the chunkin on; option?

Chunkin is no build in option, you must build ngnix from source. Use

–add-module=/path/to/chunkin-nginx-module

while you configure…Described here:

[http://wiki.nginx.org/HttpChunkinModule#Installation](http://wiki.nginx.org/HttpChunkinModule#Installation)

If you already do this, please show us the output from

nginx -V

Cheers,  
Alexander

---

<div class="post-metadata">

**Author:** ![yanxin\_z](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/d6d6ee/32.png) [@yanxin\_z](https://www.ruby-forum.com/u/yanxin_z)\
**Post date:** [March 25, 2011, 8:50am UTC](https://www.ruby-forum.com/t/problem-in-first-usage-of-nginx/204916/3 "2011-03-25T08:50:59Z")

</div>

On Fri, Mar 25, 2011 at 4:03 AM, Yanxin Z. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> [GitHub - nginxinc/nginx-wiki: ARCHIVED -- Source for the now archived NGINX Wiki section of https://www.nginx.com · GitHub](http://wiki.nginx.org/HttpChunkinModule)  
> to configure nginx.  
> when I start nginx, I encounter the error:  
> [emerg]: unknown directive “chunkin” in ./conf/nginx.conf:36

Are you sure you are using the nginx instance that you build yourself?

By default, nginx will be installed into /usr/local/nginx/. Ensure  
you’re using this nginx instead of the nginx shipped by your OS  
vender. You can use the absolute path of your nginx:

```
/usr/local/nginx/sbin/nginx -c /path/to/your/nginx.conf

```

Cheers,  
-agentzh

---

<div class="post-metadata">

**Author:** ![yanxin\_z](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/d6d6ee/32.png) [@yanxin\_z](https://www.ruby-forum.com/u/yanxin_z)\
**Post date:** [March 25, 2011, 2:26pm UTC](https://www.ruby-forum.com/t/problem-in-first-usage-of-nginx/204916/4 "2011-03-25T14:26:56Z")

</div>

([http://wiki.nginx.org/HttpChunkinModule](http://wiki.nginx.org/HttpChunkinModule))  
[http://wiki.nginx.org/HttpChunkinModule](http://wiki.nginx.org/HttpChunkinModule)  
([http://wiki.nginx.org/HttpChunkinModule](http://wiki.nginx.org/HttpChunkinModule))  
This module is not distributed with the Nginx source. See the  
installation instructions  
([http://wiki.nginx.org/HttpChunkinModule#Installation](http://wiki.nginx.org/HttpChunkinModule#Installation)) .

Thu, 24 Mar 2011 13:03:36 -0700 Yanxin Z. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

Hello, I have several questions about using NginX.

1. After I first install nginx-0.8.41 in Ubuntu 8.04 system, with the  
default .conf file. I start nginx with 127.0.0.1:8000, however, I can  
not see the default webpage. The browser can not connect to server.  
Could anyone help me to figure it out?
2. 

I am following the instructions in  
([http://wiki.nginx.org/HttpChunkinModule](http://wiki.nginx.org/HttpChunkinModule))  
[http://wiki.nginx.org/HttpChunkinModule](http://wiki.nginx.org/HttpChunkinModule)  
([http://wiki.nginx.org/HttpChunkinModule](http://wiki.nginx.org/HttpChunkinModule))  
to configure nginx. when I start nginx, I encounter the error: [emerg]:  
unknown directive “chunkin” in ./conf/nginx.conf:36  
The line is 35 server { 36 chunkin on; 37 listen  
127.0.0.1:8000;

Thanks,Yanxin
