产品服务AMH 免费服务器主机面板SSL证书 免费SSL证书申请 担保单 免费安全、零费率交易平台编程助手免费智能写代码、翻译AMYSQL 免费MySQL管理工具

AMH 社区首页

 AMH社区 - 开放自由有价值的社区

[求助帖] AMH 5.3 升级PHP7遇上问题了

suifengtek
铁牌会员
170.79 价值分

suifengtek 发表于 2017-02-04 02:11:28
开头一段儿如此:
[php-7.0 install]
=============================================================
[Notice] php-7.0 is not installed.
[openssl Installing] ************************************************** >>
rpmdb: Thread/process 14721/140214626518784 failed: Thread died in Berkeley DB library
error: db3 error(-30974) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db3 - (-30974)
error: cannot open Packages database in /var/lib/rpm
CRITICAL:yum.main:

Error: rpmdb open failed
[openssl-devel Installing] ************************************************** >>
rpmdb: Thread/process 14721/140214626518784 failed: Thread died in Berkeley DB library
error: db3 error(-30974) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db3 - (-30974)
error: cannot open Packages database in /var/lib/rpm
CRITICAL:yum.main:

Error: rpmdb open failed
[libxml2-devel Installing] ************************************************** >>
rpmdb: Thread/process 14721/140214626518784 failed: Thread died in Berkeley DB library
error: db3 error(-30974) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db3 - (-30974)
error: cannot open Packages database in /var/lib/rpm
CRITICAL:yum.main:

Error: rpmdb open failed
[autoconf Installing] ************************************************** >>
rpmdb: Thread/process 14721/140214626518784 failed: Thread died in Berkeley DB library
error: db3 error(-30974) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db3 - (-30974)
error: cannot open Packages database in /var/lib/rpm
CRITICAL:yum.main:

Error: rpmdb open failed
[zlib-devel Installing] ************************************************** >>
rpmdb: Thread/process 14721/140214626518784 failed: Thread died in Berkeley DB library
error: db3 error(-30974) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db3 - (-30974)
error: cannot open Packages database in /var/lib/rpm
CRITICAL:yum.main:

Error: rpmdb open failed
[curl-devel Installing] ************************************************** >>
rpmdb: Thread/process 14721/140214626518784 failed: Thread died in Berkeley DB library
error: db3 error(-30974) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db3 - (-30974)
error: cannot open Packages database in /var/lib/rpm
CRITICAL:yum.main:

Error: rpmdb open failed
[pcre-devel Installing] ************************************************** >>
rpmdb: Thread/process 14721/140214626518784 failed: Thread died in Berkeley DB library
error: db3 error(-30974) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db3 - (-30974)
error: cannot open Packages database in /var/lib/rpm
CRITICAL:yum.main:

Error: rpmdb open failed
[libtool-libs Installing] ************************************************** >>
rpmdb: Thread/process 14721/140214626518784 failed: Thread died in Berkeley DB library
error: db3 error(-30974) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db3 - (-30974)
error: cannot open Packages database in /var/lib/rpm
CRITICAL:yum.main:

Error: rpmdb open failed
[libjpeg-devel Installing] ************************************************** >>
rpmdb: Thread/process 14721/140214626518784 failed: Thread died in Berkeley DB library
error: db3 error(-30974) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db3 - (-30974)
error: cannot open Packages database in /var/lib/rpm
CRITICAL:yum.main:

Error: rpmdb open failed
[libpng Installing] ************************************************** >>
rpmdb: Thread/process 14721/140214626518784 failed: Thread died in Berkeley DB library
error: db3 error(-30974) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db3 - (-30974)
error: cannot open Packages database in /var/lib/rpm
CRITICAL:yum.main:

Error: rpmdb open failed
[libpng-devel Installing] ************************************************** >>
rpmdb: Thread/process 14721/140214626518784 failed: Thread died in Berkeley DB library
error: db3 error(-30974) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db3 - (-30974)
error: cannot open Packages database in /var/lib/rpm
CRITICAL:yum.main:

Error: rpmdb open failed
[freetype-devel Installing] ************************************************** >>
rpmdb: Thread/process 14721/140214626518784 failed: Thread died in Berkeley DB library
error: db3 error(-30974) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db3 - (-30974)
error: cannot open Packages database in /var/lib/rpm
CRITICAL:yum.main:

