Board logo

标题: LNMP问题反馈必读 [打印本页]

作者: licess    时间: 2011-3-31 15:20     标题: LNMP问题反馈必读

提问前现在论坛里搜索相关关键词确认是否已经有相关问题及解决方法!
提问前请先到https://lnmp.org/faq.html 查看LNMP常见问题。

为及时有效的解决LNMP安装及使用过程中的问题,请认真阅读提供一下信息:

如果LNMP安装失败:
1、提供你的VPS/服务器系统信息及版本好信息、32还是64位,最好提供服务商名字
2、需要用winscp登陆到服务器上在/root 目录下找到lnmp-install.log,下载下来压缩为zip、7z或tar.gz格式然后上传改文件到论坛,或提供编译安装的错误信息。 0.9及之前版本的日志在lnmp安装目录下面的lnmp.log。
如果安装出错或安装完成后PHP或MySQL或Nginx无法运行,以上两条必须提供,否则无法提供任何帮助!!!!

如果反馈使用过程中的问题,请提供出错的信息。

如MySQL无法启动或运行不正常的话
如显示ERROR! MySQL server PID file could not be found!
必须提供 /usr/local/mysql/var/主机名.err 的日志(如果修改过数据库目录位置,那就在你修改之后的数据库目录下面)。
MariaDB一般是在/usr/local/mariadb/var/mariadb.err
不提供日志无法进行判断。这是基本规则!!!

如nginx不能正常启动
先执行/usr/local/nginx/sbin/nginx -t 测试配置文件是否有错误,发帖时贴上返回信息,必要时提供配置文件。

PHP不正常
执行/usr/local/php/bin/php -v看一下是否有错误提示。

PHP-FPM挂了
php-fpm挂了肯定会显示“Nginx 502 Bad Gateway”,按https://bbs.vpser.net/thread-1144-1-1.html 这个帖子进行排查。

安装PHP模块是安装失败
安装失败必须要提供安装日志,系统版本信息、php版本信息、已安装哪些模块等。总之越详细越利于解决问题。

如升级出错请提供升级日志一般在/root 下面以upgrade_mysql/php/nginx日期.log

Nginx 502 Bad Gateway错误请先按:https://bbs.vpser.net/thread-1144-1-1.html 这个排查

禁止无意义挖坟和回帖,一个问题一个帖子里进行反馈。

无论出现任何问题,请尽可能的提供详细的介绍信息和错误信息。
请勿在本帖反馈,请新开帖子。

论坛上为不定期回复,一般一天2-3次集中处理回复。
急需解决可以进行付费支持服务。联系QQ 503228080 或旺旺:lzhenbao 进行付费支持服务
作者: sbmzhcn    时间: 2011-5-22 15:39

内核: Linux ubuntu 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 2011 i686 i686 i386 GNU/Linux
系统版本: Ubuntu 11.04
操作系统是32位的。log2M,无法上传。说下错误信息吧。错误信息:
复制内容到剪贴板
代码:
root@ubuntu:~/lnmp0.7-full/php-5.2.17# /root/lnmp restart
=========================================================================
Manager for LNMP V0.7  ,  Written by Licess
=========================================================================
LNMP is a tool to auto-compile & install Nginx+MySQL+PHP on Linux
This script is a tool to Manage status of lnmp
For more information please visit http://www.lnmp.org [local]1[/local]

Usage: /root/lnmp {start|stop|reload|restart|kill|status}
=========================================================================
Stoping LNMP...
Nginx program is stop
PHP-FPM program is not runing!
Shutting down MySQL
. *
MySQL program is stop
Starting LNMP...
Nginx start successfully!
/root/lnmp: 行 46: /usr/local/php/sbin/php-fpm: 没有那个文件或目录
PHP-FPM start successfully!
Starting MySQL
. *
MySQL start successfully!
在这个论坛上找了好几天知道大概是php没有安装成功,按步骤重新安装,证明这些方法全是不可行,(PS:发现这论坛上面说的大部分是没用的)

我查看/root/lnmp-0.7-full/ubuntu.sh ,按照:
复制内容到剪贴板
代码:
echo "========================= php + php extensions install ==================="
cd $cur_dir
export PHP_AUTOCONF=/usr/local/autoconf-2.13/bin/autoconf
export PHP_AUTOHEADER=/usr/local/autoconf-2.13/bin/autoheader
tar zxvf php-5.2.17.tar.gz
gzip -cd php-5.2.17-fpm-0.5.14.diff.gz | patch -d php-5.2.17 -p1
cd php-5.2.17/
./buildconf --force
./configure --prefix=/usr/local/php --with-config-file-path=/usr/local/php/etc --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --with-iconv-dir --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zlib --with-libxml-dir=/usr --enable-xml --enable-discard-path --enable-magic-quotes --enable-safe-mode --enable-bcmath --enable-shmop --enable-sysvsem --enable-inline-optimization --with-curl --with-curlwrappers --enable-mbregex --enable-fastcgi --enable-fpm --enable-force-cgi-redirect --enable-mbstring --with-mcrypt --enable-ftp --with-gd --enable-gd-native-ttf --with-openssl --with-mhash --enable-pcntl --enable-sockets --with-xmlrpc --enable-zip --enable-soap --without-pear --with-gettext --with-mime-magic
make ZEND_EXTRA_LIBS='-liconv'
make install

mkdir -p /usr/local/php/etc
cp php.ini-dist /usr/local/php/etc/php.ini
strip /usr/local/php/bin/php-cgi
cd ../

ln -s /usr/local/php/bin/php /usr/bin/php
ln -s /usr/local/php/bin/phpize /usr/bin/phpize
ln -s /usr/local/php/sbin/php-fpm /usr/bin/php-fpm

cd $cur_dir
tar zxvf memcache-3.0.5.tgz
cd memcache-3.0.5/
/usr/local/php/bin/phpize
./configure --with-php-config=/usr/local/php/bin/php-config
make && make install
cd ../

tar zxvf PDO_MYSQL-1.0.2.tgz
cd PDO_MYSQL-1.0.2/
/usr/local/php/bin/phpize
./configure --with-php-config=/usr/local/php/bin/php-config --with-pdo-mysql=/usr/local/mysql
make && make install
cd ../

# php extensions
sed -i 's#extension_dir = "./"#extension_dir = "/usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/"\nextension = "memcache.so"\nextension = "pdo_mysql.so"\n#' /usr/local/php/etc/php.ini
sed -i 's#output_buffering = Off#output_buffering = On#' /usr/local/php/etc/php.ini
sed -i 's/post_max_size = 8M/post_max_size = 50M/g' /usr/local/php/etc/php.ini
sed -i 's/upload_max_filesize = 2M/upload_max_filesize = 50M/g' /usr/local/php/etc/php.ini
sed -i 's/;date.timezone =/date.timezone = PRC/g' /usr/local/php/etc/php.ini
sed -i 's/short_open_tag = Off/short_open_tag = On/g' /usr/local/php/etc/php.ini
sed -i 's/; cgi.fix_pathinfo=1/cgi.fix_pathinfo=0/g' /usr/local/php/etc/php.ini
sed -i 's/max_execution_time = 30/max_execution_time = 300/g' /usr/local/php/etc/php.ini

if [ `getconf WORD_BIT` = '32' ] && [ `getconf LONG_BIT` = '64' ] ; then
        wget -c http://soft.vpser.net/web/zend/ZendOptimizer-3.3.9-linux-glibc23-x86_64.tar.gz
        tar zxvf ZendOptimizer-3.3.9-linux-glibc23-x86_64.tar.gz
        mkdir -p /usr/local/zend/
        cp ZendOptimizer-3.3.9-linux-glibc23-x86_64/data/5_2_x_comp/ZendOptimizer.so /usr/local/zend/
else
        wget -c http://soft.vpser.net/web/zend/ZendOptimizer-3.3.9-linux-glibc23-i386.tar.gz
        tar zxvf ZendOptimizer-3.3.9-linux-glibc23-i386.tar.gz
        mkdir -p /usr/local/zend/
        cp ZendOptimizer-3.3.9-linux-glibc23-i386/data/5_2_x_comp/ZendOptimizer.so /usr/local/zend/
fi

cat >>/usr/local/php/etc/php.ini<<eof
;eaccelerator

;ionCube

[Zend Optimizer]
zend_optimizer.optimization_level=1
zend_extension="/usr/local/zend/ZendOptimizer.so"
EOF

wget -c http://soft.vpser.net/lnmp/ext/init.d.php-fpm5.2
cp init.d.php-fpm5.2 /etc/init.d/php-fpm
chmod +x /etc/init.d/php-fpm
echo "======================== php + php extensions install =================="
复制内容到剪贴板
代码:
./configure --prefix=/usr/local/php --with-config-file-path=/usr/local/php/etc --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --with-iconv-dir --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zlib --with-libxml-dir=/usr --enable-xml --enable-discard-path --enable-magic-quotes --enable-safe-mode --enable-bcmath --enable-shmop --enable-sysvsem --enable-inline-optimization --with-curl --with-curlwrappers --enable-mbregex --enable-fastcgi --enable-fpm --enable-force-cgi-redirect --enable-mbstring --with-mcrypt --enable-ftp --with-gd --enable-gd-native-ttf --with-openssl --with-mhash --enable-pcntl --enable-sockets --with-xmlrpc --enable-zip --enable-soap --without-pear --with-gettext --with-mime-magic
最后出现:
configure: error: libjpeg.(a|so) not found.
再往下无法继续执行:
复制内容到剪贴板
代码:
root@ubuntu:~/lnmp0.7-full/php-5.2.17# make ZEND_EXTRA_LIBS='-liconv'
make: *** 没有指明目标并且找不到 makefile。 停止。
最后,不仅仅期待你的回答,更期待正确的解决方案,另外,希望不要复制别人的或者说些不具体的话,我已经用google查了好多天了,所以不要浪费我的时间!!!

另:php -v 执行情况
复制内容到剪贴板
代码:
root@ubuntu:~/lnmp0.7-full/php-5.2.17# php -v
PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/ming.ini on line 1 in Unknown on line 0
PHP
Warning:  PHP Startup: Unable to load dynamic library
'/usr/lib/php5/20090626+lfs/mysql.so' -
/usr/lib/php5/20090626+lfs/mysql.so: cannot open shared object file: No
such file or directory in Unknown on line 0
PHP Warning:  PHP
Startup: Unable to load dynamic library
'/usr/lib/php5/20090626+lfs/mysqli.so' -
/usr/lib/php5/20090626+lfs/mysqli.so: cannot open shared object file: No
such file or directory in Unknown on line 0
PHP Warning:  PHP
Startup: Unable to load dynamic library
'/usr/lib/php5/20090626+lfs/pdo_mysql.so' -
/usr/lib/php5/20090626+lfs/pdo_mysql.so: cannot open shared object file:
No such file or directory in Unknown on line 0
PHP 5.3.5-1ubuntu7.2 with Suhosin-Patch (cli) (built: May  2 2011 23:18:30)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
刚安装是可以查看php版本的,只是后来我升级了,以为能解决此问题。

[ 本帖最后由 sbmzhcn 于 2011-5-22 16:00 编辑 ]
作者: sbmzhcn    时间: 2011-5-22 15:54

另:php -v 执行情况
复制内容到剪贴板
代码:
root@ubuntu:~/lnmp0.7-full/php-5.2.17# php -v
PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/ming.ini on line 1 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/mysql.so' - /usr/lib/php5/20090626+lfs/mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/mysqli.so' - /usr/lib/php5/20090626+lfs/mysqli.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/pdo_mysql.so' - /usr/lib/php5/20090626+lfs/pdo_mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP 5.3.5-1ubuntu7.2 with Suhosin-Patch (cli) (built: May  2 2011 23:18:30)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
刚安装是可以查看php版本的,只是后来我升级了,以为能解决此问题。

[ 本帖最后由 sbmzhcn 于 2011-5-22 15:55 编辑 ]
作者: eason    时间: 2011-6-29 17:09

版本SB Version:    :core-4.0-ia32:core-4.0-noarch:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-ia32:printing-4.0-noarch
Distributor ID: CentOS
Description:    CentOS release 5.6 (Final)
Release:        5.6
Codename:       Final

中客独立服务器      问题,安装不成功

