informix服务监听端口号是什么

wmx880126 2016-10-29 09:00:58
informix数据库已经安装到linux服务器上,但是启动成功后,不知道端口号是什么?
-bash-4.1$ oninit -v
Your evaluation license will expire on 2017-01-27 00:00:00
Checking group membership to determine server run mode...succeeded
Reading configuration file '/opt/informix/etc/onconfig.mydbsn'...succeeded
Creating /INFORMIXTMP/.infxdirs...succeeded
Checking config parameters...succeeded
Allocating and attaching to shared memory...succeeded
Creating resident pool 10574 kbytes...succeeded
Allocating 100016 kbytes for buffer pool of 2K page size...succeeded
Creating infos file "/opt/informix/etc/.infos.mydbsn"...succeeded
Linking conf file "/opt/informix/etc/.conf.mydbsn"...succeeded
Initializing rhead structure...succeeded
Writing to infos file...succeeded
Initialization of Encryption...succeeded
Initializing ASF...succeeded
Initializing Dictionary Cache and SPL Routine Cache...succeeded
Bringing up ADM VP...succeeded
Creating VP classes...succeeded
Onlining 0 additional cpu vps...succeeded
Onlining 2 IO vps...succeeded
Forking main_loop thread...succeeded
Initializing DR structures...succeeded
Forking 1 'ipcshm' listener threads...succeeded
Starting tracing...succeeded
Initializing 8 flushers...succeeded
Initializing SDS Server network connections...succeeded
Initializing log/checkpoint information...succeeded
Initializing dbspaces...succeeded
Opening primary chunks...succeeded
Opening mirror chunks...succeeded
Validating chunks...succeeded
Initialize Async Log Flusher...succeeded
Starting B-tree Scanner...succeeded
Initializing DBSPACETEMP list...succeeded
Checking database partition index...succeeded
Initializing dataskip structure...succeeded
Checking for temporary tables to drop...succeeded
Forking onmode_mon thread...succeeded
Creating periodic thread...succeeded
Starting scheduling system...succeeded
Verbose output complete: mode = 5

对应的sqlhost配置文件
mydbsn onipcshm 120.55.243.85 8021

搜索端口号没有找到
-bash-4.1$ netstat -an|grep 8021
-bash-4.1$

onstat命令执行结果
-bash-4.1$ onstat
Your evaluation license will expire on 2017-01-27 00:00:00

IBM Informix Dynamic Server Version 11.50.UC9TL -- On-Line -- Up 00:08:34 -- 144680 Kbytes

Userthreads
address flags sessid user tty wait tout locks nreads nwrites
4aefe018 ---P--D 1 informix - 0 0 0 24 28
4aefe624 ---P--F 0 informix - 0 0 0 0 26
4aefec30 ---P--F 0 informix - 0 0 0 0 0
4aeff23c ---P--F 0 informix - 0 0 0 0 0
4aeff848 ---P--F 0 informix - 0 0 0 0 0
4aeffe54 ---P--F 0 informix - 0 0 0 0 0
4af00460 ---P--F 0 informix - 0 0 0 0 0
4af00a6c ---P--F 0 informix - 0 0 0 0 0
4af01078 ---P--F 0 informix - 0 0 0 0 0
4af01684 ---P--- 6 informix - 0 0 0 0 0
4af01c90 ---P--B 7 informix - 0 0 0 0 0
4af0229c Y--P--D 23 informix - 441220a8 0 0 0 0
4af028a8 ---P--D 11 informix - 0 0 0 2 0
4af02eb4 ---P--D 10 informix - 0 0 0 0 0
4af034c0 ---P--- 22 informix - 0 0 1 57 2
4af03acc ---P--- 21 informix - 0 0 1 49 4
4af040d8 ---P--- 20 informix - 0 0 1 189 10
17 active, 128 total, 24 maximum concurrent

Profile
dskreads pagreads bufreads %cached dskwrits pagwrits bufwrits %cached
323 361 10724 96.99 51 70 488 89.55

isamtot open start read write rewrite delete commit rollbk
6419 534 975 2565 208 31 0 14 0

gp_read gp_write gp_rewrt gp_del gp_alloc gp_free gp_curs
0 0 0 0 0 0 0

ovlock ovuserthread ovbuff usercpu syscpu numckpts flushes
0 0 0 0.13 0.06 2 2

bufwaits lokwaits lockreqs deadlks dltouts ckpwaits compress seqscans
60 0 2129 0 0 0 5 287

ixda-RA idx-RA da-RA RA-pgsused lchwaits
60 0 13 73 2


informix是正常启动的,dbaccess可以访问,现在想用代码连接,不知道监听的端口号、用户名和密码,求助
...全文
3160 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
大梦770 2016-12-07
  • 打赏
  • 举报
回复
onipcshm 是共享内存通讯,不会有端口的 你用onsoctcp或是ontlitcp,才会有端口,和你的操作系统有关,大多数都是onsoctcp

1,194

社区成员

发帖
与我相关
我的任务
社区描述
其他数据库开发 Informix
社区管理员
  • Informix社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