licess 发表于 2011-3-31 15:20:16

LNMP问题反馈必读

提问前现在论坛里搜索相关关键词确认是否已经有相关问题及解决方法!
提问前请先到https://lnmp.org/faq.html 查看LNMP常见问题。如移动网络无法访问官网,使用 https://lnmp.com/faq.html 进行访问~

-------------------------------------------------------------------------------------------------------------------------------------------------------
急需解决可以进行付费支持服务。联系QQ 503228080 或旺旺:lzhenbao 进行付费支持服务,非付费服务请论坛发帖。
-------------------------------------------------------------------------------------------------------------------------------------------------------
安装失败先自行检查是否有如下情况:

[*]安装MySQL 5.7、8.0,MariaDB 10.* 版本请确保 free -m 是有2048MB以上的内存否则可能会安装失败,低于2048MB内存请自行添加至少2GB的SWAP!
[*]不要在非常新的Linux发行版上安装很旧的PHP版本,同理不要在很久的Linux发行版上安装非常新的PHP版本。
[*]yum或apt-get是否能正常工作,不能正常工作的话无法安装lnmp,内网或离线安装需要增加 CheckMirror=n 参数并且有正常可用的内网或光盘源!
[*]CentOS 5、6、8,Debian 6及之前版本其官网已经结束支持无法直接使用,需自行更换vault或archive源!
[*]CentOS 6、8请用lnmp 1.8+版本进行安装!
[*]Ubuntu 18+,Debian 9+,Mint 19+,Deepin 15.7+及所有新的Linux发行版只能使用1.7+进行安装!
[*]PHP 7.1.*以下版本不支持Ubuntu 19+、Debian 10等等非常新的Linux发行版!
[*]阿里云Ubuntu 14.04和22.04系统模版有问题不要用!!!要用的话论坛找解决方法
[*]PHP 7.4升级或安装必须CentOS 7+,Debian 8+,Ubuntu 16.04+且必须使用1.7+!!!
[*]MySQL 8.0.23以下版本升级或安装必须CentOS 8+,Debian 9+,Ubuntu 16.04+且必须使用1.7+!!!
[*]MySQL 8.0.24以上版本升级或安装必须Debian 11+,Ubuntu 20.04+,Fedora 33+且必须使用1.8!!!
[*]MariaDB 10.*以上版本升级或安装必须CentOS 8+,Debian 10+,Ubuntu 18.04+等cmake版本高于3的系统或自行升级cmake!!!

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