=========================phpMyAdmin install completed=================================
============================add nginx and php-fpm on startup============================
Download new nginx init.d file......
===========================add nginx and php-fpm on startup completed====================
Starting LNMP...
Starting php_fpm  failed
===================================== Check install ===================================
Error: /usr/local/nginx not found!!!
/usr/local/php [found]
Error: /usr/local/mysql not found!!!
========================== Check install ================================
Install lnmp 0.7 completed! enjoy it.
=========================================================================
LNMP V0.7 for CentOS/RadHat Linux VPS  Written by Licess
=========================================================================
For more information please visit http://www.lnmp.org/
lnmp status manage: /root/lnmp {start|stop|reload|restart|kill|status}
default mysql root password:yinqu.2080
phpinfo : http://club.bb.com/phpinfo.php
phpMyAdmin : http://club.bb.com/phpmyadmin/
Prober : http://club.bb.com/p.php
Add VirtualHost : /root/vhost.sh
The path of some dirs:
mysql dir:   /usr/local/mysql
php dir:     /usr/local/php
nginx dir:   /usr/local/nginx
web dir :     /home/wwwroot
=========================================================================
=========================================================================
Manager for LNMP V0.7  ,  Written by Licess
=========================================================================
LNMP is a tool to auto-compile & install Nginx+MySQL+PHP on Linux
This script is a tool to Manage status of lnmp
For more information please visit http://www.lnmp.org
Usage: /root/lnmp {start|stop|reload|restart|kill|status}
=========================================================================
Nginx is stop!
php-fpm is stop!
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address               Foreign Address             State      
tcp        0      0 0.0.0.0:1006                0.0.0.0:*                   LISTEN      
tcp        0      0 0.0.0.0:111                 0.0.0.0:*                   LISTEN      
tcp        0      0 0.0.0.0:22                  0.0.0.0:*                   LISTEN      
tcp        0      0 127.0.0.1:25                0.0.0.0:*                   LISTEN
作者: li_funk    时间: 2011-7-17 00:07

Nginx is stop!
php-fpm is runing!
MySQL running (20754)                                      [  OK  ]
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address               Foreign Address             State      
tcp        0      0 0.0.0.0:873                 0.0.0.0:*                   LISTEN      
tcp        0      0 0.0.0.0:3306                0.0.0.0:*                   LISTEN      
tcp        0      0 0.0.0.0:111                 0.0.0.0:*                   LISTEN      
tcp        0      0 127.0.0.1:631               0.0.0.0:*                   LISTEN      
tcp        0      0 127.0.0.1:25                0.0.0.0:*                   LISTEN      
tcp        0      0 :::80                       :::*                        LISTEN      
tcp        0      0 :::22                       :::*                        LISTEN   


Nginx is stop!怎么回事啊,输入IP访问 it works没问题,但是PHP探针,phpinfor都是Not Found

The requested URL /phpinfo.php was not found on this server. 求助军哥解答

[root@localhost ~]# /usr/local/nginx/sbin/nginx -t
the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
configuration file /usr/local/nginx/conf/nginx.conf test is successful

[ 本帖最后由 li_funk 于 2011-7-17 00:09 编辑 ]
作者: taxuerb    时间: 2011-7-18 15:00

最小化安装的debian6.0.2.1   32位安装lnmp0.7出错。
重新安装了下,搞定了

[ 本帖最后由 taxuerb 于 2011-7-18 15:53 编辑 ]
作者: holyzhou    时间: 2011-8-8 09:34     标题: 麻烦帮我看看,问题出在哪儿?mysql就是连不上!

110807 11:11:27 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
110807 11:11:27 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use
110807 11:11:27 [ERROR] Do you already have another mysqld server running on port: 3306 ?
110807 11:11:27 [ERROR] Aborting

110807 11:11:27 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete

110807 11:11:27 mysqld_safe mysqld from pid file /usr/local/mysql/var/09_05.holyzhou89.pid ended
110807 11:11:28 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
110807 11:11:28 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use
110807 11:11:28 [ERROR] Do you already have another mysqld server running on port: 3306 ?
110807 11:11:28 [ERROR] Aborting

110807 11:11:28 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete

110807 11:11:28 mysqld_safe mysqld from pid file /usr/local/mysql/var/09_05.holyzhou89.pid ended
110807 11:16:58 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
110807 11:16:58 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use
110807 11:16:58 [ERROR] Do you already have another mysqld server running on port: 3306 ?
110807 11:16:58 [ERROR] Aborting

110807 11:16:58 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete

110807 11:16:58 mysqld_safe mysqld from pid file /usr/local/mysql/var/09_05.holyzhou89.pid ended
110807 11:17:00 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
110807 11:17:00 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use
110807 11:17:00 [ERROR] Do you already have another mysqld server running on port: 3306 ?
110807 11:17:00 [ERROR] Aborting

110807 11:17:00 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete

110807 11:17:00 mysqld_safe mysqld from pid file /usr/local/mysql/var/09_05.holyzhou89.pid ended
110807 11:27:32 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
110807 11:27:32 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use
110807 11:27:32 [ERROR] Do you already have another mysqld server running on port: 3306 ?
110807 11:27:32 [ERROR] Aborting

110807 11:27:32 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete

110807 11:27:32 mysqld_safe mysqld from pid file /usr/local/mysql/var/09_05.holyzhou89.pid ended
110807 11:27:42 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
110807 11:27:43 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use
110807 11:27:43 [ERROR] Do you already have another mysqld server running on port: 3306 ?
110807 11:27:43 [ERROR] Aborting

110807 11:27:43 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete

110807 11:27:43 mysqld_safe mysqld from pid file /usr/local/mysql/var/09_05.holyzhou89.pid ended
110807 11:28:03 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
110807 11:28:03 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use
110807 11:28:03 [ERROR] Do you already have another mysqld server running on port: 3306 ?
110807 11:28:03 [ERROR] Aborting

110807 11:28:03 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete

110807 11:28:03 mysqld_safe mysqld from pid file /usr/local/mysql/var/09_05.holyzhou89.pid ended
110807 11:49:05 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
110807 11:49:05 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use
110807 11:49:05 [ERROR] Do you already have another mysqld server running on port: 3306 ?
110807 11:49:05 [ERROR] Aborting

110807 11:49:05 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete

110807 11:49:05 mysqld_safe mysqld from pid file /usr/local/mysql/var/09_05.holyzhou89.pid ended
110807 11:49:06 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
110807 11:49:06 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use
110807 11:49:06 [ERROR] Do you already have another mysqld server running on port: 3306 ?
110807 11:49:06 [ERROR] Aborting

110807 11:49:06 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete

110807 11:49:06 mysqld_safe mysqld from pid file /usr/local/mysql/var/09_05.holyzhou89.pid ended
110807 11:52:47 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
110807 11:52:47 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use
110807 11:52:47 [ERROR] Do you already have another mysqld server running on port: 3306 ?
110807 11:52:47 [ERROR] Aborting

110807 11:52:47 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete

110807 11:52:47 mysqld_safe mysqld from pid file /usr/local/mysql/var/09_05.holyzhou89.pid ended
110807 11:52:48 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
110807 11:52:49 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use
110807 11:52:49 [ERROR] Do you already have another mysqld server running on port: 3306 ?
110807 11:52:49 [ERROR] Aborting

110807 11:52:49 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete

110807 11:52:49 mysqld_safe mysqld from pid file /usr/local/mysql/var/09_05.holyzhou89.pid ended
110807 22:07:37 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
110807 22:07:38 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use
110807 22:07:38 [ERROR] Do you already have another mysqld server running on port: 3306 ?
110807 22:07:38 [ERROR] Aborting

110807 22:07:38 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete

110807 22:07:38 mysqld_safe mysqld from pid file /usr/local/mysql/var/09_05.holyzhou89.pid ended
作者: licess    时间: 2011-8-8 09:41     标题: 回复 7# 的帖子

已经有其他的mysql在运行,kill之后重新启动试试或重启系统试试。
作者: xiaochen336    时间: 2011-9-9 19:34

军哥  帮我看看我的主机是什么问题  为什么就是安装不了  我已经把IP和ROOT用短消息发给你了

我用的是84的VPS  centos-6.0-x86系统
作者: suiyizjy    时间: 2011-10-19 13:26

使用的是123systms vps debian5 32位系统
The file is already fully retrieved; nothing to do.
update-rc.d: /etc/init.d/mysql: file does not exist
System startup links for /etc/init.d/nginx already exist.
System startup links for /etc/init.d/php-fpm already exist.
./debian.sh: line 437: /etc/init.d/mysql: No such file or directory
Starting php_fpm /etc/init.d/php-fpm: line 61: /usr/local/php/bin/php-cgi: No su                                                                                        ch file or directory
failed
Starting nginx daemon: nginx[emerg]: bind() to 0.0.0.0:80 failed (98: Address al                                                                                        ready in use)
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg]: still could not bind()
nginx already running.
===================================== Check install ============================                                                                                        =======
/usr/local/nginx [found]
/usr/local/php [found]
Error: /usr/local/mysql not found!!!
========================== Check install ================================
Install LNMP V0.7 completed! enjoy it.
=========================================================================
LNMP V0.7 for Debian VPS , Written by Licess
=========================================================================
For more information please visit http://www.lnmp.org/
lnmp status manage: /root/lnmp {start|stop|reload|restart|kill|status}
default mysql root password:root
phpinfo : http://vps.yyphs.com/phpinfo.php
phpMyAdmin : http://vps.yyphs.com/phpmyadmin/
Prober : http://vps.yyphs.com/p.php
The path of some dirs:
mysql dir:   /usr/local/mysql
php dir:     /usr/local/php
nginx dir:   /usr/local/nginx
web dir :     /home/wwwroot
=========================================================================
=========================================================================
Manager for LNMP V0.7  ,  Written by Licess
=========================================================================
LNMP is a tool to auto-compile & install Nginx+MySQL+PHP on Linux
This script is a tool to Manage status of lnmp
For more information please visit http://www.lnmp.org
Usage: /root/lnmp {start|stop|reload|restart|kill|status}
=========================================================================
Nginx is runing!
php-fpm is stop!
/root/lnmp: line 126: /etc/init.d/mysql: No such file or directory
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.1:587           0.0.0.0:*               LISTEN
tcp6       0      0 :::22                   :::*                    LISTEN

在Debian5.0上面安装LNMP0.7一直都出现上面的错误,系统已经重装了N次了。请管理员帮我看看,谢谢!

[ 本帖最后由 suiyizjy 于 2011-10-19 14:52 编辑 ]
作者: suiyizjy    时间: 2011-10-20 10:40

军哥 什么时候帮我看看啊
作者: licess    时间: 2011-10-20 12:03     标题: 回复 10# 的帖子

如果是低于192MB内存肯定安装不上,内存太小。

如果是192MB以上的话按置顶贴要求反馈编译安装错误信息。
作者: tixp    时间: 2011-12-3 20:05

1.CentOS 32位 虚拟机,分配内存2048M2.没有这个目录:/usr/local/mysql/var/好像是MYSQL没有安装成功,但是不知道怎么补救,做了4个虚拟机都是这个情况。多谢军哥赐教!
作者: licess    时间: 2011-12-4 08:47     标题: 回复 13# 的帖子

日志里没有记录下mysql的编译错误信息
作者: z11148    时间: 2012-1-5 19:31

重复了,麻烦删除..

[ 本帖最后由 z11148 于 2012-1-5 20:33 编辑 ]
作者: z11148    时间: 2012-1-5 19:34

Linux zcing.com 2.6.18-238.9.1.el5.028stab089.1 #1 SMP Thu Apr 14 14:06:01 MSD 2011 i686 i686 i386 GNU/Linux
VPS提供商是:alienvps.com
CentOS 6 32bit OpenVZ 192M RAM

新手,不会分析。望解答.谢谢!
上传附件提示:
对不起,您的附件超过 ".attach" 类型 1 KB 的限制,请返回修改。

所以我压缩了下,麻烦了

[ 本帖最后由 z11148 于 2012-1-5 20:36 编辑 ]
作者: 堕落灵魂    时间: 2012-6-7 23:15

Nginx如何设置同时支持GBK(GB2312)和UTF-8编码
作者: 陈浩楠    时间: 2012-7-22 10:36

安装好以后有一个失败的,请看附件
作者: ljhandzl    时间: 2012-9-8 10:59     标题: 错误了

安装完了错误 麻烦帮忙看看是下面错误!新手!
是息壤的云主机Linux xirang 2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:35 EDT 2010 i686 i686 i386 GNU/Linux

LSB Version:    :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: CentOS
Description:    CentOS release 5.5 (Final)
Release:        5.5
Codename:       Final

[ 本帖最后由 ljhandzl 于 2012-9-8 11:00 编辑 ]
作者: samshuai    时间: 2013-1-26 18:55     标题: php fpm老挂掉。。

老挂掉啊。。phpFpm
正常运行了有一年,最近老挂掉。。。访问量不大。。
作者: licess    时间: 2013-1-26 20:33     标题: 回复 20# 的帖子

/usr/local/php/etc/php-fpm.conf 里
如果pm = dynamic
增大 pm.max_spare_servers的值
如果不是增大pm.max_children的值
作者: samshuai    时间: 2013-1-27 02:09     标题: 回复 21# 的帖子

