- 论坛徽章:
- 0
|
小弟我有一个单机版的C/S程序,数据库是SYSBASE的一个.DB文件。
现在出现了启动错误,从应用程序登陆时出现如下错误提示:
数据库连接失败,请与系统管理员联系。
SQLSTATE=08001
[SYSBASE][ODBC DRIVER]Unable to connect to database server:unable to start specified database.
我再用ISQL联机该数据库,提示:
unable to start specified database。
我将该数据库最后一次的备份(我通过COPY 数据文件方式备份)覆盖当前的数据库后从应用程序签到和用ISQL签到均正常。
我查看了LOG记录,发现返回的错误码为-82,通过对SYSBASE网站的查询,对该错误的解释如下:
Item Value
SQLCODE –82
Constant SQLE_UNABLE_TO_START_DATABASE
SQLSTATE 08W09
Sybase error code 840
ODBC 2 State 08001
ODBC 3 State 08001
Parameter 1 Reason the database could not be
started, if known.
Probable cause
The database server was unable to start the specified
database. If you got this error while trying to autostart a
server and database, try starting the server and database
manually since the server window may provide more details.
从该解释可看出,我需要手工启动该数据库。
小弟我对SYSBASE不熟,但是从我对ORACLE的了解,手工启动数据库是针对服务器性的数据库而这种单机版的数据库如何手工启动呢?
还有,可能有些什么原因引起这种问题。我怀疑是否是数据库的LOG文件在数据库在使用时被破坏所致,请问各位大虾,是否有可能?谢谢!
等待中。。。。。。。。。。。。。。。
[/img] |
|