I'm a DB Developer that inherited a jira system on a Linux CentOS VM machine, we had power failure and all the servers restarted, after restart jira is not coming up!
there's no such file as Jira-Start.sh ! I searched all over.
any idea what's going on? any help is appreciated please.
The concept of "core" only came in with JIRA 7. You say you're on JIRA 4.
However, whatever version you are on, have a look in <jira installation>/bin for the startup files, and <jira home>/logs for the reasons why it might not be starting.
thanks for jumping in, yeah not sure about the core part but we only got the Jira software , installed in /apps/jira/
I see a folder called LOGS, but it has thousands of files, I don't see a recent one by looking at the time stamp, maybe it's not even being set to start automatically?
I see file called : startup.sh in the Bin Folder, running that gives the that message:
searched online and created a script to point to JAVA and call the same file, but gets that error now !
hope you can help me with that issue.
Ok, if there's nothing going into the <jira home>/logs, then the Tomcat is not getting as far as starting the application.
So, we need to look into <jira installation>/log directory for "catalina.out" and look at the end of that file to see why it's not starting.
Ah, sorry, I forgot, JIRA 4 doesn't have its own JRE.
The JAVA_HOME in your script is wrong, which might explain some of it.
ls -l /usr/bin/java
I expect it will say something like
java -> /usr/local/java_1.6/bin/java
You need to set the JAVA_HOME to be the path to the complete java installation, the directory above /bin/java. (So in my example, you'd need JAVA_HOME=/usr/local/java_1.6 )
Also, your script is using the wrong start-up. The JIRA start script already calls out to catalina. You should remove both of your lines refering to catalina from the script.
How to identify what's running? and how to stop them?
I just restarted the whole server, checked the URL nothing works, started just "Jira "and same error message came up about the lock!! although there's no .lock file!!
it's showing in the error that "usr/local/jira" is being locked, I'm running it as Root, maybe I need to run it this Jira user?? sorry I'm asuming there's a user called "Jira" ?! by looking at the error message...
I think you need to go back to the basics, not just dive in and hope you hit the right thing.
You need to establish where jIRA is installed, where its home directory is, and what you need to run to get it to work.
Your script is doing the wrong thing, I'm not even sure how you managed to come up with it.
But to answer some of your follow up questions:
To find out what's running on a Linux system, use "ps". I usually use "ps -ef" or "ps -aux".
No, JIRA should be run as the dedicated user for it. If it's run as root, it's a security risk. Once it's been run as root though, it messes up the permissions on files, which you'll need to reset.
Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs