Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I set up a Ubuntu based Linode VPS with Nginx and Varnish on it. However i am not able to access anything on the IP or site address.

IP: 176.58.98.79 Site: http://www.articledexter.info

When i try to access either of them i get this error

Error 503 Service Unavailable

Service Unavailable

Guru Meditation:

XID: 1357161149

Varnish cache server

Which configuration files need to modified to increase the timeout issues ? Experts need your help !

share|improve this question
    
What's in your logs? –  Lucas Kauffman Apr 22 '12 at 7:42
    
Why do you think it's a timeout issue? –  womble Apr 22 '12 at 8:04
    
@LucasKauffman : The Varnish Log or server related logs ? –  Sameer Manas Apr 22 '12 at 8:27
    
@womble: In general 503 errors are related to time out stuff right ? –  Sameer Manas Apr 22 '12 at 8:28
    
All of your logs until you find something useful. –  Lucas Kauffman Apr 22 '12 at 8:38

1 Answer 1

Based on your comments, you didn't give any attention to the documentation. Read it. Specifically this page.

Varnish should run on port 80 (default http port) and nginx on a different one, for example 8080.

backend default {
      .host = "127.0.0.1";
      .port = "8080";
}

The reason why you're getting 503 error is because there's no backend running (or even set up).

share|improve this answer
    
I have indeed setup Varnish on 80 and Nginx configuration on 8080. The reason is that Nginx is not starting on port 8080 but trying to start in port 80. This is producing bind errors. –  Sameer Manas Apr 25 '12 at 14:57
    
Check if you have the default configuration file there, or the example part of the configuration. Check both nginx.conf and sites-enabled folder. –  Sašo Apr 25 '12 at 16:34

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.