ohmyga 发表于 2017-9-4 17:19:48

pureftpd.sh 安装失败

系统:centos 6.5
内核:2.6.32-573.22.1.el6.x86_64
lnmp1.3版本 安装ftp出现安装失败

configure: +--------------------------------------------------------+
configure: | You can subscribe to the Pure-FTPd users mailing-list|
configure: | to ask for help and to stay informed of new releases.|
configure: | Go to http://www.pureftpd.org/ml/ now!               |
configure: +--------------------------------------------------------+
makeall-recursive
make: Entering directory `/root/soft/lnmp1.3/src/pure-ftpd-1.0.42'
Making all in puredb
make: Entering directory `/root/soft/lnmp1.3/src/pure-ftpd-1.0.42/puredb'
Making all in src
make: Entering directory `/root/soft/lnmp1.3/src/pure-ftpd-1.0.42/puredb/src'
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\"-O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT puredb_read.o -MD -MP -MF .deps/puredb_read.Tpo -c -o puredb_read.o puredb_read.c
mv -f .deps/puredb_read.Tpo .deps/puredb_read.Po
rm -f libpuredb_read.a
ar cru libpuredb_read.a puredb_read.o
ranlib libpuredb_read.a
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\"-O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT puredb_write.o -MD -MP -MF .deps/puredb_write.Tpo -c -o puredb_write.o puredb_write.c
mv -f .deps/puredb_write.Tpo .deps/puredb_write.Po
rm -f libpuredb_write.a
ar cru libpuredb_write.a puredb_write.o
ranlib libpuredb_write.a
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\"-O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT example_read.o -MD -MP -MF .deps/example_read.Tpo -c -o example_read.o example_read.c
mv -f .deps/example_read.Tpo .deps/example_read.Po
gcc-O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero-pie -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack -L/usr/local/lib -o example_read example_read.o libpuredb_read.a -liconv -liconv -lssl -lcrypto -lcrypt
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\"-O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT example_write.o -MD -MP -MF .deps/example_write.Tpo -c -o example_write.o example_write.c
mv -f .deps/example_write.Tpo .deps/example_write.Po
gcc-O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero-pie -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack -L/usr/local/lib -o example_write example_write.o libpuredb_write.a -liconv -liconv -lssl -lcrypto -lcrypt
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\"-O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT regression.o -MD -MP -MF .deps/regression.Tpo -c -o regression.o regression.c
mv -f .deps/regression.Tpo .deps/regression.Po
gcc-O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero-pie -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack -L/usr/local/lib -o regression regression.o libpuredb_read.a libpuredb_write.a -liconv -liconv -lssl -lcrypto -lcrypt
make: Leaving directory `/root/soft/lnmp1.3/src/pure-ftpd-1.0.42/puredb/src'
make: Entering directory `/root/soft/lnmp1.3/src/pure-ftpd-1.0.42/puredb'
make: Nothing to be done for `all-am'.
make: Leaving directory `/root/soft/lnmp1.3/src/pure-ftpd-1.0.42/puredb'
make: Leaving directory `/root/soft/lnmp1.3/src/pure-ftpd-1.0.42/puredb'
Making all in src
make: Entering directory `/root/soft/lnmp1.3/src/pure-ftpd-1.0.42/src'
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT libpureftpd_a-altlog.o -MD -MP -MF .deps/libpureftpd_a-altlog.Tpo -c -o libpureftpd_a-altlog.o `test -f 'altlog.c' || echo './'`altlog.c
/bin/sh: /usr/bin/gcc: Permission denied
make: *** Error 126
make: Leaving directory `/root/soft/lnmp1.3/src/pure-ftpd-1.0.42/src'
make: *** Error 1
make: Leaving directory `/root/soft/lnmp1.3/src/pure-ftpd-1.0.42'
make: *** Error 2
Copy configure files...
cp: cannot create regular file `/usr/local/pureftpd/sbin/': No such file or directory
chmod: cannot access `/usr/local/pureftpd/sbin/pure-config.pl': No such file or directory
mkdir: cannot create directory `/usr/local/pureftpd/etc': No such file or directory
cp: cannot create regular file `/usr/local/pureftpd/etc/pure-ftpd.conf': No such file or directory
cp: writing `/etc/init.d/pureftpd': Permission denied
touch: cannot touch `/usr/local/pureftpd/etc/pureftpd.passwd': No such file or directory
touch: cannot touch `/usr/local/pureftpd/etc/pureftpd.pdb': No such file or directory
Add pureftpd service at system startup...
error reading information on service pureftpd: Invalid argument
error reading information on service pureftpd: Invalid argument
iptables: Index of insertion too big.
iptables: Index of insertion too big.
iptables: Index of insertion too big.
iptables: Saving firewall rules to /etc/sysconfig/iptables:
Pureftpd install failed!

licess 发表于 2017-9-5 09:18:37

回复 1# 的帖子

有可能是云锁等之类的安全软件造成的

ronald 发表于 2017-11-24 21:44:54

回复 2# 的帖子

军哥,有什么办法查出什么原因吗?或者说应该解决?
感谢~

我有两个gigsgigscloud.com的VPS,
一台:系统:CentOS 7.0 (64bit)
Linux内核版本:3.10.0-123.4.2.el7.x86_64
PHP版本(php_version): 7.0.21
lnmp1.4版本 安装又正常。

另一台:系统:centos-5.0-x86
Linux内核版本:2.6.32-042stab117.14
PHP版本(php_version): 5.3.29
lnmp1.3版本 安装ftp出现安装失败。

[ 本帖最后由 ronald 于 2017-11-24 22:12 编辑 ]

ronald 发表于 2017-11-24 22:11:48

我还是重新发个新贴吧。
页: [1]
查看完整版本: pureftpd.sh 安装失败