---
title: "MethodServer连接数据库失败解决办法一"
author: "jeans"
date: "2009-08-04T22:39:53Z"
tags: []
slug: "methodserver"
draft: false
lastmod: "2009-08-04T22:39:53Z"
id: 440264
url: "https://jeans.iteye.com/blog/440264"
---

Windchill启动服务时失败,MethodServer报如下错误:

main: INFO  : wt.pom.statementCache - WTConnection(): statementManager=wt.pom.StandardCacheStatementManager  
main: wt.ufid.UfidException: wt.pom.DatastoreException: 出现持续性错误，系统信息如下:  
main:  wt.pom.ConnectionException: 出现一个 SQL 错误。数据库系统信息如下:  
main:  java.sql.SQLException: ORA-01033: ORACLE initialization or shutdown in progress

解决办法,试着执行如下代码:

1\.

sqlplus /nolog  
conn /  as sysdba  
startup mount

2\.

ORA-01033: ORACLE initialization or shutdown in progress  
意思是oracle 例程正在关闭或者初始化当中。。  
SQL&gt; shutdown immediate  
SQL&gt; startup force