pm.max_spare_servers多少合适?1G Ram。。 IO>200M/S
作者: licess    时间: 2013-1-27 09:25

这个不好说自己可以慢慢的网上加着试试
作者: flashack    时间: 2013-3-19 22:15

aliyun  Ubuntu 10.10 64位     mysql和nginx装不上

Error: /usr/local/nginx not found!!!
/usr/local/php [found]
Error: /usr/local/mysql not found!!!


解决了,阿里云默认源是挂的,改成163源ok

[ 本帖最后由 flashack 于 2013-3-20 00:40 编辑 ]
作者: jinny9871    时间: 2013-5-27 12:39     标题: 回复 24# 的帖子

我也有好几个VPS遇到了这样的问题,请问什么是默认源是挂的,163源是什么?
作者: 541960899    时间: 2013-7-30 13:43     标题: LNMP安装不成功

服务器信息:

Linux version 2.6.32-358.el6.x86_64 (mockbuild@c6b8.bsys.dev.centos.org) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC) ) #1 SMP Fri Feb 22 00:31:26 UTC 2013

操作系统:CentOS 6.4*86 Minimal v1

服务商:raksmart


文件在附件


问题:LNMP安装不成功


作者: Jmin    时间: 2013-10-9 12:01     标题: LNMP越来越大都占用了10几G

军哥我想问下为什么我的LNMP越来越大都占用了10几G,但是我的网站内容实际才3G不到,这个是怎么回事呢?nginx的日志都是关闭的,不知道是什么原因产生的,越来越大。lnmp会产生缓存文件吗?该如何做让它不那么大呢?
作者: licess    时间: 2013-10-9 16:00     标题: 回复 27# 的帖子

论坛上都说过了,搜一下就能找到 https://bbs.vpser.net/thread-8393-1-1.html
作者: Y.P.S.C.E.    时间: 2013-11-23 10:18     标题: PHP不支持

阿里云centOS 64 LNMP1.0(安装成功后,更改网站存放目录和mysql存放目录到另一个磁盘,网站可以正常打开www.21wq.com;PHP从5.3.17升级到5.4.3)。
执行命令结果如下:
[root@AY131121101414081f0cZ ~]# /usr/local/php/bin/php -v
PHP 5.4.3 (cli) (built: Nov 22 2013 20:41:57)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
    with Zend Guard Loader v3.3, Copyright (c) 1998-2013, by Zend Technologies
[root@AY131121101414081f0cZ ~]# /usr/local/nginx/sbin/nginx -t
nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
nginx: configuration file /usr/local/nginx/conf/nginx.conf test is successful
[root@AY131121101414081f0cZ ~]#

看似一切正常,但运行其他项目程序的PHP代码块

(如函数

explode

)不

能正常执行,求解!!!



[ 本帖最后由 Y.P.S.C.E. 于 2013-11-23 10:54 编辑 ]
作者: licess    时间: 2013-11-23 12:59

安装没有问题,不过建议看看程序的兼容性,有些程序是没法再5.4的版本上运行的
作者: licess    时间: 2013-11-23 13:00     标题: 回复 29# 的帖子

安装没有问题,不过建议看看程序的兼容性,有些程序是没法再5.4的版本上运行的
作者: Y.P.S.C.E.    时间: 2013-11-23 13:19

安装没问题,直觉问题是出在安装好LNMP后,更改网站的存放目录修改了这里。1.0默认目录加了default这一层,执行: cp -a /home/wwwroot/default 新目录 chown www:www -R 新目录 。之后添加虚拟主机,DNS解析(cp后的工作目录为: /mnt/wwwroot/web/default 我虚拟机路径配置到/mnt/wwwroot/web这里对吗?,web里面的wordpress可以正常加载主页的,但是web里面的其他项目不执行php代码,所以不确定虚拟机路径是否应该配置到default里面去。。。)

[ 本帖最后由 Y.P.S.C.E. 于 2013-11-23 13:43 编辑 ]
作者: licess    时间: 2013-11-23 21:03     标题: 回复 32# 的帖子

发该虚拟主机的配置文件看看
作者: Y.P.S.C.E.    时间: 2013-11-23 21:21     标题: PHP不支持*续

虚拟主机的配置文件信息如下,在线等待。。。server

{

listen       80;

server_name 21wq.com www.21wq.com;

index index.html index.htm index.php default.html default.htm default.php;

root  /mnt/wwwroot/web;


include none.conf;

location ~ .*\.(php|php5)?$

{

try_files $uri =404;

fastcgi_pass  unix:/tmp/php-cgi.sock;

fastcgi_index index.php;

include fcgi.conf;

}


location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$

{

expires      30d;

}


location ~ .*\.(js|css)?$

{

expires      12h;

}


access_log off;

}


//完整配置

[ 本帖最后由 Y.P.S.C.E. 于 2013-11-23 21:24 编辑 ]
作者: licess    时间: 2013-11-24 09:38     标题: 回复 34# 的帖子

看配置没错误
作者: chao1314    时间: 2014-4-16 15:05     标题: 64位 centos6.5下安装lnmp失败

64位 centos6.5下安装lnmp失败
作者: licess    时间: 2014-4-16 18:09     标题: 回复 36# 的帖子

Error: Cannot find a valid baseurl for repo: base
Could not retrieve mirrorlist http://mirrorlist.centos.org/?re ... =x86_64&repo=os error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
Error resolving pool.ntp.org: Name or service not known (-2)
源有问题,dns设置也有问题https://bbs.vpser.net/thread-3246-1-1.html
作者: xionghua    时间: 2014-5-23 14:07     标题: 64位 ubuntu 14.04下安装lnmp失败

root@ubuntu:/home/edusoho# screen -S lnmp
Checking...
Nginx: OK
Error: /usr/local/php not found!!!PHP install failed.
MySQL: 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.
作者: yp19910928    时间: 2014-6-12 16:44     标题: LNMP在Centos6.0中安装失败

1.系统:CentOS6.0  32位 虚拟机:VM,分配内存1G,LNMP版本:1.1
2.安装说明:http://lnmp.org/install.html 刚开始安装一切正常,结果到了最后才安装失败、求帮助
作者: licess    时间: 2014-6-12 18:05     标题: 回复 39# 的帖子

wget: command not found
连最基本的wget命令都没有肯定安装失败

而且你系统的yum有问题,而且有其他程序占用了yum
作者: yp19910928    时间: 2014-6-13 09:20     标题: 回复 40# 的帖子

谢谢了,我先再试试
作者: sheng1986    时间: 2014-6-17 12:00     标题: CentOS6.5 安装lnmp 失败

系统:CentOS6.5  32位 LNMP版本:1.1
作者: madman    时间: 2014-7-10 18:05

系统是CentOS 6 64bit

昨天安装lnmp的时候出错,忘记截图,然后今天早上就发现连lnmp都无法启动了so今天重新安装了,然后一直守在电脑前看着


截图如下
[attach]2059[/attach]

[attach]2060[/attach]

[attach]2061[/attach]

[attach]2062[/attach]

[attach]2063[/attach]

[attach]2064[/attach]

[attach]2065[/attach]

[ 本帖最后由 madman 于 2014-7-10 18:08 编辑 ]
作者: lyongde    时间: 2014-11-13 23:40     标题: 升级PHP至PHP5.4.34、nginx至nginx1.7.7后执行HTML正常,执行PHP出现502 Bad Gateway。

/usr/local/nginx/sbin/nginx -t ,正常。
/usr/local/php/bin/php -v,正常。
/root/lnmp statu,正常。

/usr/local/php/var/log/php-fpm.log 的日志如下:

[13-Nov-2014 22:40:55] NOTICE: fpm is running, pid 25595
[13-Nov-2014 22:40:55] NOTICE: ready to handle connections
[13-Nov-2014 22:56:55] NOTICE: Finishing ...
[13-Nov-2014 22:56:55] NOTICE: exiting, bye-bye!
[13-Nov-2014 22:56:57] NOTICE: fpm is running, pid 26207
[13-Nov-2014 22:40:55] NOTICE: fpm is running, pid 25595
[13-Nov-2014 22:40:55] NOTICE: ready to handle connections
[13-Nov-2014 22:56:55] NOTICE: Finishing ...
[13-Nov-2014 22:56:55] NOTICE: exiting, bye-bye!
[13-Nov-2014 22:56:57] NOTICE: fpm is running, pid 26207
[13-Nov-2014 22:56:57] NOTICE: ready to handle connections
[13-Nov-2014 23:19:45] NOTICE: Finishing ...
[13-Nov-2014 23:19:45] NOTICE: exiting, bye-bye!
[13-Nov-2014 23:19:46] NOTICE: fpm is running, pid 27339
[13-Nov-2014 23:19:46] NOTICE: ready to handle connections
作者: wc178082254    时间: 2015-6-9 23:58     标题: lnmp1.2-full.tar.gz安装失败

服务器
Linux localhost.localdomain 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux安装后错误

Error: PHP install failed.
Error: Apache install failed.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.
作者: wc178082254    时间: 2015-6-10 00:00     标题: lnmp1.2-full.tar.gz安装失败

速求解
服务器Linux localhost.localdomain 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux安装后错误Error: PHP install failed. Error: Apache install failed.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    时间: 2015-6-10 09:14     标题: 回复 46# 的帖子

Error: apr-1.5.1.tar.gz not found!!!download now...
--2015-06-09 23:29:44--  http://soft.vpser.net/web/apache/apr-1.5.1.tar.gz
Resolving soft.vpser.net... 218.85.65.150
Connecting to soft.vpser.net|218.85.65.150|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://127.0.0.1/ [following]
--2015-06-09 23:29:44--  http://127.0.0.1/
Connecting to 127.0.0.1:80... failed: Connection refused.

你网络可能有劫持,造成文件没被下载
作者: ybxjw    时间: 2016-4-8 22:33     标题: 半年后网站老是出现502和504错误,贴有php-fpm.log日志

Apr 08 22:21:26.727261 [NOTICE] fpm_got_signal(), line 56: received SIGTERM
Apr 08 22:21:26.727307 [NOTICE] fpm_pctl(), line 256: switching to 'terminating' state
Apr 08 22:21:26.727329 [NOTICE] fpm_pctl_kill_all(), line 172: sending signal 15 SIGTERM to child 6892 (pool default)
Apr 08 22:21:26.727343 [NOTICE] fpm_pctl_kill_all(), line 172: sending signal 15 SIGTERM to child 6891 (pool default)
Apr 08 22:21:26.727354 [NOTICE] fpm_pctl_kill_all(), line 172: sending signal 15 SIGTERM to child 6890 (pool default)
Apr 08 22:21:26.727365 [NOTICE] fpm_pctl_kill_all(), line 172: sending signal 15 SIGTERM to child 6889 (pool default)
Apr 08 22:21:26.727377 [NOTICE] fpm_pctl_kill_all(), line 172: sending signal 15 SIGTERM to child 6888 (pool default)
Apr 08 22:21:26.727389 [NOTICE] fpm_pctl_kill_all(), line 172: sending signal 15 SIGTERM to child 6887 (pool default)
Apr 08 22:21:26.727400 [NOTICE] fpm_pctl_kill_all(), line 172: sending signal 15 SIGTERM to child 6886 (pool default)
Apr 08 22:21:26.727410 [NOTICE] fpm_pctl_kill_all(), line 172: sending signal 15 SIGTERM to child 6885 (pool default)
Apr 08 22:21:26.727423 [NOTICE] fpm_pctl_kill_all(), line 172: sending signal 15 SIGTERM to child 6884 (pool default)
Apr 08 22:21:26.727438 [NOTICE] fpm_pctl_kill_all(), line 172: sending signal 15 SIGTERM to child 6883 (pool default)
Apr 08 22:21:26.727446 [NOTICE] fpm_pctl_kill_all(), line 181: 10 children are still alive
Apr 08 22:21:26.729621 [NOTICE] fpm_got_signal(), line 48: received SIGCHLD
Apr 08 22:21:26.729693 [WARNING] fpm_children_bury(), line 215: child 6883 (pool default) exited on signal 15 SIGTERM after 44.239415 seconds from start
Apr 08 22:21:26.729733 [WARNING] fpm_children_bury(), line 215: child 6884 (pool default) exited on signal 15 SIGTERM after 44.239069 seconds from start
Apr 08 22:21:26.729758 [WARNING] fpm_children_bury(), line 215: child 6885 (pool default) exited on signal 15 SIGTERM after 44.238724 seconds from start
Apr 08 22:21:26.729783 [WARNING] fpm_children_bury(), line 215: child 6886 (pool default) exited on signal 15 SIGTERM after 44.238380 seconds from start
Apr 08 22:21:26.729807 [WARNING] fpm_children_bury(), line 215: child 6887 (pool default) exited on signal 15 SIGTERM after 44.238029 seconds from start
Apr 08 22:21:26.729831 [WARNING] fpm_children_bury(), line 215: child 6888 (pool default) exited on signal 15 SIGTERM after 44.237682 seconds from start
Apr 08 22:21:26.729855 [WARNING] fpm_children_bury(), line 215: child 6889 (pool default) exited on signal 15 SIGTERM after 44.237337 seconds from start
Apr 08 22:21:26.729888 [WARNING] fpm_children_bury(), line 215: child 6890 (pool default) exited on signal 15 SIGTERM after 44.237022 seconds from start
Apr 08 22:21:26.729913 [WARNING] fpm_children_bury(), line 215: child 6891 (pool default) exited on signal 15 SIGTERM after 44.236683 seconds from start
Apr 08 22:21:26.729938 [WARNING] fpm_children_bury(), line 215: child 6892 (pool default) exited on signal 15 SIGTERM after 44.236338 seconds from start
Apr 08 22:21:26.729947 [NOTICE] fpm_pctl_exit(), line 81: exiting, bye-bye!
Apr 08 22:21:29.834994 [NOTICE] fpm_unix_init_main(), line 284: getrlimit(nofile): max:65535, cur:65535
Apr 08 22:21:29.835239 [NOTICE] fpm_event_init_main(), line 88: libevent: using epoll
Apr 08 22:21:29.835301 [NOTICE] fpm_init(), line 52: fpm is running, pid 7377
Apr 08 22:21:29.835826 [NOTICE] fpm_children_make(), line 352: child 7378 (pool default) started
Apr 08 22:21:29.836192 [NOTICE] fpm_children_make(), line 352: child 7379 (pool default) started
Apr 08 22:21:29.836561 [NOTICE] fpm_children_make(), line 352: child 7380 (pool default) started
Apr 08 22:21:29.836933 [NOTICE] fpm_children_make(), line 352: child 7381 (pool default) started
Apr 08 22:21:29.837305 [NOTICE] fpm_children_make(), line 352: child 7382 (pool default) started
Apr 08 22:21:29.837683 [NOTICE] fpm_children_make(), line 352: child 7383 (pool default) started
Apr 08 22:21:29.838055 [NOTICE] fpm_children_make(), line 352: child 7384 (pool default) started
Apr 08 22:21:29.838414 [NOTICE] fpm_children_make(), line 352: child 7385 (pool default) started
Apr 08 22:21:29.838814 [NOTICE] fpm_children_make(), line 352: child 7386 (pool default) started
Apr 08 22:21:29.839175 [NOTICE] fpm_children_make(), line 352: child 7387 (pool default) started
Apr 08 22:21:29.839205 [NOTICE] fpm_event_loop(), line 107: libevent: entering main loop
作者: ddwl    时间: 2016-6-24 09:28     标题: 安装lnmp1.3失败

OS:Red Hat Enterprise Linux Server release 6.1lnmp: 1.3
php安装失败。

Checking ...
Nginx: OK
MySQL: OK
Error: PHP install failed.
Sorry, Failed to install LNMP!



[attach]3376[/attach]
作者: lovage    时间: 2016-7-7 17:24

求大大帮看一下。

root@localhost:~# uname -a
Linux localhost.localdomain 3.2.0-4-amd64 #1 SMP Debian 3.2.78-1 x86_64 GNU/Linux

root@localhost:~# ls -l /usr/local/mysql/var/
total 28
-rw-rw---- 1 mysql mysql   56 Apr 22 23:53 auto.cnf
-rw-r----- 1 mysql mysql 4854 Jul  7 17:20 localhost.localdomain.err
drwx--S--- 2 mysql mysql 4096 Apr 22 23:53 mysql
-rw-r--r-- 1 root  mysql    0 Jul  7 17:19 mysql-bin.000035
-rw-rw---- 1 mysql mysql  665 Jul  7 10:22 mysql-bin.index
drwx--S--- 2 mysql mysql 4096 Apr 22 23:53 performance_schema
drwx--S--- 2 mysql mysql 4096 May 14 00:51 shadowsocks


160707 17:20:17 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
2016-07-07 17:20:18 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2016-07-07 17:20:18 2683 [Warning] ignore-builtin-innodb is ignored and will be removed in future releases.
2016-07-07 17:20:18 2683 [Warning] The option innodb (skip-innodb) is deprecated and will be removed in a future release
2016-07-07 17:20:18 2683 [Warning] The option innodb (skip-innodb) is deprecated and will be removed in a future release
2016-07-07 17:20:18 2683 [Warning] Using unique option prefix innodb-locks instead of innodb-locks-unsafe-for-binlog is deprecated and will be removed in a future release. Please use the full name instead.
2016-07-07 17:20:18 2683 [Warning] Using unique option prefix innodb-cmp instead of innodb-cmp-per-index-enabled is deprecated and will be removed in a future release. Please use the full name instead.
2016-07-07 17:20:18 2683 [Warning] Using unique option prefix innodb-cmp-per-index instead of innodb-cmp-per-index-enabled is deprecated and will be removed in a future release. Please use the full name instead.
2016-07-07 17:20:18 2683 [Note] Plugin 'InnoDB' is disabled.
2016-07-07 17:20:18 2683 [Note] Plugin 'INNODB_TRX' is disabled.
2016-07-07 17:20:18 2683 [Note] Plugin 'INNODB_LOCK_WAITS' is disabled.
2016-07-07 17:20:18 2683 [Note] Plugin 'INNODB_CMP_RESET' is disabled.
2016-07-07 17:20:18 2683 [Note] Plugin 'INNODB_CMPMEM' is disabled.
2016-07-07 17:20:18 2683 [Note] Plugin 'INNODB_CMPMEM_RESET' is disabled.
2016-07-07 17:20:18 2683 [Note] Plugin 'INNODB_CMP_PER_INDEX_RESET' is disabled.
2016-07-07 17:20:18 2683 [Note] Plugin 'INNODB_BUFFER_PAGE' is disabled.
2016-07-07 17:20:18 2683 [Note] Plugin 'INNODB_BUFFER_PAGE_LRU' is disabled.
2016-07-07 17:20:18 2683 [Note] Plugin 'INNODB_BUFFER_POOL_STATS' is disabled.
2016-07-07 17:20:18 2683 [Note] Plugin 'INNODB_METRICS' is disabled.
2016-07-07 17:20:18 2683 [Note] Plugin 'INNODB_FT_DEFAULT_STOPWORD' is disabled.
2016-07-07 17:20:18 2683 [Note] Plugin 'INNODB_FT_DELETED' is disabled.
2016-07-07 17:20:18 2683 [Note] Plugin 'INNODB_FT_BEING_DELETED' is disabled.
2016-07-07 17:20:18 2683 [Note] Plugin 'INNODB_FT_CONFIG' is disabled.
2016-07-07 17:20:18 2683 [Note] Plugin 'INNODB_FT_INDEX_CACHE' is disabled.
2016-07-07 17:20:18 2683 [Note] Plugin 'INNODB_FT_INDEX_TABLE' is disabled.
2016-07-07 17:20:18 2683 [Note] Plugin 'INNODB_SYS_TABLES' is disabled.
2016-07-07 17:20:18 2683 [Note] Plugin 'INNODB_SYS_TABLESTATS' is disabled.
2016-07-07 17:20:18 2683 [Note] Plugin 'INNODB_SYS_INDEXES' is disabled.
2016-07-07 17:20:18 2683 [Note] Plugin 'INNODB_SYS_COLUMNS' is disabled.
2016-07-07 17:20:18 2683 [Note] Plugin 'INNODB_SYS_FIELDS' is disabled.
2016-07-07 17:20:18 2683 [Note] Plugin 'INNODB_SYS_FOREIGN' is disabled.
2016-07-07 17:20:18 2683 [Note] Plugin 'INNODB_SYS_FOREIGN_COLS' is disabled.
2016-07-07 17:20:18 2683 [Note] Plugin 'FEDERATED' is disabled.
2016-07-07 17:20:19 2683 [Warning] /usr/local/mysql/bin/mysqld: unknown variable 'loose-innodb-ft-inserted=0'
2016-07-07 17:20:19 2683 [ERROR] I/O error reading the header from the binary log, errno=175, io cache code=0
2016-07-07 17:20:19 2683 [ERROR] I/O error reading the header from the binary log
2016-07-07 17:20:19 2683 [ERROR] Can't init tc log
2016-07-07 17:20:19 2683 [ERROR] Aborting

