|
主机操作系统:turbolinux6.5
ftp服务器软件:proftp
装好以后不能FTP到服务器上不论是在本机还是在远端的客户机上。出错提示如下:login: root
Password:
Last login: Fri Feb 14 15:21:59 from 10.2.35.11
Welcome to Turbolinux.
[root@linuxsrv1 /root]# ls
Desktop/ core nsmail/
[root@linuxsrv1 /root]# ftp 127.0.0.1
Connected to 127.0.0.1.
421 Service not available, remote server has closed connection
ftp> bye
[root@linuxsrv1 /root]# ftp 10.2.20.111
Connected to 10.2.20.111.
421 Service not available, remote server has closed connection
ftp> bye
[root@linuxsrv1 /root]#proftpd
[root@linuxsrv1 /root]#
[root@linuxsrv1 /root]# ps -ax |grep ftp
[root@linuxsrv1 /root]# ps -ef |grep ftpd
[root@linuxsrv1 /root]#
[root@linuxsrv1 /etc]# more initd.conf
initd.conf: No such file or directory
[root@linuxsrv1 /etc]# more inetd.conf
#
# inetd.conf This file describes the services that will be available
# through the INETD TCP/IP super server. To re-configure
# the running INETD process, edit this file, then send the
# INETD process a SIGHUP signal: 'killall -HUP inetd'
#
# Version: /etc/inetd.conf 6.0 Mar 12 2000
#
# Format:
# <service_name> <sock_type> <proto> <flags> <user> <server_path> <args>
#
# For security reasons, all services are turned off by default. Uncomment (or
# add lines) to have services started by inetd (see inetd.conf( for details).
#
# Don't forget to also edit /etc/hosts.allow for services which are started
# through tcp_wrappers (/usr/sbin/tcpd in the configuration lines below).
#
# Note: Some servers (typical examples: Web servers like Apache and MTAs like
# Sendmail) run usually in stand alone mode, i.e. they are _not_ started
# by the inetd. They are started at boot time (or manually) and keep
# running.
################################################################################
ProFTP (standard TurboLinux ftp server)
# Warning: the authentication information for ftp goes as clear text over
# the net. This is especially dangerous if the same login/password combination
# can be used for any shell logins (telnet, ssh). Make sure remote ftp users
# have either /usr/bin/ftponly or /usr/bin/passwd as their login "shells".
# If you choose passwd, they can change their ftp password using telnet
# without having a real shell account on your system.
ftp stream tcp nowait root /usr/sbin/tcpd in.proftpd
################################################################################
# WU ftpd (an alternative ftp server)
# ftp stream tcp nowait root /usr/sbin/tcpd in.ftpd -l -a
## please remove comment string from following line.
ftp stream tcp nowait root /usr/sbin/tcpd in.proftpd
swat stream tcp nowait.400 root /usr/sbin/tcpd /usr/sbin/swat
请问怎么回事,服务也起不来??请高手指点! |
|