404 error when attempting to access Confluence Edited

Hello!

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:

https://confluence.atlassian.com/doc/start-confluence-automatically-on-linux-183148.html

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.

1 answer

1 vote
Ann Worley Atlassian Team May 23, 2017

 

 

Here is where I would start:

  • Open the log at <Confluence_Home>logs/atlassian-confluence.log 
    (The <confluence_home> directory is the path defined in the following file: <confluence_install>/confluence/WEB-INF/classes/confluence-init.properties)
  • Search for "Starting Confluence"
    scroll down past the initial startup messages, which include system info and a list of plugins
    look for entries that start with ERROR
  • Do the same with the <Confluence_Install>/logs/catalina.out.

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.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 11, 2018 in Confluence

What are your project planning tips?

Hello Community,  Jessica here from the Confluence product marketing team! Today I wanted to get your takes on project planning –– what works, what doesn’t, how do you know if you’re doing it r...

260 views 1 4
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you