Confluence not starting catalina.sh java usage

Hello, can't figure out what is a problem, Confluence not starting. After launching startup script I get Tomcat started, and record in catalina.out:

 

/opt/atlassian/confluence/bin/catalina.sh: line 433: 127.0.0.1: command not found
/opt/atlassian/confluence/bin/catalina.sh: line 433: 127.0.0.1: command not found
Usage: java [-options] class [args...]
           (to execute a class)

2 answers

0 vote
Mizan Community Champion Oct 19, 2017

Is Java installed ? have you set the java environment variable ?

Di you modify the catalina.sh ?

Mizan Community Champion Oct 19, 2017

Also check if this affects you https://jira.atlassian.com/browse/CONFSERVER-30381

catalina.sh not edited.

Virtual server cloned from production, where everything seems to be working, changed IP and hostname. JIRA application working, Confluence fails to start. Startup output:

Using CATALINA_BASE:   /opt/atlassian/confluence
Using CATALINA_HOME:   /opt/atlassian/confluence
Using CATALINA_TMPDIR: /opt/atlassian/confluence/temp
Using JRE_HOME:        /opt/atlassian/confluence/jre/
Using CLASSPATH:       /opt/atlassian/confluence/bin/bootstrap.jar:/opt/atlassian/confluence/bin/tomcat-juli.jar
Using CATALINA_PID:    /opt/atlassian/confluence/work/catalina.pid
Existing PID file found during start.
Removing/clearing stale PID file.
Tomcat started.

Rerun confluence install (same version), choosing update - that fixed problem.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

1,367 views 24 10
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