免费注册 查看新帖 |

Chinaunix

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

informix的客户端要连接服务端需要配置哪些文件? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-03-01 01:33 |只看该作者 |倒序浏览
informix的客户端要连接服务端需要配置哪些文件?这些文件配置了以后系统是怎么读这些文件连接到服务端的呢?
客户端是装在HP-UX上的,服务端也是。

HP-UX上启动informix数据库失败,帮忙看看这段日志,谢谢


Mon Feb 28 17:03:02 2011

17:03:02  Warning: ONCONFIG dump directory (DUMPDIR) '/opt/informix/tmp' has insecure permissions
17:03:02  Event alarms enabled.  ALARMPROG = '/opt/informix/etc/alarmprogram.sh'
17:03:02  Dynamically allocated new virtual shared memory segment (size 8436KB)
17:03:02  Booting Language <c> from module <>
17:03:02  Loading Module <CNULL>
17:03:02  Booting Language <builtin> from module <>
17:03:02  Loading Module <BUILTINNULL>
17:03:07  Dynamically allocated new message shared memory segment (size 672KB)
17:03:07  IBM Informix Dynamic Server Version 9.40.FC7     Software Serial Number AAA#B000000
17:03:08  listener-thread: err = -25572: oserr = 227: errstr = : Network driver cannot bind a name to the port.
System error = 227.
17:03:08  sql_listener: ASF_LISTEN failed

17:03:08  Attempting to bring listener thread down.

17:03:08  Server stopped.

17:03:08  IBM Informix Dynamic Server Stopped.

17:03:08  mt_shm_remove: WARNING: may not have removed all/correct segments

论坛徽章:
0
2 [报告]
发表于 2011-03-01 15:19 |只看该作者
本帖最后由 flyinweb_cu 于 2011-03-01 15:35 编辑

-25572  Network driver cannot bind a name to the port.

A system call has failed. The sqlexecd daemon or database server cannot
access the network port that is specified by the servicename in the
sqlhosts file. This situation might occur because the network port is
already in use by another sqlexecd, database server, or other
application. Use a different servicename on the command line (prior to
Version 6.0) or in the sqlhosts file (beginning with Version 6.0).
Contact your system administrator for assistance.

贴一下 环境变量设置、sqlhosts、services、hosts及 onconfig 配置文件出来看一下,或者检查一下informix要使用的端口是否被占用

论坛徽章:
2
2015年迎新春徽章
日期:2015-03-04 09:53:172015元宵节徽章
日期:2015-03-06 15:51:33
3 [报告]
发表于 2011-03-02 01:13 |只看该作者
这个启动失败是端口问题,sqlhosts 文件里第四列是端口设置。



客户端连接服务器,不同的链接方式大同小异,一般需要的信息有:
主机名(或地址),端口号,用户名,密码,实例名,有时还需要库名。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP