Forums

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

the service goes up with root but not with user jira

Janina Segura March 1, 2019

Dear,

I work with the root user when uploading Jira, but not with the user JIRA, loses the environment variables .. what could be happening? please your help!

User ROOT

[root@jirajani bin]# ./start-jira.sh

To run JIRA in the foreground, start the server with start-jira.sh -fg
executing as current user

`sMMMMMMMMMMMMMM+
MMMMMMMMMMMMMM
:sdMMMMMMMMMMM
MMMMMM
`sMMMMMMMMMMMMMM+ MMMMMM
MMMMMMMMMMMMMM +MMMMM
:sMMMMMMMMMMM MMMMM
MMMMMM `UOJ
`sMMMMMMMMMMMMM+ MMMMMM
MMMMMMMMMMMMMM +MMMMM
:sdMMMMMMMMMM MMMMM
MMMMMM `UOJ
MMMMMM
+MMMMM
MMMMM
`UOJ

Atlassian Jira
Version : 8.0.1


If you encounter issues starting or stopping JIRA, please see the Troubleshooting guide at https://docs.atlassian.com/jira/jadm-docs-080/Troubleshooting+installation

Using JIRA_HOME: /home/jirasoftware-home

Server startup logs are located in /opt/jirasoftware/atlassian-jira-software-8.0.1-standalone/logs/catalina.out
Using CATALINA_BASE: /opt/jirasoftware/atlassian-jira-software-8.0.1-standalone
Using CATALINA_HOME: /opt/jirasoftware/atlassian-jira-software-8.0.1-standalone
Using CATALINA_TMPDIR: /opt/jirasoftware/atlassian-jira-software-8.0.1-standalone/temp
Using JRE_HOME: /usr/java/jdk-java
Using CLASSPATH: /opt/jirasoftware/atlassian-jira-software-8.0.1-standalone/bin/bootstrap.jar:/opt/jirasoftware/atlassian-jira-software-8.0.1-standalone/bin/tomcat-juli.jar
Using CATALINA_PID: /opt/jirasoftware/atlassian-jira-software-8.0.1-standalone/work/catalina.pid
Tomcat started.
[root@jirajani bin]#

----------------------------------------------------------------------------------------------

User JIRA

[jira@jirajani bin]$ ./start-jira.sh

To run JIRA in the foreground, start the server with start-jira.sh -fg
executing as current user

`sMMMMMMMMMMMMMM+
MMMMMMMMMMMMMM
:sdMMMMMMMMMMM
MMMMMM
`sMMMMMMMMMMMMMM+ MMMMMM
MMMMMMMMMMMMMM +MMMMM
:sMMMMMMMMMMM MMMMM
MMMMMM `UOJ
`sMMMMMMMMMMMMM+ MMMMMM
MMMMMMMMMMMMMM +MMMMM
:sdMMMMMMMMMM MMMMM
MMMMMM `UOJ
MMMMMM
+MMMMM
MMMMM
`UOJ

Atlassian Jira
Version : 8.0.1


If you encounter issues starting or stopping JIRA, please see the Troubleshooting guide at https://docs.atlassian.com/jira/jadm-docs-080/Troubleshooting+installation


Server startup logs are located in /opt/jirasoftware/atlassian-jira-software-8.0.1-standalone/logs/catalina.out
Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
At least one of these environment variable is needed to run this program
[jira@jirajani bin]$

 

 

 

1 answer

0 votes
Taranjeet Singh
Community Champion
March 1, 2019

@Janina Segura It seems like JAVA_HOME or JRE_HOME environment variables are not defined such that they are accessible to all users.

See this : https://confluence.atlassian.com/crowd/setting-java_home-61604243.html

I would suggest you to rather define either JAVA_HOME or JRE_HOME in JIRA's setenv.sh file in the installation directory, so that JIRA can pickup Java correctly.

 

Please see this documentation for instructions to set up JRE_HOME to point to an exclusive JRE installation on your OS: https://confluence.atlassian.com/jirakb/how-to-use-a-jdk-or-jre-exclusively-on-jira-765594330.html

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events