Serving mp3 files from Nginx

Sharriff Aina nhytro-python at web.de
Sat May 19 15:46:10 MSD 2007


No, that does not work either. I had earlier even removed the sendfile directive completely

> -----Ursprüngliche Nachricht-----
> Von: nginx at sysoev.ru
> Gesendet: 19.05.07 13:34:06
> An: nginx at sysoev.ru
> Betreff: Re: Re: Serving mp3 files from Nginx

gzip off;
> sendfile off;
> 
> 
> 2007/5/19, nhytro-python at web.de <nhytro-python at web.de>:
> 
> 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
> 
> 
> 
> > -----Ursprš¹ngliche Nachricht-----
> 
> > Von: nginx at sysoev.ru
> > Gesendet: 19.05.07 10:12:03
> > An: nginx at sysoev.ru
> > Betreff: Re: Serving mp3 files from Nginx
> 
> 
> >
> > On Sat, May 19, 2007 at 09:29:11AM +0200, nhytro-python at web.de 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 at sysoev.ru
> > > > Gesendet: 19.05.07
>  09:10:04
> > > > An: nginx at sysoev.ru
> > > > Betreff: Re: Serving mp3 files from Nginx
> > >
> > >
> > > >
> > > >  <nhytro-python at ...> 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.
> > > >
> > > > Evan
> > > >
> > > >
> > > > > ## ======= 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?
> 
> >
> >
> > --
> > Igor Sysoev
> > http://sysoev.ru/en/
> >
> >
> 
> 
> _______________________________________________________________
> SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
> kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192
> 
> 
> 
> 
> 
> -- 
> Best Regards
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> œ¹Ê€Ç¿
> ÉϺ£ÎÒÒªÍøÂç·¢Õ¹ÓÐÏÞ¹«ËŸ  ÔËά²¿     
> ÉϺ£ÆÖ¶«ÐÂÇø¶ëɜ·91Ū200ºÅÐÂÅôŽóÏÃ2Â¥ Óʱà 200127 
> Tel: +86(021)58815151-5160  
> Fax: +86(021)50904695
> QQ: 34849502
> MSN: jsq_yy at hotmail.com  
> Email: jiaosq at mail.51.com    
> Visit us: http://www.51.com
> 


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






More information about the nginx mailing list