Error: rpmdb open failed
[AMH] Download php-7.0.14.tar.gz checking fastest mirror, Please Wait ....--2017-02-04 02:06:32-- http://code3.amh.sh/files/php-7.0.14.tar.gz
Resolving code3.amh.sh... 120.25.120.249
Connecting to code3.amh.sh|120.25.120.249|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://amh-code-qingdao.oss-cn-qingdao-internal.aliyuncs.com/files/php-7.0.14.tar.gz?OSSAccessKeyId=2cbHaPt2mcdxyDdn&Expires=1486145252&Signature=jgZVan%2FDkwlRDdWcZIOxcjN%2BAW0%3D [followi
ng]
--2017-02-04 02:06:32-- http://amh-code-qingdao.oss-cn-qingdao-internal.aliyuncs.com/files/php-7.0.14.tar.gz?OSSAccessKeyId=2cbHaPt2mcdxyDdn&Expires=1486145252&Signature=jgZVan%2FDkwlRDdWcZIOxcjN%2B
AW0%3D
Resolving amh-code-qingdao.oss-cn-qingdao-internal.aliyuncs.com... 10.157.192.7
Connecting to amh-code-qingdao.oss-cn-qingdao-internal.aliyuncs.com|10.157.192.7|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 19474779 (19M) [application/octet-stream]
Saving to: `php-7.0.14.tar.gz'

==================================================

最后一段儿如此:
cc: Internal error: Killed (program cc1)
Please submit a full bug report.
See for instructions.
make: *** [ext/date/lib/parse_date.lo] Error 1
mkdir: cannot create directory `/usr/local/php-7.0/var/run/pid': No such file or directory
mv: cannot move `/tmp/ext' to `/usr/local/php-7.0/extcode': No such file or directory
[Notice] php-7.0 is not installed.

=============================================================

各位大哥,有办法没?
2017-02-04 02:11:28 1

suifengtek
铁牌会员
170.79 价值分

阿里云青岛 ,CentOS 7 64bit
  支持 (0分)  反对 (0分)
回复  2017-02-04 02:12:33 2

mikifuns
银牌会员
1425.54 价值分

我才是因为文件夹不存在导致失败的.你可以试试删除重装或再次尝试.
  支持 (0分)  反对 (0分)
回复  2017-02-04 10:46:58 3

72135
金牌会员
5476.50 价值分

cc: Internal error: Killed (program cc1)

Please submit a full bug report.
PHP的bug?
  支持 (0分)  反对 (0分)
回复  2017-02-04 11:28:54 4

大伟工作室
铁牌会员
17.00 价值分

好像知道4.2怎升级PHP7.0,有人知道吗
  支持 (0分)  反对 (0分)
回复  2017-02-04 12:26:18 5

shiguo
铝牌会员
410.08 价值分

Error : rpmdb open failed
原因是RPM数据库被破坏
重建数据库后恢复正常.

cd / var / lib / rpm /
for i in ` ls | grep 'db.' ` ; do mv $i $i .bak ; done
rpm -- rebuilddb
yum clean all
  支持 (9.63分)  反对 (0分)
回复  2017-02-05 14:27:26 6

大伟工作室
铁牌会员
17.00 价值分

引用:
大伟工作室 发表于 2017-02-04 12:26:18
好像知道4.2怎升级PHP7.0,有人知道吗

这个版本升级有一些麻烦 需要的话可以给你教程
  支持 (0分)  反对 (0分)
回复  2017-02-05 15:43:43 7

412026849
铁牌会员
7.95 价值分

给我也说一下啊,为了求助积分么不知道工单入口在哪里!
  支持 (4.95分)  反对 (0分)
回复  2017-02-05 22:08:05 8

q889518
铜牌会员
715.14 价值分

工单入口在右下角 联系我们下面

联系我们
售前咨询与售后支持 / 工作时间 服务响应时间
用户平台 服务中心 / 工单支持
VIP授权支持邮件 vip@amh.sh
企业授权支持电话 400-655-1681
  支持 (0分)  反对 (0分)
回复  2017-02-06 09:18:00 9

amysql
创始人
16530.81 价值分

最后一段是你服务器没有足够的内存报的错。
  支持 (3.29分)  反对 (0分)
回复  2017-02-06 11:30:00 10

AMH面板 - 好用高效低占用、安全可靠极稳定

 1 2 >  (总2页)
AMH社区列表
用户服务中心