Cannot Start JIRA 4.0

View: New views
3 Messages — Rating Filter:   Alert me  

Cannot Start JIRA 4.0

by forums-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello-

I'm having an issue starting JIRA. IT says that it can't find JAVA_HOME, but I've clearly set it up. Below the output of me checking my config and trying to start JIRA. Any ideas?

Regards,
Eric

{code}
[emarthinsen@dev bin]$ java -version
java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Java HotSpot(TM) Client VM (build 14.3-b01, mixed mode, sharing)

[emarthinsen@dev bin]$ echo $JAVA_HOME
/usr/java/default

[emarthinsen@dev bin]$ sudo ./startup.sh
Detecting JVM PermGen support...
PermGen switch is NOT supported and will NOT be set automatically.
If you encounter issues starting up JIRA Standalone Edition, please see the Troubleshooting guide at http://confluence.atlassian.com/display/JIRA/Installation+Troubleshooting+Guide
Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
At least one of these environment variable is needed to run this program
{code}
--
Post by emarthinsen - online at:
http://forums.atlassian.com/thread.jspa?forumID=46&threadID=38589
_______________________________________________
Jira-user mailing list
Jira-user@...
To unsubscribe or change your options visit this page:
http://lists.atlassian.com/mailman/listinfo/jira-user

Re: Cannot Start JIRA 4.0

by forums-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Here's one more piece of information. I was just able to start JIRA, but using "su" to change to root, then running "./startup.sh". However, if I am not su, then running "sudo ./startup.sh" does not work.

Does anyone know why this is?

FYI - I've defined JAVA_HOME in /etc/profile

Regards,
Eric
--
Post by emarthinsen - online at:
http://forums.atlassian.com/thread.jspa?forumID=46&threadID=38589
_______________________________________________
Jira-user mailing list
Jira-user@...
To unsubscribe or change your options visit this page:
http://lists.atlassian.com/mailman/listinfo/jira-user

Re: Cannot Start JIRA 4.0

by forums-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Check the permissions and ownership of the Jira files.  I usually create a new user to run it, giving that ownership of the files, as I don't like running anything as root unless I have to.
--
Post by broughn2 - online at:
http://forums.atlassian.com/thread.jspa?forumID=46&threadID=38589
_______________________________________________
Jira-user mailing list
Jira-user@...
To unsubscribe or change your options visit this page:
http://lists.atlassian.com/mailman/listinfo/jira-user