VPS侦探论坛

 找回密码
 注册
查看: 7860|回复: 7

PureFTPd一直都没有问题,突然挂了

[复制链接]
发表于 2011-9-19 11:41:21 | 显示全部楼层 |阅读模式

我用的是LNMPA0.7 一直用的好好的阿,没有作什么修改,昨天突然打不开的,www.abc.com/ftp 打不开,用flashfxp 客户端软件,也连接不上FTP,没偶搜索到答案,发帖求助了只好,错误提示是

Error: MySql server not found.

MySql error : Access denied for user 'ftp'@'localhost' (using password: YES)

[ 本帖最后由 shazig 于 2011-9-19 11:44 编辑 ]
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2011-9-19 11:41:59 | 显示全部楼层


搜索的帖子说看MYSQL数据库是否运行政策,应该政策,我的论坛可以打开,可以发帖,都正常,就是FTP打不开。
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2011-9-19 12:48:07 | 显示全部楼层

/home/wwwroot/ftp/config.php 看看数据库连接信息是否正确
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2011-10-1 02:07:47 | 显示全部楼层



$LANG = "Chinese";                  // See the directory language for the available languages.

  $LocationImages =  "images";        // Location of images

  $DBHost = "127.0.0.1";              // Ip-address of MySQL server
                                      // (Don抰 change this if you are using the default database)

  $DBLogin = "ftp";                   // Username of MySQL user

  $DBPassword = "123456789";          // Password of MySQL user

  $DBDatabase = "ftpusers";           // Name of database

  $FTPAddress = "127.0.0.1:21";   // Domain name or ip-address of your ftp server

  $DEFUserID = "65534"; // nobody     // Default user id of virtual ftp user.

  $DEFGroupID = "31";   // guest      // Default group is of virtual ftp user.

  $UsersFile = "/etc/passwd";        // The unix user file

  $GroupFile = "/etc/group";         // The unix group file

  $StyleSheet = "style/default.css.php"; // The location of the style sheet

  $EnableQuota = 0;                  // Enable virtual quota's (0=Off 1=On)

  $EnableRatio = 0;                  // Enable ratio (0=Off 1=On)
                                     // The pureftpd server has to be compiled with ratio support.
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2011-10-1 02:08:21 | 显示全部楼层

貌似都正常阿。。。..............................

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

 楼主| 发表于 2011-10-1 02:14:31 | 显示全部楼层

其他的我没懂是什么意思,我只看到数据库明和密码没错。
 楼主| 发表于 2011-10-1 03:00:21 | 显示全部楼层

这个是数据库截图

只有两个表吗 ?我没有操作说明啊。




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

phpmyadmin里重设 ftp  127.0.0.1 的密码试试。
/home/wwwroot/ftp/config.php 这里面的密码和重设后的密码一样再试试
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-20 04:32 , Processed in 0.027575 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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