# Nginx

**URL:** <https://www.ruby-forum.com/t/nginx/191210>\
**Category:** NGINX\
**Created:** [July 7, 2010, 3:59pm UTC](https://www.ruby-forum.com/t/nginx/191210 "2010-07-07T15:59:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![axel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/6de8d8/32.png) [@axel](https://www.ruby-forum.com/u/axel)\
**Post date:** [July 7, 2010, 3:59pm UTC](https://www.ruby-forum.com/t/nginx/191210/1 "2010-07-07T15:59:36Z")

</div>

Hi guys,

I just upgraded to nginx 0.7.67 and I noticed there were nor access  
neither error log any longer. I have in my nginx.conf:

```
    error_log /var/log/nginx/error.log warn;
    access_log /var/log/nginx/access.log;

```

When I removed these 2 files and restart nginx, they are properly  
created but they remain empty. For testing purpose I even tried a chmod  
777 and a nginx force-reload and restart. Nothing did the trick.  
Any idea?

Tks

Axel

---

<div class="post-metadata">

**Author:** ![axel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/6de8d8/32.png) [@axel](https://www.ruby-forum.com/u/axel)\
**Post date:** [July 7, 2010, 4:06pm UTC](https://www.ruby-forum.com/t/nginx/191210/2 "2010-07-07T16:06:38Z")

</div>

Try rotating your logs and uping the error log to debug (although the  
access log oughta record hits anyway). Did you symlink from  
sites-avaialble to -enabled (if your distro does that from the package  
(assuming you didn’t compile))?

–  
() ascii-rubanda kampajno - kontraÅ­ html-a retpoÅto  
/\ ascii ribbon campaign - against html e-mail

---

<div class="post-metadata">

**Author:** ![axel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/6de8d8/32.png) [@axel](https://www.ruby-forum.com/u/axel)\
**Post date:** [July 7, 2010, 4:13pm UTC](https://www.ruby-forum.com/t/nginx/191210/3 "2010-07-07T16:13:40Z")

</div>

Hi,

I did symlinked from enabled to available indeed. My nginx is compiled.

Le 7 juil. 2010 Ã 16:05, Nuno MagalhÃ£es a Ã©crit :

---

<div class="post-metadata">

**Author:** ![axel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/6de8d8/32.png) [@axel](https://www.ruby-forum.com/u/axel)\
**Post date:** [July 7, 2010, 4:40pm UTC](https://www.ruby-forum.com/t/nginx/191210/4 "2010-07-07T16:40:00Z")

</div>

OK fixed,

stop and start was not enough. I had to kill all nginx workers and to  
start again. Worked. Some issue with a file pointer probably.  
Thks

Axel

Le 7 juil. 2010 Ã 16:05, Nuno MagalhÃ£es a Ã©crit :
