Hello,
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.
thanks
Jason
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.
Hi Nic
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.
thanks
Jason
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nic,
thanks again for your answer, I see that catalinaout has only date from 2/2017, so looks like i'm not starting the services right.
here's my script, i must be doing something wrong..
execuse my Linux ignorance!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Not a problem.
If you go to /apps/jira/bin and run startup.sh manually, then it should either error, or try to start JIRA and write to the catalina.out file.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
when I do that I get the java error, that's why I created my script
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
First run
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.
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.
So what does catalina.out say now?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I changed it to /usr/java/default and it started, but the header is blue, not red!! and also it's giving me an error. see attached.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Nic, there's no .lock file exists at all !! any idea? looks like we're so close...thank you for all your help..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Stop all the Atlassian applications on the machine, then check the lock file is definitely gone, then try again.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nic,
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...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks Nic, i'm trying to find a way to re-install Jira from scratch and just apply the latest backup! :)
maybe a windows one so it'd be much easier than dealing with linux !
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.