We have had Confluence successfully running on an Amazon EC2 instance for several months (running Amazon Linux). I recently used CloudWatch/Lambda to schedule start/stop times for the instance so that it is only available during business hours. I also followed this guide so that Confluence starts automatically when the instance starts:
After restart the service does indeed start but when I navigate to the server's address I receive a 404 error, page not found. I get the same error when navigating via the server's elastic IP address.
Running a 'wget' on the server produces this:
wget http://localhost:8090 --2017-04-13 21:55:16-- http://localhost:8090/ Resolving localhost (localhost)... 127.0.0.1 Connecting to localhost (localhost)|127.0.0.1|:8090... connected. HTTP request sent, awaiting response... 404 Not Found 2017-04-13 21:55:16 ERROR 404: Not Found.
I undid the steps outlined in the above article and tried starting Confluence via the start-confluence.sh script, it starts successfully but I am still unable to access it in my browser:
Server startup logs are located in /home/ec2-user/atlassian/confluence/logs/catalina.out Using CATALINA_BASE: /home/ec2-user/atlassian/confluence Using CATALINA_HOME: /home/ec2-user/atlassian/confluence Using CATALINA_TMPDIR: /home/ec2-user/atlassian/confluence/temp Using JRE_HOME: /home/ec2-user/atlassian/confluence/jre/ Using CLASSPATH: /home/ec2-user/atlassian/confluence/bin/bootstrap.jar:/home/ec2-user/atlassian/confluence/bin/tomcat-juli.jar Using CATALINA_PID: /home/ec2-user/atlassian/confluence/work/catalina.pid Tomcat started.
I am afraid that I have exhausted my ability to troubleshoot this by myself. I am hoping someone can help me. I have all the logs and can provide any additional information that may be helpful.
Here is where I would start:
If you find anything you think is suspicious, go ahead and update us here in the Community.
If you still need help, consider opening a request at https://getsupport.atlassian.com so someone can take a comprehensive look.
Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs