再重新启动jira:
[root@name01 atlassian-jira-4.4.5-standalone]# /root/atlassian-jira-4.4.5-standalone/bin/start-jira.sh
To run JIRA in the foreground, start the server with start-jira.sh -fg
Server startup logs are located in /root/atlassian-jira-4.4.5-standalone/logs/catalina.out
executing as current user
MMMMMMMMMMM .,MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMM. OMM. ~MM.. MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMDMMZ7MMMMMMMMN7DMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMDMMMMMMMMMMMMMMMMMNMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMZ IMMM ..MMN= ,8MO 8 IN +DM8 ?MMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMM ..OI . 8I...MMMO 8 IN M7 ,MMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMN, . +MMMMMO 8 IN =O M~ ~..$MMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMM~... +MMMMMMO 8 IN . . IN I..+MMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMI . OMMMMMMMO 8 IN := ,O =8 MMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMD ... .MMMMMMO 8 IN =O + .MMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMM, =N. .7MMMM~. 8 IN =O :. =M. .MMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMM, . MMD. .+MMM= :$M IN =O , IM: .MMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
__ __ __ _ __
\ \/ /___ __ __ / /_ ____ __ _____ (_)___________ _____ _____/ /
\ / __ \/ / / / / __ \/ __ `/ | / / _ \ / / ___/ ___/ / / / _ \/ ___/ /
/ / /_/ / /_/ / / / / / /_/ /| |/ / __/ / (__ |__ ) /_/ / __(__ )_/
/_/\____/\__,_/ /_/ /_/\__,_/ |___/\___/ /_/____/____/\__,_/\___/____(_)
JIRA Standalone Edition
Version : 4.4.5
Detecting JVM PermGen support...
PermGen switch is supported. Setting to 256m
If you encounter issues starting or stopping JIRA Standalone Edition, please see the Troubleshooting guide at +Troubleshooting+Guide
Using CATALINA_BASE: /root/atlassian-jira-4.4.5-standalone
Using CATALINA_HOME: /root/atlassian-jira-4.4.5-standalone
Using CATALINA_TMPDIR: /root/atlassian-jira-4.4.5-standalone/temp
Using JRE_HOME: /usr/lib/jvm/jdk1.7.0_60/jre
Using CLASSPATH: /root/atlassian-jira-4.4.5-standalone/bin/bootstrap.jar
Using CATALINA_PID: /root/atlassian-jira-4.4.5-standalone/work/catalina.pid
[root@name01 atlassian-jira-4.4.5-standalone]#
3.3,配置jira数据库再次访问:8080/,如下显示正常:
点击下一步,录入各项信息,准备创建DB
3.4,报错信息 JIRA Startup Failed
Gadget Directory Plugin (com.atlassian.gadgets.directory)
Atlassian OAuth Admin Plugin (com.atlassian.oauth.admin)
Atlassian JIRA - Plugins - Shared Application Access Layer (SAL) Plugin (com.atlassian.sal.jira)
Atlassian JIRA - Plugins - Look And Feel Logo Upload Plugin (com.atlassian.jira.lookandfeel)
Atlassian REST - Module Types (com.atlassian.plugins.rest.atlassian-rest-module)
Atlassian JIRA - Plugins - REST Plugin (com.atlassian.jira.rest)
Opensocial Plugin (com.atlassian.gadgets.opensocial)
重新关闭启动,报错如下:
……
Using CATALINA_BASE: /root/atlassian-jira-4.4.5-standalone
Using CATALINA_HOME: /root/atlassian-jira-4.4.5-standalone
Using CATALINA_TMPDIR: /root/atlassian-jira-4.4.5-standalone/temp
Using JRE_HOME: /usr/lib/jvm/jdk1.7.0_60/jre
Using CLASSPATH: /root/atlassian-jira-4.4.5-standalone/bin/bootstrap.jar
Using CATALINA_PID: /root/atlassian-jira-4.4.5-standalone/work/catalina.pid
Existing PID file found during start.
Tomcat appears to still be running with PID 32194. Start aborted.
[root@name01 logs]#
Kill 掉已经存在的进程32194
[root@name01 logs]# kill -9 32194
[root@name01 logs]#
再重新启动jira进程,启动信息如下:
Using CATALINA_BASE: /root/atlassian-jira-4.4.5-standalone
Using CATALINA_HOME: /root/atlassian-jira-4.4.5-standalone
Using CATALINA_TMPDIR: /root/atlassian-jira-4.4.5-standalone/temp
Using JRE_HOME: /usr/lib/jvm/jdk1.7.0_60/jre
Using CLASSPATH: /root/atlassian-jira-4.4.5-standalone/bin/bootstrap.jar
Using CATALINA_PID: /root/atlassian-jira-4.4.5-standalone/work/catalina.pid
Existing PID file found during start.
Removing/clearing stale PID file.
[root@name01 logs]#
查看日志文件,有如下信息:
[root@name01 logs]# more catalina.out
九月 11, 2014 5:41:41 下午 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the Java.library.path: /usr/java/packages/lib/amd64:/usr/lib64:/l
ib64:/lib:/usr/lib
九月 11, 2014 5:41:41 下午 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
九月 11, 2014 5:41:41 下午 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 1007 ms
九月 11, 2014 5:41:41 下午 org.apache.catalina.realm.JAASRealm setContainer
信息: Set JAAS app name Catalina
九月 11, 2014 5:41:41 下午 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
九月 11, 2014 5:41:41 下午 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.32
2014-09-11 17:41:43,504 main INFO [jira.config.database.SystemTenantDatabaseConfigurationLoader] Reading database configuration from/usr/lib/jvm/jdk1.7.0_60/dbconfig.xml
2014-09-11 17:41:44,076 main INFO [atlassian.jira.startup.JiraStartupLogger]
删除这个dbconfig.xml,关闭jira,然后再重新启动,这回启动正常了,如下所示:
看见这个页面就表示JIRA服务正常启动了,接下来是根据安装向导配置安装的过程。
3.5,重新配置DB过程看Database Configuration,有Internal和External二个选择项,我们要使用External,选择外部数据库。