ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MOVE вызывает 500 ошибку



Здравствуйте, Игорь.

MOVE создаёт директории с немерными правами:

 ls -l /usr/home/beon/www/i/users/1/52/
total 4
d---------  2 www   beon  512 Dec 10 13:53 235201
drwxrwxrwx  3 beon  beon  512 Nov  3 22:44 275201

Отладочный лог:

2008/12/10 13:53:27 [debug] 96209#0: *181387 kevent: 658: ft:-1 fl:0020 
ff:00000000 d:73 ud:00000008022196E1
2008/12/10 13:53:27 [debug] 96209#0: *181387 http process request header line
2008/12/10 13:53:27 [debug] 96209#0: *181387 recv: eof:0, avail:73, err:0
2008/12/10 13:53:27 [debug] 96209#0: *181387 recv: fd:658 73 of 1883
2008/12/10 13:53:27 [debug] 96209#0: *181387 http header: "Destination: 
http://b.a0.beon.ru/i/users//1/52/235201/52/9140752/0.jpeg";
2008/12/10 13:53:27 [debug] 96209#0: *181387 kevent: 658: ft:-1 fl:0020 
ff:00000000 d:2 ud:00000008022196E1
2008/12/10 13:53:27 [debug] 96209#0: *181387 http process request header line
2008/12/10 13:53:27 [debug] 96209#0: *181387 recv: eof:0, avail:2, err:0
2008/12/10 13:53:27 [debug] 96209#0: *181387 recv: fd:658 2 of 1810
2008/12/10 13:53:27 [debug] 96209#0: *181387 http header done
2008/12/10 13:53:27 [debug] 96209#0: *181387 event timer del: 658: 1228906586699
2008/12/10 13:53:27 [debug] 96209#0: *181387 generic phase: 0
2008/12/10 13:53:27 [debug] 96209#0: *181387 generic phase: 1
2008/12/10 13:53:27 [debug] 96209#0: *181387 http script var
2008/12/10 13:53:27 [debug] 96209#0: *181387 http script var: "MOVE"
2008/12/10 13:53:27 [debug] 96209#0: *181387 http script value: "GET"
2008/12/10 13:53:27 [debug] 96209#0: *181387 http script equal
2008/12/10 13:53:27 [debug] 96209#0: *181387 http script equal: no
2008/12/10 13:53:27 [debug] 96209#0: *181387 http script if
2008/12/10 13:53:27 [debug] 96209#0: *181387 http script if: false
2008/12/10 13:53:27 [debug] 96209#0: *181387 http script var
2008/12/10 13:53:27 [debug] 96209#0: *181387 http script var: "MOVE"
2008/12/10 13:53:27 [debug] 96209#0: *181387 http script value: "POST"
2008/12/10 13:53:27 [debug] 96209#0: *181387 http script equal
2008/12/10 13:53:27 [debug] 96209#0: *181387 http script equal: no
2008/12/10 13:53:27 [debug] 96209#0: *181387 http script if
2008/12/10 13:53:27 [debug] 96209#0: *181387 http script if: false
2008/12/10 13:53:27 [debug] 96209#0: *181387 find location for 
"/i/temp/9147753/0.jpeg"
2008/12/10 13:53:27 [debug] 96209#0: *181387 find location: "/"
2008/12/10 13:53:27 [debug] 96209#0: *181387 find location: "/i/"
2008/12/10 13:53:27 [debug] 96209#0: *181387 find location for 
"/i/temp/9147753/0.jpeg"
2008/12/10 13:53:27 [debug] 96209#0: *181387 using configuration "/i/"
2008/12/10 13:53:27 [debug] 96209#0: *181387 http cl:-1 max:10485760
2008/12/10 13:53:27 [debug] 96209#0: *181387 generic phase: 3
2008/12/10 13:53:27 [debug] 96209#0: *181387 post rewrite phase: 4
2008/12/10 13:53:27 [debug] 96209#0: *181387 generic phase: 5
2008/12/10 13:53:27 [debug] 96209#0: *181387 access phase: 6
2008/12/10 13:53:27 [debug] 96209#0: *181387 access: 444CF257 000000FF 0000007F
2008/12/10 13:53:27 [debug] 96209#0: *181387 access: 444CF257 000000FF 0000000A
2008/12/10 13:53:27 [debug] 96209#0: *181387 access: 444CF257 FFFFFFFF 444CF257
2008/12/10 13:53:27 [debug] 96209#0: *181387 access phase: 7
2008/12/10 13:53:27 [debug] 96209#0: *181387 post access phase: 8
2008/12/10 13:53:27 [debug] 96209#0: *181387 content phase: 9
2008/12/10 13:53:27 [debug] 96209#0: *181387 content phase: 10
2008/12/10 13:53:27 [debug] 96209#0: *181387 http copy from: 
"/usr/home/beon/www/i/temp/9147753/0.jpeg"
2008/12/10 13:53:27 [debug] 96209#0: *181387 http copy to: 
"/usr/home/beon/www/i/users//1/52/235201/52/9140752/0.jpeg"
2008/12/10 13:53:27 [crit] 96209#0: *181387 mkdir() 
"/usr/home/beon/www/i/users//1/52/235201/52" failed (13: Permission denied), 
client: 87.242.76.68, server:
 b.a0.beon.ru, request: "MOVE /i/temp/9147753/0.jpeg HTTP/1.1", host: 