如果LNMP安装失败:
1、提供你的VPS/服务器是什么系统及版本、32位、64位还arm64等等不知道的可以在SSH执行 uname -a ; cat /etc/os-release 贴出返回信息,及用的lnmp哪个版本?最好提供服务商名字
2、提供完整的安装日志,需要用winscp登陆到服务器,在/root 目录下找到lnmp-install.log,下载下来(压缩为zip、7z或tar.gz格式~非必须~)然后上传该文件到( https://cowtransfer.com 、https://www.wenshushu.cn 、 https://tmp.link 之类的方便上传下载的网盘!百度网盘或其他限速严重或者需要登陆的网盘一律不看,论坛服务器空间有限请不要上传到论坛)如日志中有隐私信息请自行替换掉。 0.9版本及之前版本的日志在lnmp安装目录下面的lnmp.log。

如果安装出错或安装完成后PHP或MySQL或Nginx无法运行,以上两条至少需要有lnmp安装日志,否则无法提供任何帮助!!!!

更多lnmp安装方面的要求请到lnmp官网: https://lnmp.org/install.html 查看

如果单独安装数据库出错,安装日志为:/root/install_database.log

如果单独安装nginx出错,安装日志为:/root/nginx-install.log

如果升级php出错,升级日志为:/root/upgrade_lnmp_php日期时间.log,lnmpa或lamp为:/root/upgrade_a_php日期时间.log

如果升级数据库出错,升级日志为:/root/upgrade_mysq日期时间.log,mariadb数据库将前面的文件名改为mariadb,数据库升级失败恢复方法:https://lnmp.org/faq/lnmp1-2-upgrade.html

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

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

如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 这个排查

SSL证书生成失败或续期失败
下载/usr/local/acme.sh/acme.sh.log日志压缩后上传到论坛或者其他方便下载的网盘


----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

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

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

论坛上为不定期回复,一般一天2-3次集中处理回复。


------------------------------------------------------------------------------------------------------------------------------
急需解决可以进行付费支持服务。联系QQ 503228080 或旺旺:lzhenbao 进行付费支持服务。
------------------------------------------------------------------------------------------------------------------------------


sbmzhcn 发表于 2011-5-22 15:39:24

内核: 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 1

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.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: May2 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:07

另: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: May2 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:01

版本:LSB 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_fpmfailed
===================================== Check install ===================================
Error: /usr/local/nginx not found!!!
/usr/local/php
Error: /usr/local/mysql not found!!!
========================== Check install ================================
Install lnmp 0.7 completed! enjoy it.
=========================================================================
LNMP V0.7 for CentOS/RadHat Linux VPSWritten 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:12

Nginx is stop!
php-fpm is runing!
MySQL running (20754)                                    
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. 求助军哥解答

# /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:47

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

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

holyzhou 发表于 2011-8-8 09:34:59

麻烦帮我看看,问题出在哪儿?mysql就是连不上!

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

110807 11:11:27 /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 Can't start server: Bind on TCP/IP port: Address already in use
110807 11:11:28 Do you already have another mysqld server running on port: 3306 ?
110807 11:11:28 Aborting

110807 11:11:28 /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 Can't start server: Bind on TCP/IP port: Address already in use
110807 11:16:58 Do you already have another mysqld server running on port: 3306 ?
110807 11:16:58 Aborting

110807 11:16:58 /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 Can't start server: Bind on TCP/IP port: Address already in use
110807 11:17:00 Do you already have another mysqld server running on port: 3306 ?
110807 11:17:00 Aborting

110807 11:17:00 /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 Can't start server: Bind on TCP/IP port: Address already in use
110807 11:27:32 Do you already have another mysqld server running on port: 3306 ?
110807 11:27:32 Aborting

110807 11:27:32 /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 Can't start server: Bind on TCP/IP port: Address already in use
110807 11:27:43 Do you already have another mysqld server running on port: 3306 ?
110807 11:27:43 Aborting

110807 11:27:43 /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 Can't start server: Bind on TCP/IP port: Address already in use
110807 11:28:03 Do you already have another mysqld server running on port: 3306 ?
110807 11:28:03 Aborting

110807 11:28:03 /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 Can't start server: Bind on TCP/IP port: Address already in use
110807 11:49:05 Do you already have another mysqld server running on port: 3306 ?
110807 11:49:05 Aborting

110807 11:49:05 /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 Can't start server: Bind on TCP/IP port: Address already in use
110807 11:49:06 Do you already have another mysqld server running on port: 3306 ?
110807 11:49:06 Aborting

110807 11:49:06 /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 Can't start server: Bind on TCP/IP port: Address already in use
110807 11:52:47 Do you already have another mysqld server running on port: 3306 ?
110807 11:52:47 Aborting

110807 11:52:47 /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 Can't start server: Bind on TCP/IP port: Address already in use
110807 11:52:49 Do you already have another mysqld server running on port: 3306 ?
110807 11:52:49 Aborting

110807 11:52:49 /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 Can't start server: Bind on TCP/IP port: Address already in use
110807 22:07:38 Do you already have another mysqld server running on port: 3306 ?
110807 22:07:38 Aborting

110807 22:07:38 /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:01

回复 7# 的帖子

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

xiaochen336 发表于 2011-9-9 19:34:24

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

我用的是84的VPScentos-6.0-x86系统

suiyizjy 发表于 2011-10-19 13:26:58

使用的是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: bind() to 0.0.0.0:80 failed (98: Address al                                                                                        ready in use)
: bind() to 0.0.0.0:80 failed (98: Address already in use)
: bind() to 0.0.0.0:80 failed (98: Address already in use)
: bind() to 0.0.0.0:80 failed (98: Address already in use)
: bind() to 0.0.0.0:80 failed (98: Address already in use)
: still could not bind()
nginx already running.
===================================== Check install ============================                                                                                        =======
/usr/local/nginx
/usr/local/php
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:37

军哥 什么时候帮我看看啊

licess 发表于 2011-10-20 12:03:23

回复 10# 的帖子

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

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

tixp 发表于 2011-12-3 20:05:01

1.CentOS 32位 虚拟机,分配内存2048M2.没有这个目录:/usr/local/mysql/var/好像是MYSQL没有安装成功,但是不知道怎么补救,做了4个虚拟机都是这个情况。多谢军哥赐教!

licess 发表于 2011-12-4 08:47:48

回复 13# 的帖子

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

z11148 发表于 2012-1-5 19:31:42

重复了,麻烦删除..

[ 本帖最后由 z11148 于 2012-1-5 20:33 编辑 ]
页: [1] 2 3 4 5
查看完整版本: LNMP问题反馈必读