polar 发表于 2018-3-4 15:54:15

lnmp1.4升级到1.5后安装ftp失败

1、lnmp1.4升级到1.5显示安装成功。/upgrade1.x-1.5.sh ssl 进行升级成功。但是添加新域名还是像1.4版本一样需要输入域名,没有 Enable_PHP_Fileinfo 这个选项。请问这算升级成功嘛?2、安装pureftdp,出现错误


make: Entering directory `/root/lnmp1.5/src/pure-ftpd-1.0.47/pam'
make: Entering directory `/root/lnmp1.5/src/pure-ftpd-1.0.47/pam'
make: Nothing to be done for `install-exec-am'.
make: Nothing to be done for `install-data-am'.
make: Leaving directory `/root/lnmp1.5/src/pure-ftpd-1.0.47/pam'
make: Leaving directory `/root/lnmp1.5/src/pure-ftpd-1.0.47/pam'
Making install in gui
make: Entering directory `/root/lnmp1.5/src/pure-ftpd-1.0.47/gui'
make: Entering directory `/root/lnmp1.5/src/pure-ftpd-1.0.47/gui'
make: Nothing to be done for `install-exec-am'.
make: Nothing to be done for `install-data-am'.
make: Leaving directory `/root/lnmp1.5/src/pure-ftpd-1.0.47/gui'
make: Leaving directory `/root/lnmp1.5/src/pure-ftpd-1.0.47/gui'
Making install in m4
make: Entering directory `/root/lnmp1.5/src/pure-ftpd-1.0.47/m4'
make: Entering directory `/root/lnmp1.5/src/pure-ftpd-1.0.47/m4'
make: Nothing to be done for `install-exec-am'.
make: Nothing to be done for `install-data-am'.
make: Leaving directory `/root/lnmp1.5/src/pure-ftpd-1.0.47/m4'
make: Leaving directory `/root/lnmp1.5/src/pure-ftpd-1.0.47/m4'
make: Entering directory `/root/lnmp1.5/src/pure-ftpd-1.0.47'
make: Entering directory `/root/lnmp1.5/src/pure-ftpd-1.0.47'
/bin/mkdir -p '/usr/local/pureftpd/etc'
/bin/install -c -m 644 pure-ftpd.conf '/usr/local/pureftpd/etc'
make: Nothing to be done for `install-data-am'.
make: Leaving directory `/root/lnmp1.5/src/pure-ftpd-1.0.47'
make: Leaving directory `/root/lnmp1.5/src/pure-ftpd-1.0.47'
Copy configure files...
mkdir: cannot create directory ‘/usr/local/pureftpd/etc’: File exists
cp: cannot create regular file ‘/etc/init.d/pureftpd’: Permission denied
chmod: cannot access ‘/etc/init.d/pureftpd’: No such file or directory
Add pureftpd service at system startup...
error reading information on service pureftpd: No such file or directory
error reading information on service pureftpd: No such file or directory
iptables: Index of insertion too big.
iptables: Index of insertion too big.
iptables: Index of insertion too big.
The service command supports only basic LSB actions (start, stop, restart, try-restart, reload, force-reload, status). For other actions, please try to use systemctl.
1001
Pureftpd install failed!
# ^C
#

licess 发表于 2018-3-4 19:24:47

添加虚拟主机、添加ssl、升级到1.5的ssl这些肯定是都需要填写域名等相关信息的

Enable_PHP_Fileinfo 选项是在lnmp.conf 中的,只要确定是下载到的最新版的lnmp1.5肯定是有的

安装成功了,可能是 /etc/init.d/下目录下存在以前通过其他方式安装的pureftpd启动文件
可以尝试 rm -rf /etc/init.d/pureftpd 后在lnmp1.5安装包目录下执行 \cp init.d/init.d.pureftpd /etc/init.d/pureftpd && /etc/init.d/pureftpd 然后 /etc/init.d/pureftpd start 看一下能否正常启动
再根据自己的系统自己设置一下开机启动

polar 发表于 2018-3-6 06:46:25

lnmp1.4升级到1.5 提示成功。升级 完ssl,提示成功。 添加 新域名还需要输入邮箱地址。 这是1.4版本的。所以会不会是这个问题影响ftp

# rm -rf /etc/init.d/pureftpd
# cd lnmp1.5
# \cp init.d/init.d.pureftpd /etc/init.d/pureftpd && /etc/init.d/pureftpd
cp: cannot create regular file ‘/etc/init.d/pureftpd’: Permission denied
# \cp init.d/init.d.pureftpd /etc/init.d/pureftpd && /etc/init.d/pureftpd
cp: cannot create regular file ‘/etc/init.d/pureftpd’: Permission denied
#/etc/init.d/pureftpd start
-bash: /etc/init.d/pureftpd: No such file or directory
#

[ 本帖最后由 polar 于 2018-3-6 06:47 编辑 ]

licess 发表于 2018-3-6 11:09:47

回复 3# 的帖子

lnmpa或lamp模式下添加都是需要填写邮箱的

1.4和1.5 pureftpd是一样的,只是版本不同

rm -rf /etc/init.d/pureftpd
后 ls -l /etc/init.d/ 看一下

polar 发表于 2018-3-6 15:05:19

# rm -rf /etc/init.d/pureftpd
#ls -l /etc/init.d/
total 84
-rwxr-xr-x. 1 root root2141 Aug 202014 fail2ban
-rw-r--r--. 1 root root 17500 May32017 functions
-rwxr-xr-x. 1 root root2256 Jun 102014 iprdump
-rwxr-xr-x. 1 root root2247 Jun 102014 iprinit
-rwxr-xr-x. 1 root root2269 Jun 102014 iprupdate
-rwxr-xr-x. 1 root root 10565 Jan 30 21:25 mysql
-rwxr-xr-x. 1 root root4334 May32017 netconsole
-rwxr-xr-x. 1 root root7293 May32017 network
-rwxr-xr-x. 1 root root2746 Jan 30 21:30 nginx
-rwxr-xr-x. 1 root root2354 Jan 30 21:29 php-fpm
-rw-r--r--. 1 root root1160 Jan 25 23:52 README
-rwxr--r--1 root root1167 Jan 31 00:43 yunsuo
-rwxr--r--1 root

licess 发表于 2018-3-6 19:29:56

回复 5# 的帖子

有可能你系统上的云锁造成的

polar 发表于 2018-3-6 22:49:13

回复 6# 的帖子

已经关闭云锁,如何是好
页: [1]
查看完整版本: lnmp1.4升级到1.5后安装ftp失败