"b.a0.beon.ru"
2008/12/10 13:53:27 [debug] 96209#0: *181387 http finalize request: 500, 
"/i/temp/9147753/0.jpeg?"
2008/12/10 13:53:27 [debug] 96209#0: *181387 http special response: 500, 
"/i/temp/9147753/0.jpeg"
2008/12/10 13:53:27 [debug] 96209#0: *181387 http set discard body
2008/12/10 13:53:27 [debug] 96209#0: *181387 HTTP/1.1 500 Internal Server Error
Server: nginx/0.6.31
Date: Wed, 10 Dec 2008 10:53:27 GMT
Content-Type: text/html
Content-Length: 193
Connection: close


2008/12/10 13:53:27 [debug] 96209#0: *181387 write new buf t:1 f:0 
0000000801160BE0, pos 0000000801160BE0, size: 162 file: 0, size: 0
2008/12/10 13:53:27 [debug] 96209#0: *181387 http write filter: l:0 f:0 s:162
2008/12/10 13:53:27 [debug] 96209#0: *181387 http output filter 
"/i/temp/9147753/0.jpeg?"
2008/12/10 13:53:27 [debug] 96209#0: *181387 copy filter: 
"/i/temp/9147753/0.jpeg?"
2008/12/10 13:53:27 [debug] 96209#0: *181387 write old buf t:1 f:0 
0000000801160BE0, pos 0000000801160BE0, size: 162 file: 0, size: 0
2008/12/10 13:53:27 [debug] 96209#0: *181387 write new buf t:0 f:0 
0000000000000000, pos 0000000000558AE0, size: 140 file: 0, size: 0
2008/12/10 13:53:27 [debug] 96209#0: *181387 write new buf t:0 f:0 
0000000000000000, pos 0000000000557C00, size: 53 file: 0, size: 0
2008/12/10 13:53:27 [debug] 96209#0: *181387 http write filter: l:1 f:0 s:355
2008/12/10 13:53:27 [debug] 96209#0: *181387 http write filter limit 0
2008/12/10 13:53:27 [debug] 96209#0: *181387 writev: 355 of 355
2008/12/10 13:53:27 [debug] 96209#0: *181387 http write filter 0000000000000000
2008/12/10 13:53:27 [debug] 96209#0: *181387 copy filter: 0 
"/i/temp/9147753/0.jpeg?"
2008/12/10 13:53:27 [debug] 96209#0: *181387 http finalize request: 0, 
"/i/temp/9147753/0.jpeg?"
2008/12/10 13:53:27 [debug] 96209#0: *181387 http close request
2008/12/10 13:53:27 [debug] 96209#0: *181387 http log handler
2008/12/10 13:53:27 [debug] 96209#0: *181387 free: 0000000801160000, unused: 375
2008/12/10 13:53:27 [debug] 96209#0: *181387 close http connection: 658
2008/12/10 13:53:27 [debug] 96209#0: *181387 free: 0000000801D5B000
2008/12/10 13:53:27 [debug] 96209#0: *181387 free: 0000000801D5A800
2008/12/10 13:53:27 [debug] 96209#0: *181387 free: 0000000801434F00, unused: 8
2008/12/10 13:53:27 [debug] 96209#0: *181387 free: 0000000801476C00, unused: 112






-- 
С уважением,
Монашёв Михаил, SoftSearch.ru
mailto:postmaster@xxxxxxxxxxxxx
ICQ# 166233339
http://michael.mindmix.ru/
Без бэкапа по жизни.




 




Copyright © Lexa Software, 1996-2009.