免费注册 查看新帖 |

Chinaunix

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

求助!在linux上安装informix后无法进入dbaccess [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-04-01 19:23 |只看该作者 |倒序浏览
在hr7.2上刚装好的informix数据库,onstat - 没问题 但是就是进不去dbaccess
提示:dbccess: error while loading shared libraries: libncurses.so.4: cannot open shared object file: No such file or directory
请高人指点。

online.log中报错:
18:55:15  Building 'sysmaster' database ...
18:55:16  Error building 'sysmaster' database.
18:55:16  See '/tmp/buildsmi.1339'.

tmp/buildsmi.1339':
This file is the output of the dbaccess command in the shell script,
$INFORMIXDIR/etc/buildsmi.  This script is run when Informix OnLine DSA is first initialized.  It builds the database and tables which support the System Monitoring Interface.  If you were directed to see this file, a problem probably occurred while building the database and/or its tables and views.  See below for more information regarding any problems.

Problems may have occurred if OnLine was shutdown after initialization but before the entire database was created.  If this was the case,login as 'informix', rerun 'oninit', and wait for the message

    "'sysmaster' database created successfully"

to appear in the OnLine message log before shutting down.  Once it is created successfully, it should never need to be recreated.

dbaccess: error while loading shared libraries: libncurses.so.4:
cannot open shared object file: No such file or directory
Cleaning up whatever was successfully created

dbaccess: error while loading shared libraries: libncurses.so.4: cannot open shared object file: No such file or directory

论坛徽章:
5
荣誉会员
日期:2011-11-23 16:44:17CU大牛徽章
日期:2013-09-18 15:15:15CU大牛徽章
日期:2013-09-18 15:15:45未羊
日期:2014-02-25 14:37:19射手座
日期:2014-12-26 22:55:37
2 [报告]
发表于 2005-04-01 21:03 |只看该作者

求助!在linux上安装informix后无法进入dbaccess

cd /usr/lib
ln -s libncurses.so.5 libncurses.4
不过我倒是建议你装新版本,不论LINUX发行版本还是INFORMIX。
比如用SLES 9 +INFORMIX IDS 10.0

论坛徽章:
0
3 [报告]
发表于 2005-04-01 23:29 |只看该作者

求助!在linux上安装informix后无法进入dbaccess

谢谢 wolfop 的方法,已经ok了。

论坛徽章:
0
4 [报告]
发表于 2005-04-03 11:55 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
5 [报告]
发表于 2005-04-03 22:29 |只看该作者

求助!在linux上安装informix后无法进入dbaccess

czw1413_cn兄说得没错,可是为什么我安装的时候,系统没有自动把libncurses.so.4 copy到/usr/lib下呢?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP