songbo850824 发表于 2011-03-01 01:33

informix的客户端要连接服务端需要配置哪些文件?

informix的客户端要连接服务端需要配置哪些文件?这些文件配置了以后系统是怎么读这些文件连接到服务端的呢?
客户端是装在HP-UX上的,服务端也是。

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


Mon Feb 28 17:03:02 2011

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

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

17:03:08Server stopped.

17:03:08IBM Informix Dynamic Server Stopped.

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

flyinweb_cu 发表于 2011-03-01 15:19

本帖最后由 flyinweb_cu 于 2011-03-01 15:35 编辑

-25572Network 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要使用的端口是否被占用

antyison 发表于 2011-03-02 01:13

这个启动失败是端口问题,sqlhosts 文件里第四列是端口设置。



客户端连接服务器,不同的链接方式大同小异,一般需要的信息有:
主机名(或地址),端口号,用户名,密码,实例名,有时还需要库名。
页: [1]
查看完整版本: informix的客户端要连接服务端需要配置哪些文件?