Forums

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

Jira is terminating Ubuntu 18.04

taisto_jbiz March 8, 2020 edited

Hi, installed a clean Ubuntu 18.04 server.

Setting up Jira Software without problems with Mysql 5.7 on separate db server.

But when i reboot the machine the service has not started and when I start it manually i terminates server during jira startup.

-- Jira 8.7.1

-- Ubuntu Linux 18.04.4

-- Linux 4.15.0-88-generic on x86_64

-- AMD FX(tm)-8150 Eight-Core Processor, 8 cores

-- 8 G RAM

Can not see any error messages in syslog, kern.log or catalina.out

Any suggestions?

Best Regs

Taisto Onnela

Catalina.out:Sun Mar 08 10:58:32 UTC 2020 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
Sun Mar 08 10:58:32 UTC 2020 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
2020-03-08 10:58:35,279+0000 JIRA-Bootstrap INFO [c.a.j.config.database.DatabaseConfigurationManagerImpl] The database is configured. Now running Database Checklist Launcher
2020-03-08 10:58:35,281+0000 JIRA-Bootstrap INFO [c.a.jira.startup.DatabaseChecklistLauncher] JIRA database startup checks completed successfully.
2020-03-08 10:58:35,282+0000 JIRA-Bootstrap INFO [c.a.j.config.database.DatabaseConfigurationManagerImpl] The database is configured. Now running Post database-configuration launchers
2020-03-08 10:58:36,273+0000 JIRA-Bootstrap INFO [c.a.j.config.database.SystemDatabaseConfigurationLoader] Reading database configuration from /var/atlassian/application-data/jira/dbconfig.xml
2020-03-08 10:58:36,276+0000 JIRA-Bootstrap INFO [c.a.j.config.database.DatabaseConfigHandler] Trying to get encrypted password from xml and decrypt it
2020-03-08 10:58:36,276+0000 JIRA-Bootstrap INFO [c.a.j.config.database.DatabaseConfigHandler] Database password decryption not performed.
2020-03-08 10:58:38,694+0000 JIRA-Bootstrap INFO [c.a.jira.upgrade.PluginUpgradeListener] [plugin-upgrade-listener] Created
2020-03-08 10:58:38,826+0000 JIRA-Bootstrap INFO [c.a.jira.startup.DatabaseLauncher] Database transactions enabled: true
2020-03-08 10:58:38,827+0000 JIRA-Bootstrap INFO [c.a.jira.startup.DatabaseLauncher] Using JIRA's default for database transaction isolation level: 2
2020-03-08 10:58:38,834+0000 JIRA-Bootstrap INFO [c.a.jira.startup.JiraStartupLogger]

Database configuration OK

___ Database Configuration _________________

Loading entityengine.xml from : file:/opt/atlassian/jira/atlassian-jira/WEB-INF/classes/entityengine.xml
Entity model field type name : mysql
Entity model schema name :
Database Version : MySQL - 5.7.29-0ubuntu0.18.04.1
Database Driver : MySQL Connector Java - mysql-connector-java-5.1.48 ( Revision: 29734982609c32d3ab7e5cac2e6acee69ff6b4aa )
Database URL : jdbc:mysql://address=(protocol=tcp)(host=db01)(port=3306)/jira_carbiz?sessionVariables=default_storage_engine=InnoDB
Database JDBC config : mysql57 jdbc:mysql://address=(protocol=tcp)(host=db01)(port=3306)/jira_carbiz?sessionVariables=default_storage_engine=InnoDB

2020-03-08 10:58:38,906+0000 JIRA-Bootstrap INFO [c.a.jira.startup.JiraStartupLogger]

___ Starting the JIRA Plugin System _________________

 

Alassiona-jira.log:

