db2 - 基本命令 (db2level) 未免费运行 Db2 Community Edition 11.5.5(最新)
问题描述
多年来,以前的 DB2 Express-C 版本运行良好,但基本命令无法在免费Db2 Community Edition 11.5.5 (latest)上运行。
安装 Db2 Community Edition 11.5.5 后,运行db2level命令时出现错误:
SQL1022C There is not enough memory available to process the command.
以下链接没有帮助:
- https://www.ibm.com/support/pages/error-sql1022c-there-not-enough-memory-available-process-command-after-sharing-hostname-db2-server
- https://www.ibm.com/support/pages/running-db2level-db2-command-window-returning-sql1022c
我的一些发现是:
db2set' not working - DBI1302E Invalid parameter detected.
'db2set -all' working - DB2_EXTSECURITY=YES
'db2level' - SQL1022C There is not enough memory available to process the command.
'db2start' not working - SQL1390C The environment variable DB2INSTANCE is not defined or is invalid.
DB2 icon not presented on taskbar
db2 get dbm cfg | find "SYSADM" - not working (no output)
db2 get dbm cfg - DB21018E A system error occurred. The command line processor could not continue processing.
db2 update dbm cfg using sysadm_group DB2ADMNS - DB21018E A system error occurred. The command line processor could not continue processing.
- 遵循与 DB2 9.7 版本(在 WIN 8.1 机器 + RAM 8 GB 上)相同的推荐步骤(用于 DB2 安装)。
- 我的登录用户是机器管理员
- 提供的用户是“db2admin”
- 现在在问题机器上,操作系统是 Windows 10 Pro + RAM 8 GB。
-
- 解压下载的 zip 后运行 setup.exe
-
- 从 DB2 Setup Launchpad > Install a Product > DB2 Version 11.5.5.0 Server Editions > Install Now > 然后使用所有默认设置安装
- DB2 安装程序安装成功,但 DB2 命令无法正常工作,如上所述
解决方案
推荐阅读
- python - 我很难使用 os.rename 批量重命名文件
- excel - Count special characters in range in a function
- odoo - 基于 res.users 中字段的域过滤器,用于 Odoo XML 树视图
- android - 如何禁用 ColumnHeader 和 RowHeader 并禁用 SelectedColor
- ip - 如何在拆分隧道 VPN 上确定我的 IP 地址?
- hibernate - 从多对一/一对多映射中获取数据
- java - 在 JavaFx 中使用 TableView 时,它显示 2 个表中的数据,而不是另一个表
- vba - 如何在 VBA 代码中将名称转换为电子邮件地址
- svn - SVN 插入符号 [^]
- r - 2个向量的条件分组/循环