I'm installing Jira 7.12.1 on CentOS and I'm up to Step 2. Copy the MySQL JDBC driver to your application server.
Step 2.3 restart I used commands /etc/init.d/jira stop > Enter > /etc/init.d/jira start > Enter > Browser > http://192.168.1.141:8080 and error: This site can't be reached.
I think I install the MySQL driver JDBC Connector/J 5.1 in the correct location in /lib.
Here's the output I see when starting Jira with the command:
[code]
[root@localhost /]# /etc/init.d/jira start
To run JIRA in the foreground, start the server with start-jira.sh -fg
executing using dedicated user: jira
.....
.... .NMMMD. ...
.8MMM. $MMN,..~MMMO.
.?MMM. .MMM?.
OMMMMZ. .,NMMMN~
.IMMMMMM. .NMMMN. .MMMMMN,
,MMMMMM$..3MD..ZMMMMMM.
=NMMMMMM,. .,MMMMMMD.
.MMMMMMMM8MMMMMMM,
.ONMMMMMMMMMMZ.
,NMMMMMMM8.
.:,.$MMMMMMM
.IMMMM..NMMMMMD.
.8MMMMM: :NMMMMN.
.MMMMMM. .MMMMM~.
.MMMMMN .MMMMM?.
Atlassian JIRA
Version : 7.12.1
If you encounter issues starting or stopping JIRA, please see the Troubleshooting guide at http://confluence.atlassian.com/display/JIRA/Installation+Troubleshooting+Guide
Server startup logs are located in /opt/atlassian/jira/logs/catalina.out
Using CATALINA_BASE: /opt/atlassian/jira
Using CATALINA_HOME: /opt/atlassian/jira
Using CATALINA_TMPDIR: /opt/atlassian/jira/temp
Using JRE_HOME: /opt/atlassian/jira/jre/
Using CLASSPATH: /opt/atlassian/jira/bin/bootstrap.jar:/opt/atlassian/jira/bin/tomcat-juli.jar
Using CATALINA_PID: /opt/atlassian/jira/work/catalina.pid
Existing PID file found during start.
Tomcat appears to still be running with PID 3917. Start aborted.
If the following process is not a Tomcat process, remove the PID file and try again:
UID PID PPID C STIME TTY TIME CMD
jira 3917 1 1 00:28 ? 00:00:16 /opt/atlassian/jira/jre//bin/java -Djava.util.logging.config.file=/opt/atlassi
[/code]
Hi @eiger3970,
the issue is that your Jira instance is still running somehow, as show in your logs:
Tomcat appears to still be running with PID 3917. Start aborted.
You should try to locate the Tomcat pid with the following command:
ps -ef | grep -i tomcat
and kill this process manully. If you're struggling to do this, you can simply restart your server.
Also, did you actully copy the MySQL JDBC driver in /lib or in the <atlassian-installation-dir/lib> ? Make sure to place the driver in the directory where Jira installation files are located and not on your /lib folder (this one is used for system-wide used libraries).
Let me know if you have any questions,
--Alexis
Hmmm, just tested again after moving the .jar file to /opt/atlassian/jira/lib. Stopped and message: Tomcat stopped. service jirastart and message: Tomcat started.
Browser and won't load Jira.
Something doesn't work with this restart?
I then tried to process check for what to kill as the restart commands don't seem to work:
[code]
[root@localhost lib]# ps -ef | grep -i tomcat
jira 31068 1 5 22:50 ? 00:00:16 /opt/atlassian/jira/jre//bin/java -Djava.util.logging.config.file=/opt/atlassian/jira/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Xms384m -Xmx768m -Djava.awt.headless=true -Datlassian.standalone=JIRA -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true -Dmail.mime.decodeparameters=true -Dorg.dom4j.factory=com.atlassian.core.xml.InterningDocumentFactory -XX:-OmitStackTraceInFastThrow -Datlassian.plugins.startup.options= -Djdk.tls.ephemeralDHKeySize=2048 -Djava.protocol.handler.pkgs=org.apache.catalina.webresources -Xloggc:/opt/atlassian/jira/logs/atlassian-jira-gc-%t.log -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 -XX:GCLogFileSize=20M -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps -XX:+PrintGCCause -Dignore.endorsed.dirs= -classpath /opt/atlassian/jira/bin/bootstrap.jar:/opt/atlassian/jira/bin/tomcat-juli.jar -Dcatalina.base=/opt/atlassian/jira -Dcatalina.home=/opt/atlassian/jira -Djava.io.tmpdir=/opt/atlassian/jira/temp org.apache.catalina.startup.Bootstrap start
root 31440 1855 0 22:56 pts/0 00:00:00 grep --color=auto -i tomcat
[/code]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Magically, the browser now shows the Database setup wizard.
Yes, I have the mysql-connector-java-5.1.47 in /lib, rather than the atlassian-installation-dir/lib.
I'm looking for this directory but don't find it. I looked in /home/jira, but there are no directories in here?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @eiger3970
I would recommend you take a look at here. You can find the solution to your problem.
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Earning the Mindful Member badge proves you know how to lead with kindness, plus it enters you into a giveaway for exclusive Atlassian swag. Take the quiz, grab the badge, and comment on our announcement article to spread the good vibes!
Start here
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.