Jira Evaluation Crash workout.

Hmm I wonder whats going on here. 

It was all going ok for about 2 weeks ,then this morning

 no jira.

so i eventually try this

 

>sh start-jira.sh -fg

and get this at the end of jargon.


    ******************************************

    JIRA startup failed, JIRA has been locked.

    ******************************************

    

2016-07-01 19:44:54,822 localhost-startStop-1 ERROR      [o.apache.jasper.EmbeddedServletOptions] The scratchDir you specified: /Applications/Jira_app/atlassian-jira-software-7.1.7-standalone/work/Catalina/localhost/ROOT is unusable.

01-Jul-2016 19:44:54.897 SEVERE [main] org.apache.catalina.valves.AccessLogValve.open Failed to open access log file [/Applications/Jira_app/atlassian-jira-software-7.1.7-standalone/logs/access_log.2016-07-01]

 java.io.FileNotFoundException: /Applications/Jira_app/atlassian-jira-software-7.1.7-standalone/logs/access_log.2016-07-01 (Permission denied)

 at java.io.FileOutputStream.open0(Native Method)

 at java.io.FileOutputStream.open(FileOutputStream.java:270)

 at java.io.FileOutputStream.<init>(FileOutputStream.java:213)

 at org.apache.catalina.valves.AccessLogValve.open(AccessLogValve.java:579)

 at org.apache.catalina.valves.AccessLogValve.startInternal(AccessLogValve.java:609)

 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)

 at org.apache.catalina.core.StandardPipeline.startInternal(StandardPipeline.java:170)

 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)

 at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:930)

 at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)

 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)

 at org.apache.catalina.core.StandardService.startInternal(StandardService.java:441)

 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)

 at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:769)

 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)

 at org.apache.catalina.startup.Catalina.start(Catalina.java:629)

 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

 at java.lang.reflect.Method.invoke(Method.java:498)

 at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:351)

 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:485)

 

01-Jul-2016 19:44:54.918 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]

01-Jul-2016 19:44:54.938 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 18678 ms

2016-07-01 19:44:55,082 JIRA-Bootstrap INFO      [c.a.jira.startup.LauncherContextListener] Memory Usage:

    ---------------------------------------------------------------------------------

      Heap memory     :  Used:  155 MiB.  Committed:  461 MiB.  Max:  735 MiB

      Non-heap memory :  Used:   34 MiB.  Committed:   36 MiB.  Max: 1264 MiB

    ---------------------------------------------------------------------------------

      TOTAL           :  Used:  189 MiB.  Committed:  497 MiB.  Max: 1999 MiB

    ---------------------------------------------------------------------------------

 

 

2 answers

1 accepted

This widget could not be displayed.

You've (re)started JIRA as the wrong user, either last time you ran it or this time.  The user running it takes ownership of files and always assumes the files are theirs, so if you run it as another user, the permissions are usually wrong.

Stop JIRA, change the ownership of all the directories (JIRA home and JIRA installation), sub-directories and files to the user who should be running JIRA and restart it as that user.

Excellent! Thank you Nic. Was a bit confused on the whole user selection process. This clarified it and fixed it. JIRA booting now!

This widget could not be displayed.
Steven Behnke Community Champion Jul 01, 2016

The logs are pretty clear, it looks like JIRA doesn't have permission to use it's home folder anymore. 

2016-07-01 19:44:54,822 localhost-startStop-1 ERROR      [o.apache.jasper.EmbeddedServletOptions] The scratchDir you specified: /Applications/Jira_app/atlassian-jira-software-7.1.7-standalone/work/Catalina/localhost/ROOT is unusable.

01-Jul-2016 19:44:54.897 SEVERE [main] org.apache.catalina.valves.AccessLogValve.open Failed to open access log file [/Applications/Jira_app/atlassian-jira-software-7.1.7-standalone/logs/access_log.2016-07-01]
 
java.io.FileNotFoundException: /Applications/Jira_app/atlassian-jira-software-7.1.7-standalone/logs/access_log.2016-07-01 (Permission denied)

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

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...

156 views 1 3
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you