13 messages in ru.sysoev.nginxRe: Serving mp3 files from Nginx
FromSent OnAttachments
nhyt...@public.gmane.orgMay 18, 2007 11:44 pm 
Evan MillerMay 19, 2007 12:05 am 
nhyt...@public.gmane.orgMay 19, 2007 12:28 am 
Igor SysoevMay 19, 2007 1:07 am 
Sharriff AinaMay 19, 2007 3:29 am 
nhyt...@public.gmane.orgMay 19, 2007 3:33 am 
焦胜强May 19, 2007 4:30 am 
Sharriff AinaMay 19, 2007 4:45 am 
Igor SysoevMay 19, 2007 5:08 am 
nhyt...@public.gmane.orgMay 20, 2007 1:44 am 
nhyt...@public.gmane.orgMay 20, 2007 2:07 am 
Igor SysoevMay 20, 2007 5:13 am 
Jure PečarMay 28, 2007 4:41 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: Serving mp3 files from NginxActions...
From:Igor Sysoev (is-G@public.gmane.org)
Date:May 20, 2007 5:13:19 am
List:ru.sysoev.nginx

On Sun, May 20, 2007 at 10:45:13AM +0200,
nhytro-python-S0/GAf8@public.gmane.org wrote:

No it does?nt help, sadly. Thats why I wish someone could make a deb file with
both calls in it. I could not compile Nginx from source, probably for the same
reason.

nginx could not be built with two sendfile() syscall. Only one of them possible. If nginx was built on kernel that understands new sendfile64() syscall, then nginx will be built to use it. Otherwise, old sendfile32() will be used.

-----Urspr?ngliche Nachricht----- Von: nginx-nofU2znGi42HXe+LvDL@public.gmane.org Gesendet: 19.05.07 14:12:39 An: nginx-nofU2znGi42HXe+LvDL@public.gmane.org Betreff: Re: Serving mp3 files from Nginx

On Sat, May 19, 2007 at 12:30:20PM +0200, Sharriff Aina wrote:

it shows:

Linux vps.vc-server.de 2.4.20-021stab028.19.777-enterprise #1 SMP Wed Oct 19
13:05:01 MSD 2005 i686 GNU/Linux

The error "sendfile() failed (38: Function not implemented)" may be because you have installed .deb built on 2.4.21+: it has sendfile64() syscall while pre-2.4.21 has sendfile32() syscall only.

However, I don not understand why configuration reload does not help.

-----Urspr?ngliche Nachricht----- Von: nginx-nofU2znGi42HXe+LvDL@public.gmane.org Gesendet: 19.05.07 10:12:03 An: nginx-nofU2znGi42HXe+LvDL@public.gmane.org Betreff: Re: Serving mp3 files from Nginx

On Sat, May 19, 2007 at 09:29:11AM +0200,
nhytro-python-S0/GAf8@public.gmane.org wrote:

Thanks. But that does not work either. I still have the same error in my log
and the files doe not play. Any other ideas?

What does "uname -a" show ?

-----Urspr?ngliche Nachricht----- Von: nginx-nofU2znGi42HXe+LvDL@public.gmane.org Gesendet: 19.05.07 09:10:04 An: nginx-nofU2znGi42HXe+LvDL@public.gmane.org Betreff: Re: Serving mp3 files from Nginx

<nhytro-python@...> writes:

I have noticed something very strange with Nginx. I can server normal mp3 files from Apache, and the can be played or downloaded normally, the same files do not work on Nginx.

The problem is that your system doesn't support "sendfile", as indicated in the log. In your nginx.conf, delete this line:

sendfile on;

And things should be peachy.

## ======= ERROR LOG

007/05/18 00:26:10 [crit] 3784#0: *6 sendfile() failed (38: Function not implemented) while sending response to client, client: 81.62.17.209, server: localhost, URL: "/test.mp3", host: "www.nhytro.de"

Does anyone have an idea what I have done wrong?

_______________________________________________________________ SMS schreiben mit WEB.DE FreeMail - einfach, schnell und kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192

_______________________________________________________________ SMS schreiben mit WEB.DE FreeMail - einfach, schnell und kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192