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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Tuesday in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

488 views 19 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