无标题文档
wdCP系统 (介绍,功能特性,运行环境,安装说明,演示,常见问题,使用教程) wdCDN系统 (介绍,功能特性,运行环境,安装说明,演示,常见问题,使用手册)
wdOS系统 (介绍,功能特性,运行环境,安装说明,演示,常见问题,使用教程) wdDNS系统 (介绍,功能特性,运行环境,安装说明,演示,常见问题,使用手册)
注册 发贴 提问 回复-必看必看 wddns免费智能 DNS 开通 本地或虚拟机使 用wdcp 一键包在mysql编 译时"卡住"
【300G高防】双线 无视攻击 wdcp官方技术支持/服务 阿里云8折优惠券 无敌云 腾讯云优惠中,现注册更有260代金额券赠送
返回列表 发帖
提问三步曲: 提问先看教程/FAQ索引(wdcp,wdcp_v3,一键包)及搜索,会让你更快解决问题
1 提供详细,如系统版本,wdcp版本,软件版本等及错误的详细信息,贴上论坛或截图发论坛
2 做过哪些操作或改动设置等

温馨提示:信息不详,很可能会没人理你!论坛有教程说明的,也可能没人理!因为,你懂的

[求助] 新浪 腾讯 同步登录 出错 回调 出现 502 Bad Gateway

新浪 腾讯 同步登录 出错 回调 出现 502 Bad Gateway

环境:nginx/1.0.15


查看日志出现以下结果:



2012/11/09 01:50:48 [error] 3670#0: *58 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 27.106.142.143, server: ickeep.com, request: "GET /weibo/callback.php?code=3a2539bfc73967b0f113740a6a0f43b2 HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "ickeep.com", referrer: "http://ickeep.com/weibo/"

刚把PHP 升到 5.3 数据库升到 5.5 问题还是没解决。。
web引擎切换
当前使用引擎      nginx         


系统名称:WDlinux Control Panel (简称wdcp)
当前版本: wdcp_v2.5.2(20121108) 最新
wdcp_v2.5.2(20121108) 更新
操作系统:Linux 2.6.18-238.el5
主机 名:localhost
CPU参数:1个1核 64位
CPU型号: Intel(R) Xeon(R) CPU E5620 @ 2.40GHz
系统时间:2012-11-09 01:59
运行时间:0天0小时19分
服务器IP:118.244.161.40
系统负载:0.00   0.02   0.07
内存使用:总:498M   已用: 362M   剩余:136M

yum install -y openssl-devel
看下什么结果
如果提示已安装,就手动下载新版本的
openssl-1.0.1c
编译安装
再编译下PHP试试
看清提问三步曲及多看教程/FAQ索引(wdcp,v3,一键包,wdOS),益处多多.wdcp工具集 阿里云主机8折优惠码

TOP

回复 2# admin
对LINUX不熟悉,麻烦老大告诉下,怎么重新编译PHP?

TOP

看一健包里的脚本
看清提问三步曲及多看教程/FAQ索引(wdcp,v3,一键包,wdOS),益处多多.wdcp工具集 阿里云主机8折优惠码

TOP

回复 4# admin

安装成功
   [root@localhost ~]# openssl version -aOpenSSL 1.0.1c 10 May 2012
built on: Fri Nov  9 21:09:17 CST 2012
platform: linux-x86_64
options:  bn(64,64) rc4(16x,int) des(idx,cisc,16,int) idea(int) blowfish(idx)
compiler: gcc -fPIC -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -Wa,--noexecstack -m64 -DL_ENDIAN -DTERMIO -O3 -Wall -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM
OPENSSLDIR: "/usr/local/ssl"

openssl编译 ./config --prefix=/usr/local/ssl

make[1]: Entering directory `/root/openssl-1.0.1c/test'
make[1]: Nothing to be done for `generate'.
make[1]: Leaving directory `/root/openssl-1.0.1c/test'

Configured for linux-x86_64.
[root@localhost openssl-1.0.1c]#



PHP 编译 ./configure --with-openssl=/usr/local/ssl




main/php_config.h is unchanged
creating main/internal_functions.c
creating main/internal_functions_cli.c
+--------------------------------------------------------------------+
| License:                                                           |
| This software is subject to the PHP License, available in this     |
| distribution in the file LICENSE.  By continuing this installation |
| process, you are bound by the terms of this license agreement.     |
| If you do not agree with the terms of this license, you must abort |
| the installation process at this point.                            |
+--------------------------------------------------------------------+


Thank you for using PHP.


[root@localhost php-5.3.17]#



老大这些都完成了,也重新启动了服务器。。。

结果,还是一样,还是报一样的错。。

而且,用phpinfo()

查看,openssl 的版本 还是 0.98

在SSH下面是:
root@localhost ~]# openssl version -aOpenSSL 1.0.1c 10 May 2012
built on: Fri Nov  9 21:09:17 CST 2012
platform: linux-x86_64

我哪里做错?或者是做差了吗??

TOP

你参考下一键包里的相关参数
看清提问三步曲及多看教程/FAQ索引(wdcp,v3,一键包,wdOS),益处多多.wdcp工具集 阿里云主机8折优惠码

TOP

我也是  腾讯 同步登录 出错 回调 出现 502 Bad Gateway
不知道怎么解决!~

TOP

我按 yum install -y openssl-devel 了
OpenSSL 1.0.0-fips 29 Mar 2010
但是还是
腾讯 同步登录 出错 回调 出现 502 Bad Gateway

TOP

DZ系统,我发现我的也是502。这样的原因。发帖也是跳转502.发现这个很大的BUG问题

TOP

502 Bad Gateway   一样的问题。。杯惧
支持

TOP

502 Bad Gateway   一样的问题。。杯惧
ufwapscep 发表于 2013-1-5 22:12

http://www.wdlinux.cn/bbs/thread-3657-1-1.html

TOP

回复 11# wulali
问题解决了,不过网站运行速度慢了很多?
支持

TOP

运行  这个    yum install -y openssl-devel


Loaded plugins: fastestmirror, security
Determining fastest mirrors
* base: centos.sonn.com
* extras: centos.sonn.com
* rpmforge: mirror.webnx.com
* updates: centos.sonn.com
base                                                     | 3.7 kB     00:00
extras                                                   | 3.4 kB     00:00
rpmforge                                                 | 1.9 kB     00:00
rpmforge/primary_db                                      | 2.7 MB     00:00
updates                                                  | 3.4 kB     00:00
updates/primary_db                                       | 817 kB     00:00
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package openssl-devel.x86_64 0:1.0.1e-16.el6_5 will be updated
---> Package openssl-devel.x86_64 0:1.0.1e-16.el6_5.1 will be an update
--> Processing Dependency: openssl = 1.0.1e-16.el6_5.1 for package: openssl-devel-1.0.1e-16.el6_5.1.x86_64
--> Running transaction check
---> Package openssl.x86_64 0:1.0.1e-16.el6_5 will be updated
---> Package openssl.x86_64 0:1.0.1e-16.el6_5.1 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package             Arch         Version                   Repository     Size
================================================================================
Updating:
openssl-devel       x86_64       1.0.1e-16.el6_5.1         updates       1.2 M
Updating for dependencies:
openssl             x86_64       1.0.1e-16.el6_5.1         updates       1.5 M

Transaction Summary
================================================================================
Upgrade       2 Package(s)

Total download size: 2.7 M
Downloading Packages:
(1/2): openssl-1.0.1e-16.el6_5.1.x86_64.rpm              | 1.5 MB     00:00
(2/2): openssl-devel-1.0.1e-16.el6_5.1.x86_64.rpm        | 1.2 MB     00:00
--------------------------------------------------------------------------------
Total                                           8.9 MB/s | 2.7 MB     00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Updating   : openssl-1.0.1e-16.el6_5.1.x86_64                             1/4
  Updating   : openssl-devel-1.0.1e-16.el6_5.1.x86_64                       2/4
  Cleanup    : openssl-devel-1.0.1e-16.el6_5.x86_64                         3/4
  Cleanup    : openssl-1.0.1e-16.el6_5.x86_64                               4/4
  Verifying  : openssl-devel-1.0.1e-16.el6_5.1.x86_64                       1/4
  Verifying  : openssl-1.0.1e-16.el6_5.1.x86_64                             2/4
  Verifying  : openssl-devel-1.0.1e-16.el6_5.x86_64                         3/4
  Verifying  : openssl-1.0.1e-16.el6_5.x86_64                               4/4

Updated:
  openssl-devel.x86_64 0:1.0.1e-16.el6_5.1

Dependency Updated:
  openssl.x86_64 0:1.0.1e-16.el6_5.1

Complete!


老大看看是否正常
ye1028

TOP

返回列表