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?
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]#
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There shouldn't be any space after dot slash - ./config.sh
Try to run it again.
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.