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
---------------------------------------------------------------------------------
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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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)
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.