免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2087 | 回复: 0
打印 上一主题 下一主题

SCO UnixWare 7.1.4下安装DB2 [复制链接]

论坛徽章:
1
15-16赛季CBA联赛之北控
日期:2022-03-04 22:35:50
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-03-25 11:00 |只看该作者 |倒序浏览

作者:www.sco.com  出处:www.sco.com   
DB2
The CD containing DB2 as part of the IBM Small Business Suite is not readable by UnixWare 7, but DB2 product CDs can be used.
Visit the IBM web site
http://www-4.ibm.com/software/data/db2/
to learn more about obtaining DB2.
The information provided here is for example purposes only. We recommend that you refer to the product documentation for definitive information about installing and configuring the product.
Prerequisites

  • The DB2 installer depends on ksh. Even if there is a ksh binary on your system, the DB2 installation might fail because there is no package in the RPM database that provides ksh. To fix this problem, install the AST package from the Caldera OpenLinux 3.1 "Supplemental Open Source Software" CD. The AST RPM provides ksh and several other shells. You can get more information about, or download Open Source Software CD packages from
    http://www.sco.com/support/contrib.

  • You have to tune the UnixWare 7 kernel shared memory segment parameter, SHMMAX, as recommended in
    ``Tuning for Linux applications''

  • Your terminal type must be "xterm" with 80 columns and 24 rows for the DB2 installer to work properly.

Users and groups
DB2 can be installed as documented, but it cannot create an instance of the database during installation. The DB2 installer does not use the standard interface for changing passwords and, as a result, breaks the symbolic link between UnixWare 7 and Linux etc/passwd and /etc/shadow files. The database installation then fails because it does not see its password changes on the UnixWare 7 side.
The LKP File Update Daemon detects the broken links and re-links them properly, but as part of this process, it throws out the updates made by DB2. You can review /var/admsyslog to see the rejected changes, and then add the required users and passwords using
useradd(1M)
.
Databases can be created normally after installation and accessed using the db2 command.
Installing DB2
As root from UNIX or Linux mode, type    /cdrom/db2setup
and follow the instructions that appear on the screen.
The installer creates a file, /etc/rc.db2, that needs to executed when the system is booted. You can start DB2 manually by executing this file.
Troubleshooting
If creation of the example database fails, make sure the Linux /etc/passwd file has a symbolic link to /unixware/etc/passwd. Otherwise the user accounts are not created in the Linux environment. If the files are not linked, re-link them, and re-run db2setup.


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/31/showart_507416.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP