VPS侦探论坛

 找回密码
 注册
查看: 2727|回复: 4

安装lnmp1.5报错

[复制链接]
发表于 2019-4-10 13:02:25 | 显示全部楼层 |阅读模式

checking for Google perftools in /opt/local/ ... not found

./configure: error: the Google perftools module requires the Google perftools
library. You can either do not enable the module or install the library.

make: *** Keine Regel vorhanden, um das Target »build«,
  benötigt von »default«, zu erstellen.  Schluss.
make: *** Keine Regel vorhanden, um das Target »build«,
  benötigt von »default«, zu erstellen.  Schluss.
make: *** Keine Regel, um »install« zu erstellen.  Schluss.
cp: reguläre Datei „/usr/local/nginx/conf/nginx.conf“ kann nicht angelegt werden: Datei oder Verzeichnis nicht gefunden
cp: das Verzeichnis „/usr/local/nginx/conf/“ kann nicht angelegt werden: Datei oder Verzeichnis nicht gefunden
cp: reguläre Datei „/usr/local/nginx/conf/pathinfo.conf“ kann nicht angelegt werden: Datei oder Verzeichnis nicht gefunden
cp: reguläre Datei „/usr/local/nginx/conf/enable-php.conf“ kann nicht angelegt werden: Datei oder Verzeichnis nicht gefunden
cp: reguläre Datei „/usr/local/nginx/conf/enable-php-pathinfo.conf“ kann nicht angelegt werden: Datei oder Verzeichnis nicht gefunden
cp: reguläre Datei „/usr/local/nginx/conf/enable-ssl-example.conf“ kann nicht angelegt werden: Datei oder Verzeichnis nicht gefunden
cp: reguläre Datei „/usr/local/nginx/conf/magento2-example.conf“ kann nicht angelegt werden: Datei oder Verzeichnis nicht gefunden
mkdir: das Verzeichnis „/usr/local/nginx/conf/vhost“ kann nicht angelegt werden: Datei oder Verzeichnis nicht gefunden
include/nginx.sh: Zeile 118: /usr/local/nginx/conf/fastcgi.conf: Datei oder Verzeichnis nicht gefunden
sed: kann /usr/local/nginx/conf/nginx.conf nicht lesen: Datei oder Verzeichnis nicht gefunden
Create PHP Info Tool...
Copy PHP Prober...
Copy Opcache Control Panel...
============================Install PHPMyAdmin=================================
tar: phpMyAdmin-4.8.1-all-languages/vendor/bin/lint-query: Kann keine symbolische Verknüpfung zu „„../phpmyadmin/sql-parser/bin/lint-query““ anlegen: Protokollfehler
tar: phpMyAdmin-4.8.1-all-languages/vendor/bin/highlight-query: Kann keine symbolische Verknüpfung zu „„../phpmyadmin/sql-parser/bin/highlight-query““ anlegen: Protokollfehler
tar: Beende mit Fehlerstatus aufgrund vorheriger Fehler
============================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.
Removed symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.
Removed symlink /etc/systemd/system/basic.target.wants/firewalld.service.
Add Startup and Starting LNMP...
Add nginx service at system startup...
Starting nginx... /etc/init.d/nginx: Zeile 41: /usr/local/nginx/sbin/nginx: Datei oder Verzeichnis nicht gefunden
failed
Add mysql service at system startup...
/etc/init.d/mysql: Zeile 244: my_print_defaults: Kommando nicht gefunden.
Starting MySQL ERROR! Couldn't find MySQL server (/usr/local/mysql/bin/mysqld_safe)
Add php-fpm service at system startup...
Starting php-fpm  done
============================== Check install ==============================
Checking ...
Error: Nginx install failed.
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.

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2019-4-10 13:09:51 | 显示全部楼层


看上去好像是安装谷歌的内存管理插件出问题了,
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2019-4-10 14:23:16 | 显示全部楼层

make: *** [src/libtcmalloc_la-heap-checker.lo] Fehler 1
/bin/sh ./libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I./src  -I./src   -pthread -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -fno-builtin-malloc -fno-builtin-free -fno-builtin-realloc -fno-builtin-calloc -fno-builtin-cfree -fno-builtin-memalign -fno-builtin-posix_memalign -fno-builtin-valloc -fno-builtin-pvalloc  -Wno-unused-result    -DNO_FRAME_POINTER   -g -O2 -MT src/libtcmalloc_la-heap-checker.lo -MD -MP -MF src/.deps/libtcmalloc_la-heap-checker.Tpo -c -o src/libtcmalloc_la-heap-checker.lo `test -f 'src/heap-checker.cc' || echo './'`src/heap-checker.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./src -I./src -pthread -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -fno-builtin-malloc -fno-builtin-free -fno-builtin-realloc -fno-builtin-calloc -fno-builtin-cfree -fno-builtin-memalign -fno-builtin-posix_memalign -fno-builtin-valloc -fno-builtin-pvalloc -Wno-unused-result -DNO_FRAME_POINTER -g -O2 -MT src/libtcmalloc_la-heap-checker.lo -MD -MP -MF src/.deps/libtcmalloc_la-heap-checker.Tpo -c src/heap-checker.cc  -fPIC -DPIC -o src/.libs/libtcmalloc_la-heap-checker.o
src/heap-checker.cc: In statischer Elementfunktion »static void HeapLeakChecker::IgnoreLiveObjectsLocked(const char*, const char*)«:
src/heap-checker.cc:1436:52: Fehler: »MS_ASYNC« wurde in diesem Gültigkeitsbereich nicht definiert
         if (msync(const_cast<char*>(object), size, MS_ASYNC) != 0) {
                                                    ^
src/heap-checker.cc:1436:60: Fehler: »msync« wurde in diesem Gültigkeitsbereich nicht definiert
         if (msync(const_cast<char*>(object), size, MS_ASYNC) != 0) {
                                                            ^
make: *** [src/libtcmalloc_la-heap-checker.lo] Fehler 1
/bin/sh ./libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I./src  -I./src   -pthread -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -fno-builtin-malloc -fno-builtin-free -fno-builtin-realloc -fno-builtin-calloc -fno-builtin-cfree -fno-builtin-memalign -fno-builtin-posix_memalign -fno-builtin-valloc -fno-builtin-pvalloc  -Wno-unused-result    -DNO_FRAME_POINTER   -g -O2 -MT src/libtcmalloc_la-heap-checker.lo -MD -MP -MF src/.deps/libtcmalloc_la-heap-checker.Tpo -c -o src/libtcmalloc_la-heap-checker.lo `test -f 'src/heap-checker.cc' || echo './'`src/heap-checker.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./src -I./src -pthread -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -fno-builtin-malloc -fno-builtin-free -fno-builtin-realloc -fno-builtin-calloc -fno-builtin-cfree -fno-builtin-memalign -fno-builtin-posix_memalign -fno-builtin-valloc -fno-builtin-pvalloc -Wno-unused-result -DNO_FRAME_POINTER -g -O2 -MT src/libtcmalloc_la-heap-checker.lo -MD -MP -MF src/.deps/libtcmalloc_la-heap-checker.Tpo -c src/heap-checker.cc  -fPIC -DPIC -o src/.libs/libtcmalloc_la-heap-checker.o
src/heap-checker.cc: In statischer Elementfunktion »static void HeapLeakChecker::IgnoreLiveObjectsLocked(const char*, const char*)«:
src/heap-checker.cc:1436:52: Fehler: »MS_ASYNC« wurde in diesem Gültigkeitsbereich nicht definiert
         if (msync(const_cast<char*>(object), size, MS_ASYNC) != 0) {
                                                    ^
src/heap-checker.cc:1436:60: Fehler: »msync« wurde in diesem Gültigkeitsbereich nicht definiert
         if (msync(const_cast<char*>(object), size, MS_ASYNC) != 0) {
                                                            ^
make: *** [src/libtcmalloc_la-heap-checker.lo] Fehler 1

未知原因导致tcmalloc安装失败,据 https://github.com/gperftools/gperftools/issues/1008 上说是个bug,可以自己打包github上的最新代码,把tcmalloc源码目录命名为 gperftools-2.7 并打包成 gperftools-2.7.tar.gz 然后放到 lnmp安装包 src目录下,然后再安装试试
我们这个centos 7的系统测试无法复现该问题
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2019-4-10 14:58:36 | 显示全部楼层



感谢大大的快速响应,我的系统也是centos7   挂账vhost已经快照,等下我试试。
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2019-4-10 14:59:14 | 显示全部楼层

licess 发表于 2019-4-10 14:23
未知原因导致tcmalloc安装失败,据 https://github.com/gperftools/gperftools/issues/1008 上说是个bug, ...


感谢大大的快速响应,我的系统也是centos7   挂账vhost已经快照,等下我试试。

军哥运维代购:http://shop63846532.taobao.com/

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

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-22 23:34 , Processed in 0.027051 second(s), 18 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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