Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

config.sh is not working on Centos 7 Linux with Jira 7.9

Michael Angelo Timoteo June 26, 2018

Base from the documentation:

https://confluence.atlassian.com/adminjiraserver079/supported-platforms-950288096.html I do not need to install Java on a centos since I will use the linux bundle to install it.

I somehow successfully install it, however, upon executing ./config.sh, I got the following error 

 

./config.sh
No JRE_HOME or JAVA_HOME environment variable is set - attempting to just run java command
*************************************************************************************************************************************
********** Wrong JVM version! You are running with .. but JIRA requires at least 1.8 to run. **********
*************************************************************************************************************************************

Weird enough, this should not happen because it is already a bundle. 

Is there a way for me to fix this? 

 

Additionally, when I execute ./version.sh I get the following results: 

 

Server startup logs are located in /opt/atlassian/jira/logs/catalina.out
Using CATALINA_BASE: /opt/atlassian/jira
Using CATALINA_HOME: /opt/atlassian/jira
Using CATALINA_TMPDIR: /opt/atlassian/jira/temp
Using JRE_HOME: /opt/atlassian/jira/jre/
Using CLASSPATH: /opt/atlassian/jira/bin/bootstrap.jar:/opt/atlassian/jira/bin/tomcat-juli.jar
Using CATALINA_PID: /opt/atlassian/jira/work/catalina.pid
Server version: Apache Tomcat/8.5.6
Server built: Oct 6 2016 20:15:31 UTC
Server number: 8.5.6.0
OS Name: Linux
OS Version: 3.10.0-862.3.3.el7.x86_64
Architecture: amd64
JVM Version: 1.8.0_102-b14
JVM Vendor: Oracle Corporation

2 answers

0 votes
Michael Angelo Timoteo June 28, 2018

You need to run java -version and if no return, you need to reboot your server.

If you run java -version and return a version, you need to remove the java that is installed since Jira dont need the server to install it.

0 votes
Moses Thomas
Community Champion
June 26, 2018

@Michael Angelo TimoteoWhat do you wan't to  archive  by running the config  script ?

 

Best!

Michael Angelo Timoteo June 26, 2018

Hi @Moses Thomas,

I am trying to change port and explore the tool. I finally figure out to make it work; 

1.) Uninstall java that was installed so when you execute java -version it should return null

2.) Restart server

On the changing of ports: there is a manual way to do it but I want to learn and explore the tool. 

Suggest an answer

Log in or Sign up to answer