Sybase ASE安装过程报错,无法创建数据库设备[AM fork() failed]

时间:2023-11-09 22:33:56

今天同事要搭建一套测试环境,安装开发版的SYBASE ASE 15.03 Windows平台下的,发现安装过程中到了创建数据库设备的环节就开始报错了,报错信息如下:

03/24/14 09:31:44 AM END ENVIRONMENT INFORMATION
03/24/14 09:31:44 AM Using resource file 'C:\sybase\ASE-15_0\sqlsrv.res' for
product attributes.
03/24/14 09:31:44 AM Running task: update Sybase Server entry in interfaces
file.
03/24/14 09:31:44 AM Task succeeded: update Sybase Server entry in interfaces
file.
03/24/14 09:31:44 AM Running task: create the master device.
03/24/14 09:31:45 AM Calling the shell with 'C:\sybase\ASE-15_0\bin\sqlsrvr.exe
-dF:\sybdata01\master.dat -b200M -Z150M -z8192
-eC:\sybase\ASE-15_0\install\GGYXCS.log -sGGYXCS
-MC:\sybase\ASE-15_0 '.
03/24/14 09:31:45 AM fork() failed with the following message:
C:\sybase\ASE-15_0\bin\sqlsrvr.exe.
03/24/14 09:31:45 AM Task failed: create the master device. Terminating
configuration.
03/24/14 09:31:45 AM Configuration failed.
03/24/14 09:31:45 AM Exiting.
03/24/14 09:31:45 AM The log file for this session is
'C:\sybase\ASE-15_0\init\logs\log0324.001'.
03/24/14 09:31:45 AM Log close.

第一印象是某些插件或类库包没有安装好,导致安装过程报错。于是找到白皮书中的安装要求,看到内容如下:

警告!在32 位的Windows 平台上运行Adaptive Server 15.0 版之前,必
须满足以下条件之一:
• 安装Microsoft Visual C++ 6.0,或者
• 下载一个名为 vcredist.exe 的修补程序,在Microsoft 知识库文章
259403 中对此修补程序有所介绍。在位于
http://support.microsoft.com/default.aspx?scid=
http://support.microsoft.com:80/support/kb/articles/Q259/4/03.ASP&
NoWebContent=1 上的Microsoft Web 站点上可以找到此修补程序

从网上找到一个对应操作系统版本的 vcredist.exe ,安装后重启机器,重新进行安装,问题得到解决。