在Ubuntu 14.04 LTS机器上成功安装IBM DB2 Express V10.5_01之后,我尝试按照下一步开始
db2fs
在X-Windows会话中。我被要求为firefox创建一个配置文件,并在浏览器窗口中显示一个错误消息对话框,显示
exception TypeError: netscape.security.PrivilegeManager is undefined
当按下ok几次时,“创建样本数据库”按钮消失,而是出现警告:
First Steps was unable to connect to the online DB2 Information Center and could not find an instance of a locally installed DB2 Information Center for this version of the product. To access product information, one of the following types of connections to a DB2 Information Center is required:
Internet access to the online DB2 Information Center
A locally installed version of the DB2 Information Center
Access to a remotely configured DB2 Information Center
作为解决方法,我尝试使用
db2sampl
将我的用户添加到由安装过程创建的组dasadm1 db2iadm1和db2fadm1之后。
db2sampl -force
Creating database "SAMPLE"...
Existing "SAMPLE" database found...
Dropping and recreating database "SAMPLE"...
Attempt to drop existing database "SAMPLE" failed.
Attempt to create the database "SAMPLE" failed.
SQL1013N The database alias name or database name "SAMPLE " could not be
found. SQLSTATE=42705
db2 list db directory
所示:
Database alias = SAMPLE
Database name = SAMPLE
Local database directory = <path>/db2inst1
Database release level = 10.00
Comment =
Directory entry type = Indirect
Catalog database partition number = -1
Alternate server hostname =
Alternate server port number =
不幸的是
db2cc
作为V10.5中的管理工具,不再可用,请参阅DB2 Express V10.1 and db2cc binary并在下载之前 IBM Data Studio我首先要检查安装的基本完整性。
db2help
e.g。给出错误消息
/bin/sh: 0: Illegal option -p
总之,我觉得Ubuntu 14.04 LTS不是IBM DB2 Express V10.5_01的支持平台。
在这种环境下运行IBM DB2 Express V10.5_01的可行性如何?