How to install Jira on Linux(CentOS 6.0)

Weber Li January 24, 2013

I try my best to install Jira on Linux for a few days, but it encounters some issue, it has new issue when I resolved one issue.

Do you have one document about how to install and configure JAVA, MySQL and JIRA(step to step). My Jira version is 5.2.4.1.

Such as:

I need to remove .jira.home.lock file every restart.

I need to run start-jira.sh -fg every restart, but it always stop INFO:Server startup in 49231ms, so Jira doesn't work.

6 answers

1 accepted

2 votes
Answer accepted
Theinvisibleman
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 27, 2013

Hi Weber,

As discussed in our support ticket, it was caused by your firewall, and it seems to work once you disabled your firewall.

Feel free to accept an answer and close this question :)

1 vote
Vishnukumar Vasudevan
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 24, 2013
0 votes
Matt
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.
January 24, 2013

What version of Java do you have? We had some similar issues with Java 7.

And why you need to run jira in foreground?

Weber Li January 28, 2013

Please close this question

C_ Faysal
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.
January 28, 2013

why close the firewall. thats not a good idea..just allow the communication with jira and you should be fine...but disabling it completely is not the smartest solution

Weber Li January 28, 2013

Sorry. Need to close firewall

0 votes
Weber Li January 24, 2013

**********************************************************************************
JIRA 5.2.4.1 build: 846 started. You can now access JIRA through your web browser.
**********************************************************************************

2013-01-23 10:07:38,907 localhost-startStop-1 INFO [atlassian.jira.scheduler.JiraSchedulerLauncher] JIRA Scheduler not started: JIRA not setup yet.
Jan 23, 2013 10:07:39 AM org.apache.catalina.util.SessionIdGenerator createSecureRandom
INFO: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [113] milliseconds.
Jan 23, 2013 10:07:39 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 46834 ms
Jan 23, 2013 10:07:39 AM org.apache.catalina.core.StandardServer await
SEVERE: StandardServer.await: create[localhost:8005]:
java.net.BindException: Address already in use
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(Unknown Source)
at java.net.ServerSocket.bind(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at org.apache.catalina.core.StandardServer.await(StandardServer.java:427)
at org.apache.catalina.startup.Catalina.await(Catalina.java:757)
at org.apache.catalina.startup.Catalina.start(Catalina.java:703)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:451)
Jan 23, 2013 10:07:39 AM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["http-bio-8080"]
Jan 23, 2013 10:07:39 AM org.apache.catalina.core.StandardService stopInternal

0 votes
Weber Li January 24, 2013

I can't look for one full document to configure JAVA, MYSQL, JIRA

0 votes
Zul NS _Atlassian_
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 24, 2013

Try using different port number, change the ports using JIRA Configuration Tool. And 5.2.5 already released :)

Suggest an answer

Log in or Sign up to answer