近来碰到一个关于SCTP的问题:某个产品跑在Monta Vista上,其内核版本号为2.6.21;可每次该产品泡在我们的Red Hat Enterprise Linux 5.5上时,都会报错错误信息如下:
ammsSetSockOpt()调用了Linux API setsockopt()。产品的同事告诉我们他们升级过libsctp.so,于是我们copy了MV中的这个shared lib到RHEL中,问题依旧。后来我们以为是RHEL5.5的内核和Monta Vista的内核不一致,于是我把RHEL的内核从2.6.18-194.el5升级到2.6.18-238.9.1.el5,问题还在。当我们还在考虑要不要把我们的server替换为Monta Vista时,一位同事受
http://centos.org/modules/newbb/viewtopic.php?viewmode=threaded&order=ASC&topic_id=18994&forum=37&move=next&topic_time=1236769500
的启发,把setsockopt()最后一个参数由sizeof(events)改为8,竟然成功了! events定义如下。
最终,发现RHEL5和RHEL6中struct
sctp_event_subscribe的定义竟然完全不同!要想根本解决上面的问题,只能升级操作系统到RHEL6了。
RHEL5中的定义:http://rhkernel.org/RHEL5+2.6.18-194.el5/include/net/sctp/user.h#L367
RHEL 6中的定义:http://rhkernel.org/RHEL6+2.6.32-71.18.2.el6/include/net/sctp/user.h#L406
分享到:
相关推荐
RHEL6_134 U1.3 Kickstart在workstation中实现.pdf RHEL6_135 U1.0 Anaconda安装器.pdf RHEL6_135 U1.2 生成kickstart脚本文件.pdf RHEL6_135 U10 ldap网络帐户管理.pdf RHEL6_135 U11 文件访问控制ACL.pdf ...
资源是Redhat7.4镜像文件的云盘链接,包括rhel-server-7.4-x86_64-boot.iso和rhel-server-7.4-x86_64-dvd.iso 仅供学习交流,严禁用于商业用途,请于24小时内删除
rhel-server-6.0-x86_64-dvd.iso rhel-server-6.1-x86_64-dvd.iso rhel-server-6.2-x86_64-dvd.iso rhel-server-6.3-x86_64-dvd.iso rhel-server-6.4-x86_64-dvd.iso rhel-server-6.5-x86_64-dvd.iso rhel-server-...
RHEL6之11:RHEL6_GFS_Web_HARHEL6之11:RHEL6_GFS_Web_HARHEL6之11:RHEL6_GFS_Web_HA
资源是Redhat7.2镜像文件的云盘链接,包括rhel-server-7.2-x86_64-boot.iso和rhel-server-7.2-x86_64-dvd.iso 仅供学习交流,严禁用于商业用途,请于24小时内删除
资源是Redhat7.3镜像文件的云盘链接,包括rhel-server-7.3-x86_64-boot.iso和rhel-server-7.3-x86_64-dvd.iso 仅供学习交流,严禁用于商业用途,请于24小时内删除
rhel7.3系统,rhel-server-7.3-x86_64-dvd,大小总共3.5G,亲测可用
RHEL6U6_86_64平台下面ORACLE12.2C 安装前配置文档,为安装ORACLE做相关的准备工作,配置好LINUX相关系统资源,创建ORACLE用户、组等
主要是linux RHEL 5.0 6.0 7.0 三个版本常用指令的不同与对比。
rhel-server-7.7-x86_64-dvd.part1 rhel-server-7.7-x86_64-dvd.part2 百度网盘下载地址:https://pan.baidu.com/s/1HLtSKQka23BhSsd0iyPCbg
rhel-server-5.1-x86_64-dvd.iso rhel-server-5.2-x86_64-dvd.iso rhel-server-5.3-x86_64-dvd.iso rhel-server-5.4-x86_64-dvd.iso rhel-server-5.5-x86_64-dvd.iso rhel-server-5.6-x86_64-dvd.iso rhel-server-...
rhel-server-7.0-x86_64-dvd 操作系统 网盘下载地址 确保资源可用
资源是Redhat7.5镜像文件的云盘链接,包括rhel-server-7.5-x86_64-dvd.iso 仅供学习交流,严禁用于商业用途,请于24小时内删除
Requirements For Installing Oracle10gR2 On RHEL 5&OEL 5 (x86_64)
RHEL,即Red Hat Enterprise Linux的缩写,是Red Hat公司的Linux系统。网盘含内有 rhel 6、7、8、8.1等各版本(已增加 boot.iso)
rhel-server-6.0-x86_64-dvd.iso rhel-server-7.1-x86_64-dvd.iso rhel-server-7.2-x86_64-dvd.iso rhel-server-7.3-x86_64-dvd.iso rhel-server-7.4-x86_64-dvd.iso rhel-server-7.5-x86_64-dvd.iso rhel-server-...
资源是Redhat7.1镜像文件的云盘链接,包括rhel-server-7.1-x86_64-boot.iso、rhel-server-7.1-x86_64-dvd.iso和supp-server-7.1-rhel-7-x86_64-dvd.iso 仅供学习交流,严禁用于商业用途,请于24小时内删除
RHEL_8.2 ISO
rhel-server-5.8-x86_64 redhat 5.8 64bit download 红帽中5.8是5系列中使用最多也是最稳定的