2020-03-08T09:39:12.971+0000: 2155.004: [GC (Allocation Failure) [PSYoungGen: 369507K->26434K(528384K)] 1175665K->838893K(1506816K), 0.0628306 secs] [Times: user=0.21 sys=0.00, real=0.06 secs]
2020-03-08T09:39:13.682+0000: 2155.715: [GC (Allocation Failure) [PSYoungGen: 390466K->17319K(525824K)] 1202925K->842138K(1504256K), 0.0655784 secs] [Times: user=0.27 sys=0.01, real=0.07 secs]
2020-03-08T09:39:15.093+0000: 2157.126: [GC (Allocation Failure) [PSYoungGen: 381351K->8337K(533504K)] 1206170K->842320K(1511936K), 0.0582162 secs] [Times: user=0.20 sys=0.01, real=0.06 secs]
2020-03-08T09:39:16.752+0000: 2158.785: [GC (GCLocker Initiated GC) [PSYoungGen: 382609K->6746K(531968K)] 1216596K->846111K(1510400K), 0.0535126 secs] [Times: user=0.17 sys=0.01, real=0.05 secs]
2020-03-08T09:39:18.521+0000: 2160.554: [GC (Allocation Failure) [PSYoungGen: 381018K->23669K(531968K)] 1220385K->864689K(1510400K), 0.0572123 secs] [Times: user=0.22 sys=0.00, real=0.06 secs]
2020-03-08T09:39:33.852+0000: 2175.886: [GC (Allocation Failure) [PSYoungGen: 409717K->4076K(534528K)] 1250737K->846456K(1512960K), 0.0489873 secs] [Times: user=0.16 sys=0.00, real=0.04 secs]
2020-03-08T09:40:17.518+0000: 2219.551: [GC (Allocation Failure) [PSYoungGen: 390124K->2144K(543744K)] 1232504K->845630K(1522176K), 0.0469028 secs] [Times: user=0.12 sys=0.01, real=0.05 secs]
2020-03-08T09:40:23.029+0000: 2225.062: [GC (Allocation Failure) [PSYoungGen: 407136K->3712K(546816K)] 1250622K->847206K(1525248K), 0.0446568 secs] [Times: user=0.11 sys=0.00, real=0.05 secs]
2020-03-08T09:40:27.131+0000: 2229.165: [GC (Allocation Failure) [PSYoungGen: 408704K->6272K(547328K)] 1252198K->849774K(1525760K), 0.0470944 secs] [Times: user=0.13 sys=0.01, real=0.04 secs]
2020-03-08T09:40:29.341+0000: 2231.374: [GC (Allocation Failure) [PSYoungGen: 426112K->8352K(551424K)] 1269614K->851862K(1529856K), 0.0464821 secs] [Times: user=0.12 sys=0.00, real=0.05 secs]
2020-03-08T09:40:31.209+0000: 2233.242: [GC (Allocation Failure) [PSYoungGen: 428192K->9248K(557056K)] 1271702K->852766K(1535488K), 0.0472016 secs] [Times: user=0.12 sys=0.00, real=0.05 secs]
2020-03-08T09:40:32.608+0000: 2234.641: [GC (Allocation Failure) [PSYoungGen: 451104K->11824K(561152K)] 1294622K->855342K(1539584K), 0.0490045 secs] [Times: user=0.14 sys=0.01, real=0.05 secs]
2020-03-08T09:40:32.751+0000: 2234.784: [GC (System.gc()) [PSYoungGen: 37815K->11120K(564736K)] 881334K->854646K(1543168K), 0.0462069 secs] [Times: user=0.12 sys=0.00, real=0.04 secs]
2020-03-08T09:40:32.797+0000: 2234.830: [Full GC (System.gc()) [PSYoungGen: 11120K->0K(564736K)] [ParOldGen: 843526K->555419K(978432K)] 854646K->555419K(1543168K), [Metaspace: 441198K->424584K(1466368K)], 1.6213981 secs] [Times: user=9.94 sys=0.07, real=1.62 secs]
Heap
PSYoungGen total 564736K, used 34355K [0x00000000d5580000, 0x00000000feb00000, 0x0000000100000000)
eden space 464384K, 7% used [0x00000000d5580000,0x00000000d770ce10,0x00000000f1b00000)
from space 100352K, 0% used [0x00000000f8900000,0x00000000f8900000,0x00000000feb00000)
to space 106496K, 0% used [0x00000000f1b00000,0x00000000f1b00000,0x00000000f8300000)
ParOldGen total 978432K, used 555419K [0x0000000080000000, 0x00000000bbb80000, 0x00000000d5580000)
object space 978432K, 56% used [0x0000000080000000,0x00000000a1e66ed0,0x00000000bbb80000)
Metaspace used 424691K, capacity 465815K, committed 487896K, reserved 1466368K
class space used 56811K, capacity 68281K, committed 70872K, reserved 1048576K

 

2 answers

2 accepted

1 vote
Answer accepted
Nicolas Werle [Decadis AG]
Atlassian Partner
March 8, 2020

Hi @taisto_jbiz 

Can you please share the last parts of your atlassian-jira.log as well as your catalina.out ? 
This would be very helpful to investigate the issue. 
Best regards, 
Nicolas

taisto_jbiz March 8, 2020

Tnx added logs to the issue. Hmm is this a memory config issue ?

taisto_jbiz March 8, 2020

Tnx Moses_Thomas and Nicolas_Werle you pointed me to the right direction.

Works fine now:)

Increased memory to:

JVM_MINIMUM_MEMORY="1024m"
JVM_MAXIMUM_MEMORY="4096m"

in setenv.sh

1 vote
Answer accepted
Moses Thomas
Community Champion
March 8, 2020

@taisto_jbiz  What about logs  in  the <jira_home>/logs   folder could you provide this ?

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, team '25 europe, atlassian event, barcelona 2025, jira, confluence, atlassian intelligence, rovo, ai-powered collaboration, developer tools, agile teams, digital transformation, teamwork solutions, atlassian conference, product announcements

🌆 Team '25 Europe registration is now open!

Join the largest European gathering of the Atlassian Community and reimagine what’s possible when great teams and transformative technology come together. Plus, grab your Super Fan ticket now and save over €1,000 on your pass before prices rise on 3 June.

Register now
AUG Leaders

Atlassian Community Events