atom feed10 messages in ru.sysoev.nginxUpload module can not upload file (Pe...
FromSent OnAttachments
Yanxin Z.Mar 28, 2011 1:08 pm 
Vitaly TskhovrebovMar 28, 2011 1:11 pm 
Yanxin Z.Mar 28, 2011 1:24 pm 
Vitaly TskhovrebovMar 28, 2011 1:26 pm 
Yanxin Z.Mar 28, 2011 1:32 pm 
Vitaly TskhovrebovMar 28, 2011 1:40 pm 
Yanxin Z.Mar 28, 2011 2:43 pm 
Yanxin Z.Mar 28, 2011 5:51 pm 
Vitaly TskhovrebovMar 29, 2011 12:02 am 
Yanxin Z.Mar 29, 2011 9:10 am 
Subject:Upload module can not upload file (Permission denied)
From:Yanxin Z. (lis@ruby-forum.com)
Date:Mar 28, 2011 1:08:08 pm
List:ru.sysoev.nginx

Hi,

I am trying to use upload moduel to upload file. I am following the instructions: http://www.grid.net.ru/nginx/upload.en.html

However, I encountered "503 Service Temporarily Unavailable".

When I looked at error.log, I have following messages:

47 2011/03/28 12:59:52 [notice] 16529#0: nginx/0.8.54 48 2011/03/28 12:59:52 [notice] 16529#0: built by gcc 4.1.2 20080704 (Red Hat 4.1.2-48) 49 2011/03/28 12:59:52 [notice] 16529#0: OS: Linux 2.6.18-194.32.1.el5 50 2011/03/28 12:59:52 [notice] 16529#0: getrlimit(RLIMIT_NOFILE): 1024:1024 51 2011/03/28 12:59:52 [notice] 16530#0: start worker processes 52 2011/03/28 12:59:52 [notice] 16530#0: start worker process 16531 53 2011/03/28 13:00:01 [error] 16531#0: *1 failed to create output file "/home/virus/tmp/0000000001" for "index. html" (13: Permission denied), client: 127.0.0.1, server: , request: "POST /upload HTTP/1.1", host: "127.0.0. 1", referrer: "http://127.0.0.1/"

Even I use root to run the nginx, I still have the problem. I can "touch" the file in /home/virus/tmp directory.

Could anyone help me to figure out the issue? Thanks Yanxin