Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5987849
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T22:52:28+00:00 2026-05-22T22:52:28+00:00

I have my server configured like this (this is on a fresh install of

  • 0

I have my server configured like this (this is on a fresh install of ubuntu 10.10)

nginx + gunicorn + django + supervisord to run it

when I try to access my site, I get a 502 error. and this will show up in the error log:

2011/06/03 10:40:59 [error] 15066#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: [retracted], server: [retracted], request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:29000/", host: "[retracted]"

Here is my nginx.conf
http://pastebin.com/t0V2yFxr

Here is my supervisord.conf
http://pastebin.com/pqVqRLSk

and my gunicorn.conf

bind = "127.0.0.1:29000"
logfile = "/sites/[retracted]/logs/gunicorn.log"
workers = 3

when I run
sudo supervisordctl status

it returns nothing. So this makes me suspect that it is not properly running. However, there is no supervisord.log file (in /var/log/ or in /code/[]/logs/) or gunicorn.log showing errors.

So I cannot debug this at all. Any suggestions on how to get this takin care of?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T22:52:29+00:00Added an answer on May 22, 2026 at 10:52 pm

    You can do debugging if you run supervisord in this way::

    supervisord --nodaemon --loglevel DEBUG
    

    All errors will be dumped to the console.

    Also you can try to run debug server on this machine. Maybe your site does not work at all.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a remote server configured on archlinux and I need to install the
I have an external Tomcat server configured to run J2EE applications on my development
I have a Multimodule project like this: parent entities jibx-exporter I have configured jibx
I have django+python+apache2+mod_python installed hosted and working on ubuntu server/ linode VPS. php5 is
In the web.xml of my web app I have configured the server as following:
I have a newly configured Windows Server 2003 VM. One of the issues with
I have configured Service Broker communication between two SQL Server 2008 instances using Windows
I have configured Apache httpd to work as a forward proxy server. How can
I have recently configured IIS 7.5 to use the SMTP server. Now, I have
I am accessing my server through remote desktop connection and have configured a webservice

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.