i'm installing jira on centos 7 64bit but after it running, it suddenly close when i access it. can you help me how to track which configuration did i go wrong? how can i track it, since no error shown in log?
Hi @ginro ,
Can you verify if something is written in TOMCAT logs? Also please verify if you have given the required JVM.
As it is very difficult to understand the issue without logs, so least would be try to reinstall it again
check for the file Catalina.out in <installation directory>/logs/
14-May-2019 15:31:39.538 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
14-May-2019 15:31:39.577 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
14-May-2019 15:31:39.602 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 20539 ms
2019-05-14 15:31:39,798 JIRA-Bootstrap INFO [c.a.j.config.database.SystemDatabaseConfigurationLoader] Reading database configuration from /var/atlassian/application-data/jira/dbconfig.xml
2019-05-14 15:31:39,835 JIRA-Bootstrap INFO [c.a.j.config.database.SystemDatabaseConfigurationLoader] Reading database configuration from /var/atlassian/application-data/jira/dbconfig.xml
2019-05-14 15:31:39,837 JIRA-Bootstrap INFO [c.a.j.config.database.SystemDatabaseConfigurationLoader] Reading database configuration from /var/atlassian/application-data/jira/dbconfig.xml
2019-05-14 15:31:41,984 JIRA-Bootstrap INFO [c.a.j.config.database.SystemDatabaseConfigurationLoader] Reading database configuration from /var/atlassian/application-data/jira/dbconfig.xml
2019-05-14 15:31:42,011 JIRA-Bootstrap INFO [c.a.jira.startup.JiraStartupLogger]
___ Starting the JIRA Plugin System _________________
2019-05-14 15:31:58,902 JIRA-Bootstrap INFO [c.a.j.config.database.SystemDatabaseConfigurationLoader] Reading database configuration from /var/atlassian/application-data/jira/dbconfig.xml
2019-05-14 15:31:59,119 JIRA-Bootstrap INFO [c.a.jira.startup.JiraStartupLogger] Running JIRA startup checks.
2019-05-14 15:31:59,131 JIRA-Bootstrap INFO [c.a.jira.startup.JiraStartupLogger] JIRA pre-database startup checks completed successfully.
2019-05-14 15:31:59,403 JIRA-Bootstrap INFO [c.a.j.config.database.DatabaseConfigurationManagerImpl] The database is not yet configured. Enqueuing Database Checklist Launcher on post-database-configured-but-pre-database-activated queue
2019-05-14 15:31:59,407 JIRA-Bootstrap INFO [c.a.j.config.database.DatabaseConfigurationManagerImpl] The database is not yet configured. Enqueuing Post database-configuration launchers on post-database-activated queue
2019-05-14 15:31:59,465 JIRA-Bootstrap INFO [c.a.jira.startup.LauncherContextListener] Memory Usage:
---------------------------------------------------------------------------------
Heap memory : Used: 62 MiB. Committed: 371 MiB. Max: 1980 MiB
Non-heap memory : Used: 71 MiB. Committed: 88 MiB. Max: 1536 MiB
---------------------------------------------------------------------------------
TOTAL : Used: 132 MiB. Committed: 460 MiB. Max: 3516 MiB
---------------------------------------------------------------------------------
Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00007f0f14000000, 33554432, 1) failed; error='Permission denied' (errno=13)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 33554432 bytes for committing reserved memory.
# An error report file with more information is saved as:
# /tmp/hs_err_pid12385.log
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @ginro ,
I see there is insufficient memory
# There is insufficient memory for the Java Runtime Environment to continue.
So increase your memory before you start the service in setenv.sh file located in installation directory - https://confluence.atlassian.com/adminjiraserver073/increasing-jira-application-memory-861253796.html
https://confluence.atlassian.com/adminjiraserver/installing-jira-applications-on-linux-938846841.html - might this help you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also there are permissions issues -
chown jira:jira -R /opt/atlassian/jira/
chown jira:jira -R /var/atlassian/application-data/jira/
here "jira" is dedicated user; if you are using different user name please use that and also make sure you give the correct directories
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.