LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-26-2009, 01:05 PM   #1
cbtshare
Member
 
Registered: Jul 2009
Posts: 623

Rep: Reputation: 42
nginx


I have nginx on my dedicated server it works fine when users are downloading anything but ,mp3 files.For mp3 files you click download and it takes atleast 1min to start.Any ideas to solve this?

Thanks
 
Old 07-26-2009, 01:18 PM   #2
robertjinx
Member
 
Registered: Oct 2007
Location: Prague, CZ
Distribution: RedHat / CentOS / Ubuntu / SUSE / Debian
Posts: 747

Rep: Reputation: 73
Try to check the logs or try to post the logs on the forum.
 
Old 07-27-2009, 12:51 AM   #3
cbtshare
Member
 
Registered: Jul 2009
Posts: 623

Original Poster
Rep: Reputation: 42
access.log is empty but the error.log is as follows.But there are errors but the files still download it just takes forever.


2009/07/23 13:52:07 [emerg] 7900#0: bind() to 0.0.0.0:40000 failed (98: Address already in use)
2009/07/23 13:52:07 [emerg] 7900#0: bind() to 0.0.0.0:40000 failed (98: Address already in use)
2009/07/23 13:52:07 [emerg] 7900#0: bind() to 0.0.0.0:40000 failed (98: Address already in use)
2009/07/23 13:52:07 [emerg] 7900#0: bind() to 0.0.0.0:40000 failed (98: Address already in use)
2009/07/23 13:52:07 [emerg] 7900#0: still could not bind()
2009/07/24 15:55:42 [emerg] 8498#0: unknown directive "3" in /usr/local/nginx/conf/nginx.conf:99
2009/07/24 17:20:12 [emerg] 8498#0: unknown directive "3" in /usr/local/nginx/conf/nginx.conf:99
2009/07/24 17:21:16 [emerg] 8498#0: unknown directive "3" in /usr/local/nginx/conf/nginx.conf:99
2009/07/24 17:25:21 [emerg] 8498#0: unknown directive "3" in /usr/local/nginx/conf/nginx.conf:99
2009/07/24 17:27:52 [emerg] 8498#0: unknown directive "3" in /usr/local/nginx/conf/nginx.conf:99
2009/07/24 17:31:11 [emerg] 8498#0: unknown directive "3" in /usr/local/nginx/conf/nginx.conf:99
2009/07/24 17:38:26 [emerg] 8498#0: unknown directive "3" in /usr/local/nginx/conf/nginx.conf:99
 
Old 07-27-2009, 02:17 AM   #4
robertjinx
Member
 
Registered: Oct 2007
Location: Prague, CZ
Distribution: RedHat / CentOS / Ubuntu / SUSE / Debian
Posts: 747

Rep: Reputation: 73
Seems you have some mistakes in your configuration and in plus something else run on 98 port. Now check whats running on the port and also check what u did wrong by running: "nginx -t"

Good luck!
 
Old 07-27-2009, 04:53 PM   #5
cbtshare
Member
 
Registered: Jul 2009
Posts: 623

Original Poster
Rep: Reputation: 42
This is the config -t result:

the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
configuration file /usr/local/nginx/conf/nginx.conf test is successful


98 I think is a reference number linux uses to identify errors.It happens when nginx is started and I start it again.Its getting worse now, downloads take up to 1min and 1/2**sighs, what can I do?
 
Old 07-28-2009, 02:16 AM   #6
robertjinx
Member
 
Registered: Oct 2007
Location: Prague, CZ
Distribution: RedHat / CentOS / Ubuntu / SUSE / Debian
Posts: 747

Rep: Reputation: 73
I'm not exactly sure what you could do, I do see the scenario, but you could try to go to http://www.ruby-forum.com/forum/24 which is a Nginx dedicated forum.
 
Old 07-29-2009, 12:55 AM   #7
cbtshare
Member
 
Registered: Jul 2009
Posts: 623

Original Poster
Rep: Reputation: 42
will check it out thanks!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Nginx & Perl Selyoid Linux - Server 3 07-26-2009 03:10 PM
nginx load balancer mkiler Linux - Server 1 05-10-2009 09:07 AM
Take Off With Nginx jeremy LQ Articles Discussion 1 05-09-2008 08:44 PM
FC6 service command and nginx LaoTzu Linux - Server 2 02-27-2008 12:10 PM
nginx documentation ?? ciscohead Linux - Software 0 01-02-2005 12:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration