VPS侦探论坛

 找回密码
 注册
查看: 256106|回复: 60

LNMP问题反馈必读

 关闭 [复制链接]
发表于 2011-3-31 15:20:16 | 显示全部楼层 |阅读模式

提问前现在论坛里搜索相关关键词确认是否已经有相关问题及解决方法!
提问前请先到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.comhttps://www.wenshushu.cnhttps://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 进行付费支持服务
------------------------------------------------------------------------------------------------------------------------------


美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 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,无法上传。说下错误信息吧。错误信息:
  1. root@ubuntu:~/lnmp0.7-full/php-5.2.17# /root/lnmp restart
  2. =========================================================================
  3. Manager for LNMP V0.7  ,  Written by Licess
  4. =========================================================================
  5. LNMP is a tool to auto-compile & install Nginx+MySQL+PHP on Linux
  6. This script is a tool to Manage status of lnmp
  7. For more information please visit http://www.lnmp.org [local]1[/local]

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

我查看/root/lnmp-0.7-full/ubuntu.sh ,按照:
  1. echo "========================= php + php extensions install ==================="
  2. cd $cur_dir
  3. export PHP_AUTOCONF=/usr/local/autoconf-2.13/bin/autoconf
  4. export PHP_AUTOHEADER=/usr/local/autoconf-2.13/bin/autoheader
  5. tar zxvf php-5.2.17.tar.gz
  6. gzip -cd php-5.2.17-fpm-0.5.14.diff.gz | patch -d php-5.2.17 -p1
  7. cd php-5.2.17/
  8. ./buildconf --force
  9. ./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
  10. make ZEND_EXTRA_LIBS='-liconv'
  11. make install

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

  16. ln -s /usr/local/php/bin/php /usr/bin/php
  17. ln -s /usr/local/php/bin/phpize /usr/bin/phpize
  18. ln -s /usr/local/php/sbin/php-fpm /usr/bin/php-fpm

  19. cd $cur_dir
  20. tar zxvf memcache-3.0.5.tgz
  21. cd memcache-3.0.5/
  22. /usr/local/php/bin/phpize
  23. ./configure --with-php-config=/usr/local/php/bin/php-config
  24. make && make install
  25. cd ../

  26. tar zxvf PDO_MYSQL-1.0.2.tgz
  27. cd PDO_MYSQL-1.0.2/
  28. /usr/local/php/bin/phpize
  29. ./configure --with-php-config=/usr/local/php/bin/php-config --with-pdo-mysql=/usr/local/mysql
  30. make && make install
  31. cd ../

  32. # php extensions
  33. 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
  34. sed -i 's#output_buffering = Off#output_buffering = On#' /usr/local/php/etc/php.ini
  35. sed -i 's/post_max_size = 8M/post_max_size = 50M/g' /usr/local/php/etc/php.ini
  36. sed -i 's/upload_max_filesize = 2M/upload_max_filesize = 50M/g' /usr/local/php/etc/php.ini
  37. sed -i 's/;date.timezone =/date.timezone = PRC/g' /usr/local/php/etc/php.ini
  38. sed -i 's/short_open_tag = Off/short_open_tag = On/g' /usr/local/php/etc/php.ini
  39. sed -i 's/; cgi.fix_pathinfo=1/cgi.fix_pathinfo=0/g' /usr/local/php/etc/php.ini
  40. sed -i 's/max_execution_time = 30/max_execution_time = 300/g' /usr/local/php/etc/php.ini

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

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

  54. ;ionCube

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

  59. wget -c http://soft.vpser.net/lnmp/ext/init.d.php-fpm5.2
  60. cp init.d.php-fpm5.2 /etc/init.d/php-fpm
  61. chmod +x /etc/init.d/php-fpm
  62. echo "======================== php + php extensions install =================="
复制代码
  1. ./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.
再往下无法继续执行:
  1. root@ubuntu:~/lnmp0.7-full/php-5.2.17# make ZEND_EXTRA_LIBS='-liconv'
  2. make: *** 没有指明目标并且找不到 makefile。 停止。
复制代码
最后,不仅仅期待你的回答,更期待正确的解决方案,另外,希望不要复制别人的或者说些不具体的话,我已经用google查了好多天了,所以不要浪费我的时间!!!

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

[ 本帖最后由 sbmzhcn 于 2011-5-22 16:00 编辑 ]
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2011-5-22 15:54:07 | 显示全部楼层

另:php -v 执行情况
  1. root@ubuntu:~/lnmp0.7-full/php-5.2.17# php -v
  2. PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/ming.ini on line 1 in Unknown on line 0
  3. 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
  4. 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
  5. 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
  6. PHP 5.3.5-1ubuntu7.2 with Suhosin-Patch (cli) (built: May  2 2011 23:18:30)
  7. Copyright (c) 1997-2009 The PHP Group
  8. Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
复制代码


刚安装是可以查看php版本的,只是后来我升级了,以为能解决此问题。

[ 本帖最后由 sbmzhcn 于 2011-5-22 15:55 编辑 ]
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2011-6-29 17:09:01 | 显示全部楼层



版本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
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2011-7-17 00:07:12 | 显示全部楼层

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

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

发表于 2011-7-18 15:00:47 | 显示全部楼层

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

[ 本帖最后由 taxuerb 于 2011-7-18 15:53 编辑 ]
发表于 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 [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
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2011-8-8 09:41:01 | 显示全部楼层

回复 7# 的帖子


已经有其他的mysql在运行,kill之后重新启动试试或重启系统试试。
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2011-9-9 19:34:24 | 显示全部楼层


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

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

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

发表于 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[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 编辑 ]
发表于 2011-10-20 10:40:37 | 显示全部楼层

军哥 什么时候帮我看看啊
 楼主| 发表于 2011-10-20 12:03:23 | 显示全部楼层

回复 10# 的帖子


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

如果是192MB以上的话按置顶贴要求反馈编译安装错误信息。
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2011-12-3 20:05:01 | 显示全部楼层
1.CentOS 32位 虚拟机,分配内存2048M2.没有这个目录:/usr/local/mysql/var/好像是MYSQL没有安装成功,但是不知道怎么补救,做了4个虚拟机都是这个情况。多谢军哥赐教!

本帖子中包含更多资源

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

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

回复 13# 的帖子

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

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

发表于 2012-1-5 19:31:42 | 显示全部楼层
重复了,麻烦删除..

[ 本帖最后由 z11148 于 2012-1-5 20:33 编辑 ]

本帖子中包含更多资源

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

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

本版积分规则

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

GMT+8, 2024-12-21 20:19 , Processed in 0.033805 second(s), 20 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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