You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Firebird 4.0.3出现CreateFile操作I/O错误及数据库迁移问题求助

Firebird 4.0.3 迁移后I/O错误问题

旧服务器(Firebird 2.1)出现技术故障,我们将数据库复制到了一台搭载Firebird 4.0.3的虚拟服务器,现在遇到如下问题:执行CreateFile(open)操作时触发I/O错误,错误信息:

  • SQLCODE: -902
  • SQLSTATE: 08001
  • GDSCODE: 335544344

已完成的服务器配置

  • 已设置防火墙规则允许3050端口访问,netstat显示Firebird正在该端口监听
  • 已在aliases.conf中配置两个数据库的别名
  • 为测试第一个数据库,在firebird.conf中添加了以下配置:
DatabaseAccess = Restrict D:\Projects\db\

AuthServer = Srp256, Srp, Legacy_auth 
AuthClient = Srp256, Srp, Legacy_auth 
UserManager = Srp, Legacy_UserManager 
WireCrypt = Enabled

当前databases.conf配置

# ------------------------------
# List of known databases
# ------------------------------

#
# Makes it possible to specify per-database configuration parameters.
# See the list of them and description on file firebird.conf.
# To place that parameters in this file add them in curly braces
# after "alias = /path/to/database.fdb" line. Example:
#   big = /databases/bigdb.fdb
#   {
#       LockMemSize = 32M       # We know that bigdb needs a lot of locks
#       LockHashSlots = 19927   #   and big enough hash table for them
#   }
#

#
# Example Database:
#
employee.fdb = $(dir_sampleDb)/employee.fdb
employee = $(dir_sampleDb)/employee.fdb

#
# Master security database specific setup.
# Do not remove it until you understand well what are you doing!
#
security.db = $(dir_secDb)/security4.fdb
{
    RemoteAccess = false
    DefaultDbCachePages = 256
}

#
# Live Databases:
#

错误截图

Firebird操作错误截图


内容的提问来源于stack exchange,提问作者Anthony Voronkov

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.02 09:12:27