打印

LNMP问题反馈必读

本主题由 licess 于 2017-6-6 08:31 关闭

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 进行付费支持服务

TOP

内核: 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 编辑 ]

TOP

另: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 编辑 ]

TOP

版本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

TOP

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 编辑 ]

TOP

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

[ 本帖最后由 taxuerb 于 2011-7-18 15:53 编辑 ]

TOP

麻烦帮我看看,问题出在哪儿?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

TOP

回复 7# 的帖子

已经有其他的mysql在运行,kill之后重新启动试试或重启系统试试。

TOP

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

我用的是84的VPS  centos-6.0-x86系统

TOP

使用的是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 编辑 ]

TOP

军哥 什么时候帮我看看啊

TOP

回复 10# 的帖子

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

如果是192MB以上的话按置顶贴要求反馈编译安装错误信息。

TOP

1.CentOS 32位 虚拟机,分配内存2048M2.没有这个目录:/usr/local/mysql/var/好像是MYSQL没有安装成功,但是不知道怎么补救,做了4个虚拟机都是这个情况。多谢军哥赐教!
附件: 您所在的用户组无法下载或查看附件

TOP

回复 13# 的帖子

日志里没有记录下mysql的编译错误信息

TOP

重复了,麻烦删除..

[ 本帖最后由 z11148 于 2012-1-5 20:33 编辑 ]
附件: 您所在的用户组无法下载或查看附件

TOP