找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 17713|回复: 19

更换libopenssl.ipk解决gae运行一段时间报错退出——AR71xx安全线程版libopenssl

[复制链接]
在openwrt上跑gae总是会退出,一开始以为是性能(内存)不够的问题,也就没去管。、

最近在Openwrt x86上测试也是这样子,运行一段时间后,也是这个错误
.info sysinit: python: md_rand.c: 322: ssleay_rand_add: Assertion `md_c[1] == md_count[1]' failed.

于是去gae找了下Issue,嘿,还真有人发现了问题,原来是这个官方libopenssl的安全线程支持的问题。
https://code.google.com/p/gae/issues/detail?id=2781

于是赶紧按照修改编译一个libopenssl,安装上去,果然神清气爽,跑了一整天了,也没有退出。

使用说明:
  • 下载该libopenssl,上传到路由的/tmp目录下
  • 切换到/tmp目录下,用命令先安装这个特别版本的libopenssl。opkg install libopenssl_1.0.1c-1_ar71xx.ipk
  • 按照标准方法python,配置gae。


下载连接:http://www.zoublog.com/openwrt/libopenssl_1.0.1c-1_ar71xx.ipk

其他CPU版本的libopenssl请自行编译,按照如下链接的更改编译文件./trunk/packages/libs/openssl/Makefile。随着openwrt的版本的更迭,这个文件的目录可能会变来变去。
https://dev.openwrt.org/changeset/33269
我的恩山、我的无线 The best wifi forum is right here.
额,这个真没有研究过。。。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发现者  厉害啊
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

首先顶楼主一个,其次,上面的两位大神又见面了,真有缘啊,哈哈,看来,大家都是技术发烧友啊,呵呵呵
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

谢谢!这个有用。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

请问DD WRT下面也是这个问题吗?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

可以帮忙编译用于athros芯片的? DD WRT环境?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
煎米茶 发表于 2013-1-8 22:19
可以帮忙编译用于athros芯片的? DD WRT环境?

dd-wrt目前还没发现有问题,我也是想变一个dd-wrt固件给wr720n,但是到目前为止,源代码没有一次下完了,源代码似乎很大。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

zouwenxin 发表于 2013-1-8 23:27
dd-wrt目前还没发现有问题,我也是想变一个dd-wrt固件给wr720n,但是到目前为止,源代码没有一次下完了, ...

DD WRT也会很容易崩溃呀? 你的这个文件好像不能在DD环境下安装。提示MD5sum错误。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

实践出真知。哈哈。学习了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

不能下载了,求下载地址
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
ohyeah521 发表于 2013-4-30 22:17
不能下载了,求下载地址

现在可以下载了,前几天,博客所在服务器关机了。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

煎米茶 发表于 2013-1-10 15:35
DD WRT也会很容易崩溃呀? 你的这个文件好像不能在DD环境下安装。提示MD5sum错误。

不行就不行了,DD-wrt大部分的文件设置为只读,如要读写需要jffs上安装等等。。。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

本帖最后由 toothpick 于 2013-5-8 11:14 编辑

伸手党来了,不会编译,麻烦大大给编译一个BCM47XX的libopenssl,我的openwrt的版本是backfire/10.03.1/brcm47xx/
另外完美控咨询python-gevent,和libnss3-tools这两个问题需要怎么解决?需要用certutil命令吗?WARNING: python-gevent not installed. Please `wget --no-check-certificate --header="Host: goagent.googlecode.com" http://www.google.cn/files/gevent-1.0dev-linux-x86.egg`
WARNING - [May  8 11:09:26] please install *libnss3-tools* package to import GoAgent root ca
------------------------------------------------------
GoAgent Version    : 2.1.17 (python/2.6.4 gevent/1.0fake pyopenssl/0.10)
Listen Address     : 0.0.0.0:8087
GAE Mode           : https
GAE Profile        : google_cn
GAE APPID          :
Pac Server         : http://0.0.0.0:8086/proxy.pac
Pac File           : file:///local/proxy.pac
------------------------------------------------------
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

谢谢楼主,我也发现goagent在windows和mac上运行都很稳定,但是在路由器上九经常出问题。试试楼主的方案先。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-27 16:51

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表