xiebruce 发表于 2017-7-19 17:06:31

Error: MySQL install failed

============================Install PHPMyAdmin=================================
============================phpMyAdmin install completed=======================
The service command supports only basic LSB actions (start, stop, restart, try-restart, reload, force-reload, status). For other actions, please try to use systemctl.
Add Startup and Starting LNMP...
Add nginx service at system startup...
Starting nginx...done
Add mysql service at system startup...
服务 mysql 信息读取出错:没有那个文件或目录
服务 mysql 信息读取出错:没有那个文件或目录
include/end.sh:行49: /etc/init.d/mysql: 没有那个文件或目录
Add php-fpm service at system startup...
Starting php-fpmdone
============================== Check install ==============================
Checking ...
Nginx: OK
Error: MySQL install failed.
PHP: OK
PHP-FPM: OK
Sorry, Failed to install LNMP!
Please visit https://bbs.vpser.net/forum-25-1.html feedback errors and logs.
You can download /root/lnmp-install.log from your server,and upload lnmp-install.log to LNMP Forum.

licess 发表于 2017-7-19 19:37:04

In file included from ./boost/python/detail/prefix.hpp:13:0,
               from ./boost/python/numeric.hpp:8,
               from libs/python/src/numeric.cpp:6:
./boost/python/detail/wrap_python.hpp:50:23: 致命错误:pyconfig.h:没有那个文件或目录
# include <pyconfig.h>
                     ^
编译中断。

    "g++"-ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -pthread -m64-DBOOST_ALL_NO_LIB=1 -DBOOST_PYTHON_SOURCE -DBOOST_PYTHON_STATIC_LIB -DNDEBUG-I"." -I"/usr/include/python2.7" -c -o "bin.v2/libs/python/build/gcc-4.8.5/release/link-static/threading-multi/numeric.o" "libs/python/src/numeric.cpp"

...failed gcc.compile.c++ bin.v2/libs/python/build/gcc-4.8.5/release/link-static/threading-multi/numeric.o...
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.8.5/release/link-static/threading-multi/list.o
In file included from ./boost/python/detail/prefix.hpp:13:0,
               from ./boost/python/list.hpp:8,
               from libs/python/src/list.cpp:5:
./boost/python/detail/wrap_python.hpp:50:23: 致命错误:pyconfig.h:没有那个文件或目录
# include <pyconfig.h>
                     ^
编译中断。

可以 yum install python-devel 后再试一下看看
页: [1]
查看完整版本: Error: MySQL install failed