Why MY ftp failed always
Hi, Can any one help me, i am trying to do ftp to my Linux suse 7.2 server and i am always gettig 421 Service not available, remote server has closed connection i changed the file like Search for the following entries in /etc/inetd.conf : ftp stream tcp nowait root /usr/sbin/tcpd wu.ftpd -a # ftp stream tcp nowait root /usr/sbin/tcpd in.ftpd but i did not get any luck , is there any command to find /see all packages installed in SUSE-7.2, or what is the bast way to install or remove package in SUSE, if i am not using rpm -i for install, but is there any option in rpm to display all packages ? Thanks Sambit
Hello Sambit !
421 Service not available, remote server has closed connection
Search for the following entries in /etc/inetd.conf : ftp stream tcp nowait root /usr/sbin/tcpd wu.ftpd -a # ftp stream tcp nowait root /usr/sbin/tcpd in.ftpd
You have to put an entry into the file /etc/hosts.allow which is read by the tcpwrapper tcpd. If you want to connect from a specific IP, insert a line like wu.ftpd: your.ip.goes.here hostname.domain If you need a range of hosts, you can write wu.ftpd: 1.2.3. or wu.ftpd: .domain If you want to allow everybody to connect its wu.ftpd: ALL Read the man pages to learn more about the syntax of this file: man hosts.allow To your second question: You can list all packages installed on your system with "rpm -qa" HTH, Armin ---------------------------------------------- at the office: Institut für Atmosphärenphysik Schlossstraße 6 D-18225 Kühlungsborn Tel. +49-(0)38293-68-102
On Monday 21 January 2002 20:04, sambit wrote:
Hi, Can any one help me, i am trying to do ftp to my Linux suse 7.2 server and i am always gettig
421 Service not available, remote server has closed connection
i changed the file like
Search for the following entries in /etc/inetd.conf : ftp stream tcp nowait root /usr/sbin/tcpd wu.ftpd -a # ftp stream tcp nowait root /usr/sbin/tcpd in.ftpd
You have to start inetd daemon, if it is started then reload it for changes to take effect. Also make sure that wu-ftpd is installed (in your case), I would recomend ProFTPD instead. /etc/rc.d/inetd reload
but i did not get any luck , is there any command to find /see all packages installed in SUSE-7.2,
rpm -qa | less
or what is the bast way to install or remove package in SUSE, if i am not using rpm -i for install, but is there any option in rpm to display all packages ?
Thanks
Sambit
421 Service not available, remote server has closed connection
i changed the file like
Search for the following entries in /etc/inetd.conf : ftp stream tcp nowait root /usr/sbin/tcpd wu.ftpd -a # ftp stream tcp nowait root /usr/sbin/tcpd in.ftpd
You have to start inetd daemon, if it is started then reload it for changes to take effect. Also make sure that wu-ftpd is installed (in your case), I would recomend ProFTPD instead.
/etc/rc.d/inetd reload
Also wrong. The error message from the client "421 Service not available, remote server has closed connection" indicates that the tcp connection has been established but then closed very soon after. This usually happens if inetd can't run the daemon that it is supposed to start. In our case, inetd runs /usr/sbin/tcpd, the tcp-wrapper, and this one will want to run wu.ftpd. It is highly likely that the wuftpd package isn't installed (See with "rpm -q wuftpd"). Get it from the update directory on ftp.suse.com. It had security weaknesses lately.
but i did not get any luck , is there any command to find /see all packages installed in SUSE-7.2,
rpm -qa | less
or what is the bast way to install or remove package in SUSE, if i am not using rpm -i for install, but is there any option in rpm to display all packages ?
Thanks
Sambit
-- To unsubscribe, e-mail: suse-security-unsubscribe@suse.com For additional commands, e-mail: suse-security-help@suse.com
Thanks,
Roman.
--
- -
| Roman Drahtmüller
On Monday 21 January 2002 07:17 pm, you wrote:
421 Service not available, remote server has closed connection
i changed the file like
Search for the following entries in /etc/inetd.conf : ftp stream tcp nowait root /usr/sbin/tcpd wu.ftpd -a # ftp stream tcp nowait root /usr/sbin/tcpd in.ftpd
You have to start inetd daemon, if it is started then reload it for changes to take effect. Also make sure that wu-ftpd is installed (in your case), I would recomend ProFTPD instead.
/etc/rc.d/inetd reload
Also wrong. The error message from the client
"421 Service not available, remote server has closed connection"
indicates that the tcp connection has been established but then closed very soon after. This usually happens if inetd can't run the daemon that it is supposed to start. In our case, inetd runs /usr/sbin/tcpd, the tcp-wrapper, and this one will want to run wu.ftpd. It is highly likely that the wuftpd package isn't installed (See with "rpm -q wuftpd"). Get it from the update directory on ftp.suse.com. It had security weaknesses lately.
Will also exhibit this result if wuftpd decided to quit due to improper configuration files, or in-ability to bind to port or some such. This will generate messages in /var/log/warn or one of the other logs (I forget just which one, tail them after a connect -failure to see). -- _________________________________ John Andersen / Juneau Alaska
participants (5)
-
Alex Levit
-
Armin Schöch
-
John Andersen
-
Roman Drahtmueller
-
sambit