It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Jira does not restart properly after server memory upgrade

I noticed the server was running at >90% memory so I decided to add a gig of memory. After rebooting Jira no longer works. Error 521: Web server is down.  


When starting or stopping Jira with:

/opt/atlassian/jira/bin/start-jira.sh
/opt/atlassian/jira/bin/stop-jira.sh


Everything looks normal.  Jira appears to be running but there is no web access.  There are no errors, there is no information about what is going on.  Nothing was changed whatsoever except upgrading the server from 2GB memory to 3GB, otherwise the configuration is identical.

How do I fix this?

This is Jira 8.2.3
Running on: CentOS 7.5 x64

 

 

1 answer

1 accepted

0 votes
Answer accepted

Error 521 does not mean "server is down", it means "I cannot get a tcp connection to a service"

Check your firewalls and routing between your client (browser) and the server, something is disallowing the connection.

I guess cloudflare needs to update their error messages if that's true, but in this case the server was down. For whatever unkonwn reason it turned out that nginx stopped automatically starting on startup after the memory upgrade. I cannot figure out why, but manually starting nginx got Jira back up.


Thanks.

You are misunderstanding the architecture here, and it's worth clarifying.

It sounds like Jira was absolutely fine. 

Nginx is NOT Jira, it is a web-server.  It is probably being used as a proxy to Jira in your case, so it's part of the networking route.  The error message 521 was actually telling you "nginx is not giving me a connection".

Yea... hence "server down" was correct.  Yes Jira may have been running correctly but for whatever reason nginx which is a critical part of the package stop auto starting on reboot. This is a by the book installation according to Jira's instructions for CentOS.

Nginx is not "part of the package".  A "by the book" installation does not include setting up a proxy server - it is mentioned as an option and you set up the proxy yourself.  It's nothing to do with Jira, although a lot of us use them.  The Jira I'm about to upgrade is "by the book" installed, but behind an Apache proxy the client wanted to use (and not just for Jira)

You should look at how you have configured your Nginx to start - it's nothing to do with Jira.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira

Demo Den Ep. 7: New Jira Cloud Reports

Learn how to use two new reports for next-gen projects in Jira Cloud:  Cumulative flow diagram and Sprint burndown chart. Ivan Teong, Product Manager, Jira Software, demos the Cumulative ...

314 views 1 3
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you