Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Aug 08, 2013 10:32 am 
Offline
Senior Newbie

Joined: Thu Aug 08, 2013 10:23 am
Posts: 6
Dear all,

I am running a site through Linode Server. The recent maintenance change caused an error in some setting I cannot understand. The Linode Management panel says that everything is running, but when I look at the site and try to access it I get the following error

502 Bad Gateway
nginx/0.7.67

I have no clue what it is and Linode support basically say they do not understand it either and cannot help.

I have been working with the Putty thing and do get some access, but from there ( the sites prompt $) I do not understand how to move further.

Further, the site is running, but I would like to get all the files, and see how new developments can be carried out on it. The site is created in Python and Django.
Anyone with expertise on that?

:?

William Goossen


Top
   
PostPosted: Thu Aug 08, 2013 10:42 am 
Offline
Sysop

Joined: Sat Nov 27, 2010 3:32 am
Posts: 180
Website: https://blog.timheckman.net/
Location: San Francisco, CA
I would imagine that whomever configured your server may not have configured your web application to start automatically at boot. It sounds like your web server, Nginx, is unable to communicate with your backend web application. You'd just need to log in and get the Django app started up.

Unfortunately, there isn't one right way to do this and depends entirely on how it was configured. Have you tried reaching out to the person who configured the site to see how it was configured?

-Tim

_________________
'If debugging is the process of removing bugs, then programming must be the process of putting them in.' //Edsger Dijkstra
'Nothing is withheld from us which we have conceived to do.' | 'Do things that have never been done.' //Russell Kirsch


Top
   
PostPosted: Thu Aug 08, 2013 12:34 pm 
Offline
Senior Newbie

Joined: Thu Aug 08, 2013 10:23 am
Posts: 6
Dear Tim,

Thanks for your reply. Unfortunately the developer and system admin passed away last November. Since then we managed to fire up the server, transfer it and restart the application.
it all worked fine for about 5 months now, until the maintenance transfer from Linode occurred.th

So I have basically no clue where to do the Nginx reboot.

William


Top
   
PostPosted: Thu Aug 08, 2013 3:52 pm 
Offline
Senior Member
User avatar

Joined: Thu Jun 16, 2011 8:24 am
Posts: 412
Location: Cyberspace
How to restart nginx depends on your distro. They manage services in different ways.

_________________
Kris the Piki Geeker


Top
   
PostPosted: Thu Aug 08, 2013 4:04 pm 
Offline
Senior Member
User avatar

Joined: Sun Dec 27, 2009 11:12 pm
Posts: 1038
Location: Colorado, USA
Might get more coverage if your post wasn't mis-filed under "Testimonials".

You're asking for tech help, not raving about how wonderful Linode is.

_________________
Either provide enough details for people to help, or sit back and listen to the crickets chirp.
Security thru obscurity is a myth - and really really annoying.


Top
   
PostPosted: Thu Aug 08, 2013 4:45 pm 
Offline
Junior Member
User avatar

Joined: Fri May 04, 2012 8:57 pm
Posts: 49
vonskippy wrote:
Might get more coverage if your post wasn't mis-filed under "Testimonials".

You're asking for tech help, not raving about how wonderful Linode is.


why not both?

I'm guessing gunicorn/wsgi isn't started. You definitely want to get another sysadmin/dev to take over, as there are a lot of variables here.

_________________
me | voltaireMC


Top
   
PostPosted: Mon Aug 19, 2013 9:51 pm 
Offline
Senior Member
User avatar

Joined: Wed Jun 26, 2013 1:53 am
Posts: 118
One thing to look out for is to make sure that the web server is set to work with the programming language that you have websites written in. It sounds like that was already done though.

_________________
Homepage www.sturmkrieg.com
Social network Gamernet
Development website Sashaweb Development
Imageboard img.sturmkrieg.com
WikiHub free wiki host Community Wiki


Top
   
PostPosted: Tue Aug 20, 2013 3:21 am 
Offline
Senior Newbie

Joined: Thu Aug 08, 2013 10:23 am
Posts: 6
Thanks all,

The site is written in Django / Python and has been running for years in the same configuration. It appeared to be a simple sudo nginx start instead of sudo nginx restart command that did the trick to get it up and running again.
I hate maintenance tasks....
:(


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group