shazig 发表于 2011-9-19 11:41:21

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

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

shazig 发表于 2011-9-19 11:41:59

搜索的帖子说看MYSQL数据库是否运行政策,应该政策,我的论坛可以打开,可以发帖,都正常,就是FTP打不开。

licess 发表于 2011-9-19 12:48:07

/home/wwwroot/ftp/config.php 看看数据库连接信息是否正确

shazig 发表于 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.

shazig 发表于 2011-10-1 02:08:21

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

shazig 发表于 2011-10-1 02:14:31

其他的我没懂是什么意思,我只看到数据库明和密码没错。

shazig 发表于 2011-10-1 03:00:21

这个是数据库截图

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


http://bbs.diguo.cn/data/attachment/forum/201110/01/030233920aim0i11411zm0.bmp

[ 本帖最后由 shazig 于 2011-10-1 03:03 编辑 ]

licess 发表于 2011-10-1 08:03:22

phpmyadmin里重设 ftp127.0.0.1 的密码试试。
/home/wwwroot/ftp/config.php 这里面的密码和重设后的密码一样再试试
页: [1]
查看完整版本: PureFTPd一直都没有问题,突然挂了