Nginx

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

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

Hi,

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

Le 7 juil. 2010 à 16:05, Nuno Magalhães a écrit :

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 :