- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- cannot ftp login...urgent!!
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2003 12:26 AM
тАО05-06-2003 12:26 AM
I have installed RH 7.1 x86
[root@ectest /root]# netstat -na|grep 21
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN
After installing RH.. and reboot I cannot ftp login
then I execute the command
/etc/rc.d/init.d/xinetd restart
I can ftp login..
I don't understand.
Why rebooting each time
then I cannot ftp login
port 21 is enabled every time.
[root@ectest /root]# cat /etc/xinetd.d/wu-ftpd
# default: on
# description: The wu-ftpd FTP server serves FTP connections. It uses # normal, unencrypted usernames and passwords for authentication.
service ftp
{
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.ftpd
server_args = -l -a
log_on_success += DURATION USERID
log_on_failure += USERID
nice = 10
disable = no
}
No firewalls
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2003 12:34 AM
тАО05-06-2003 12:34 AM
Re: cannot ftp login...urgent!!
Check with this command:
chkconfig --list xinetd
3-4-5 should be set to on
if they're set to off just set them to on.
Tarek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2003 12:40 AM
тАО05-06-2003 12:40 AM
Re: cannot ftp login...urgent!!
xinetd 0:off 1:off 2:off 3:on 4:on 5:on 6:off
[root@ectest /root]# ftp
ftp> o
(to) 0
Connected to 0.
421 Service not available, remote server has closed connection
what is the problem?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2003 01:33 AM
тАО05-06-2003 01:33 AM
Solution2. Install it with "rpm -Uv xinetd-2.3.7-4.7x.i386.rpm".
3. Re-start the machine.
Regards,
Sergejs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2003 05:54 AM
тАО05-06-2003 05:54 AM
Re: cannot ftp login...urgent!!
You don't have to install xinetd. It is ftp telnet problem not xinetd
1. What are the output of /var/log/messages when you try to ftp?
2. what rpm you have
#rpm -qa |grep tel
#rpm -qa |grep ftp
3. #chkconfig --list |grep telnet
4. #chkconfig --list |grep ftp
telnet/ftp are prot 23 and 21.
Thanks
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2003 04:06 PM
тАО05-06-2003 04:06 PM
Re: cannot ftp login...urgent!!
telnet-server-0.17-10
telnet-0.17-10
[root@ectest /root]# rpm -aq|grep ftp
wu-ftpd-2.6.1-16
ftp-0.17-7
tftp-0.17-9
ncftp-3.0.2-2k
gftp-2.0.8-1
ftpcopy-0.3.4-1
tftp-server-0.17-9
anonftp-4.0-4
[root@ectest /root]# chkconfig --list telnet
telnet on
[root@ectest /root]# chkconfig --list ftp
error reading information on service ftp: No such file or directory
[root@ectest /root]# chkconfig --list wu-ftpd
wu-ftpd on
any other tips please...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2003 07:56 PM
тАО05-06-2003 07:56 PM
Re: cannot ftp login...urgent!!
http://www.landfield.com/wu-ftpd/mail-archive/wu-ftpd/1996/Feb/0130.html
google and have a look at the wu-ftpd mailing lists.
btw, we use vsftpd and no issues with it. dont have a box running wu-ftpd around to have a look.
-balaji
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2003 09:21 AM
тАО05-07-2003 09:21 AM
Re: cannot ftp login...urgent!!
service telnet
{
disable = no
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.telnetd
log_on_failure += USERID
}
Your services file should have following lines uncommented
# grep telnet services
telnet 23/tcp
telnet 23/udp
rtelnet 107/tcp # Remote Telnet
rtelnet 107/udp
telnets 992/tcp
telnets 992/udp
Please post message from your /var/adm/messages file when you try to telnet or ftp.
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2003 01:00 PM
тАО05-07-2003 01:00 PM
Re: cannot ftp login...urgent!!
After reinstalling xinetd and restart the services
telnet & ftp are normal ...
Above tips that you give are very helpful
Thanks everybody !! ^^