Forums

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

How can I execute the JIRA configuration tool on CentOs?

Shirley Shorter June 10, 2019

I was not able to execute config.sh on CentOs 6

I have JIRA running insecure on http://myserver.com

I am trying to change it to https://myserver.com

I stopped the jira service and tried to run config.sh

config.sh* does exist in the /opt/atlassian/jira/bin directory referenced below

What am I missing?

jdk not found.jpg

Jira is running, so that means it is finding JAVA right?

I am not sure if I need to point to something with environment variable

Looks like the default environment file is empty

root@server [/etc]# cat environment

root@server [/etc]#

3 answers

1 vote
Matej Bušík
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 9, 2019

I had the same problem. In my case it showed:

"./config.sh: line 41: /usr/bin/java/bin/java: Not a directory"

And I found a workaround.

Go to config.sh and find line with '_RUNJAVA="$JRE_HOME"/bin/java'
I deleted /bin/java and left there just "_RUNJAVA="$JRE_HOME"

If this doesnt work for you, maybe you have to direct it to valid java(or jdk) directory.

0 votes
Andrew Chadwell April 21, 2021

Deleted reply.

0 votes
Ravi Sagar _Sparxsys_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 10, 2019

Hi @Shirley Shorter 

There shouldn't be any space after dot  slash - ./config.sh

Try to run it again.

Ravi

Shirley Shorter June 10, 2019

No, same result if I run root@server [/opt/atlassian/jira/bin]# ./config.sh
./check-java.sh: line 31: [: -ne: unary operator expected
./config.sh: line 41: /usr/local/jdk/bin/java: No such file or directory

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events