2016-07-07 17:20:19 2683 [Note] Binlog end
2016-07-07 17:20:19 2683 [Note] Shutting down plugin 'partition'
2016-07-07 17:20:19 2683 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
2016-07-07 17:20:19 2683 [Note] Shutting down plugin 'BLACKHOLE'
2016-07-07 17:20:19 2683 [Note] Shutting down plugin 'ARCHIVE'
2016-07-07 17:20:19 2683 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'
2016-07-07 17:20:19 2683 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'
2016-07-07 17:20:19 2683 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX'
2016-07-07 17:20:19 2683 [Note] Shutting down plugin 'INNODB_CMP'
2016-07-07 17:20:19 2683 [Note] Shutting down plugin 'INNODB_LOCKS'
2016-07-07 17:20:19 2683 [Note] Shutting down plugin 'MyISAM'
2016-07-07 17:20:19 2683 [Note] Shutting down plugin 'MEMORY'
2016-07-07 17:20:19 2683 [Note] Shutting down plugin 'CSV'
2016-07-07 17:20:19 2683 [Note] Shutting down plugin 'MRG_MYISAM'
2016-07-07 17:20:19 2683 [Note] Shutting down plugin 'sha256_password'
2016-07-07 17:20:19 2683 [Note] Shutting down plugin 'mysql_old_password'
2016-07-07 17:20:19 2683 [Note] Shutting down plugin 'mysql_native_password'
2016-07-07 17:20:19 2683 [Note] Shutting down plugin 'binlog'
2016-07-07 17:20:19 2683 [Note] /usr/local/mysql/bin/mysqld: Shutdown complete

160707 17:20:19 mysqld_safe mysqld from pid file /usr/local/mysql/var/localhost.localdomain.pid ended

[ 本帖最后由 lovage 于 2016-7-7 17:26 编辑 ]
作者: hbob    时间: 2016-8-19 13:33     标题: lnmp一键安装失败,用的是 asianux server 3 32位的,mysql和php失败

lnmp一键安装失败,用的是 asianux server 3 32位的,mysql和php失败帮忙看下,麻烦了。
作者: linshuboy    时间: 2016-12-25 18:28

阿里云 contos7.2 64位所有的都安装完了,不自动跳出脚本。需要ctrl+C推出
作者: huang906691    时间: 2016-12-27 11:36

安装lnmp3好几次都是失败,centos6.5,64位。安装日志在附件,帮忙看看啊。
作者: 碟舞飞扬    时间: 2017-2-18 18:06     标题: lnmp1.4 mysql5.7编译错误

操作系统:CentOS 6.8 x86_64
错误:./comp_err: error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directory
提示缺少libatomic ,使用yum install libatomic安装之后,编译通过。
作者: licess    时间: 2017-2-18 19:04     标题: 回复 54# 的帖子

建议发日志看一下,目前lnmp安装所需要的依赖包里不需要这个
作者: 碟舞飞扬    时间: 2017-2-20 10:41     标题: mysql 5.7 编译错误

我把libatomic删除,然后重新安装一遍还是报这个错误,可能只是个特例,安装日志已附件上传。
作者: ttdms    时间: 2017-3-3 16:37     标题: LNMP1.4安装失败

服务器所在地:洛杉矶 MC硬件配置:4核,2G,40G SSD
系统:CentOS 7 64

试过两次了,都是失败,麻烦军哥帮忙看看

[attach]4055[/attach]
作者: feimail    时间: 2017-5-30 00:41     标题: 系统CentOS-7-i386-DVD-1611.iso 无法正常安装lnmp1.3

[attach]4272[/attach]系统CentOS-7-i386-DVD-1611.iso 无法正常安装
作者: kaixin52    时间: 2017-6-3 11:46

googlecloud                CentOS6  [color=rgba(0, 0, 0, 0.655)]x86_64 built on 2017-05-23[color=rgba(0, 0, 0, 0.654901960784314)]

[color=rgba(0, 0, 0, 0.654901960784314)]1vCpu 1.5G内存

   之前1.3也安装不上,1。4也安不上
作者: zdhah    时间: 2017-6-5 17:04     标题: mysql怎么登不进,密码错误

lnmp一键安装后,mysql密码不知道
作者: zdhah    时间: 2017-6-5 17:04     标题: mysql怎么登不进,密码错误

lnmp一键安装后,mysql密码不知道




欢迎光临 VPS侦探论坛 (http://bbs.vpser.net/) Powered by Discuz! 6.0.0