请教informix的services定义的简单问题!
我想知道informix在services文件中定义服务器的?用什么命令得到结果的?
不能用cat /etc/services
cat /etc/services|grep informix 双没有结果,特此请教!
在此先行谢过!!! cat /etc/services | grep -E 'informix|sqlexec'
这样也没有结果:Q 1000多次查看,居然无人回答。
看来informix人材短缺呀!!!
自问自答吧,留给后来菜菜们学习
echo"下面紧临这行注意大小写"
env|grep INFORMIX
echo"在结果中找:INFORMIXSQLHOSTS=/informix/etc/sqlhosts.inf"
cat/informix/etc/sqlhosts.inf
echo"在结果中找以tcp结尾的行(多数是这个协议),例:onsoctcp serverName servicesName"
cat /etc/services|grepservicesName
完毕,聪明的你一定明白 /informix/etc/sqlhosts.inf 、 serverName和servicesName
会根据你服务器设置情况而不同 结贴
再次感谢大家的热心。
我能感受到坛里一团正气。 /etc/hosts 是定义服务器的
/etc/services 是定义接口的
需要自己手动增加或修改
这个坛子现在怎么这么冷,一直不见什么版主的,难道版主都打酱油去了
页:
[1]