FTP/TELNET on linux, not working


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers FTP/TELNET on linux, not working
# 29  
Old 06-03-2003
neo, also, a couple months ago the lan guy changed some settings, I had to go in and put in the ip of the machine he's using as a DNS server before the linux boxes would show up on our network, I used linuxconf, should I check somewhere else for DNS info? Which log files are you talking about? I looked in /var/logs

in boot.log everything, inet, succeeds starting up.

in maillog i see "My unqualified hostname (mickey) unknown, sleeping for retry. Unable to qualify my own domain name"

in messages I see "ftpusers file is either world writeable or not a normal file" and also "linuxconf-setup setting firewalling" but i specifically turned off the firewall and it shows as turned off in in linuxconf and:
un 3 08:09:37 mickey inetd[2975]: dtalk/tcp: unknown service
Jun 3 08:09:41 mickey inetd[2975]: /usr/sbin/nmbd: exit status 0x1
Jun 3 08:10:12 mickey last message repeated 31 times
Jun 3 08:10:19 mickey last message repeated 7 times
Jun 3 08:10:20 mickey inetd[2975]: netbios-ns/udp server failing (looping), service terminated
Jun 3 08:20:48 mickey inetd[2975]: /usr/sbin/nmbd: exit status 0x1
Jun 3 08:21:19 mickey last message repeated 30 times
Jun 3 08:21:27 mickey last message repeated 8 times
Jun 3 08:21:28 mickey inetd[2975]: netbios-ns/udp server failing (looping), service terminated
Jun 3 08:31:44 mickey inetd[2975]: /usr/sbin/nmbd: exit status 0x1
Jun 3 08:32:15 mickey last message repeated 31 times
Jun 3 08:32:22 mickey last message repeated 7 times
Jun 3 08:32:23 mickey inetd[2975]: netbios-ns/udp server failing (looping), service terminated

and in the secure log:

Jun 2 15:09:33 mickey in.comsat[3029]: connect from 127.0.0.1
Jun 2 15:15:07 mickey in.comsat[3526]: warning: /etc/hosts.allow, line 6: can't verify hostname: gethostbyname(localhost.localdomain) failed
Jun 2 15:15:07 mickey in.comsat[3526]: connect from 127.0.0.1
Jun 2 15:30:10 mickey in.comsat[3902]: warning: /etc/hosts.allow, line 6: can't verify hostname: gethostbyname(localhost.localdomain) failed
Jun 2 15:30:10 mickey in.comsat[3902]: connect from 127.0.0.1
Jun 3 07:01:01 mickey in.comsat[1460]: warning: /etc/hosts.allow, line 6: can't verify hostname: gethostbyname(localhost.localdomain) failed
Jun 3 07:01:01 mickey in.comsat[1460]: connect from 127.0.0.1
# 30  
Old 06-03-2003
Yes, your problem corresponds to:

Quote:
Originally posted by Neo
(2) Your ftp process is wrapped with a process, (like identd), that is checking DNS (or similar) to authenticate the network connection.
...as the logfile indicates.

You have two options:

(1) Fix these IP/DNS problems (best idea):

(2) Turn off the -a flag for ftp in inetd.conf.

(I suggest the first one...)

Leave your logfiles on, they seem to be working fine. Neo
# 31  
Old 06-03-2003
DNS and IP routing issues.

Yes, after looking at your error messages, you need to concentrate on fixing your IP configuration.

I think you should insure that your forward and reverse DNS entries are correct, your domain and host is set up correctly, etc.

Your ftp process seems to be using the -a flag to authenticate the connection, but your IP configuration is broken, so many errors are being generated (most related to your IP problem).
# 32  
Old 06-03-2003
Also, you have a routing loop....

I did a traceroute to your IP address. You have a routing loop:

Quote:
traceroute to 206.142.144.142 (206.142.144.142), 30 hops max, 40 byte packets


14 206.142.139.1 (206.142.139.1) 48.709 ms 51.113 ms 58.494 ms
15 abi-max-1.bitstreet.net (206.142.129.61) 47.169 ms 46.104 ms 46.269 ms
16 206.142.129.62 (206.142.129.62) 62.034 ms 65.633 ms 77.74 ms
17 abi-max-1.bitstreet.net (206.142.129.61) 85.494 ms 84.798 ms 53.505 ms
18 * 206.142.129.62 (206.142.129.62) 89.149 ms 49.722 ms
19 abi-max-1.bitstreet.net (206.142.129.61) 49.468 ms 52.861 ms 49.876 ms
20 206.142.129.62 (206.142.129.62) 55.652 ms 48.533 ms 57.204 ms
21 abi-max-1.bitstreet.net (206.142.129.61) 74.88 ms 52.492 ms 51.563 ms
22 206.142.129.62 (206.142.129.62) 48.194 ms 49.587 ms 59.261 ms
23 abi-max-1.bitstreet.net (206.142.129.61) 54.28 ms 59.521 ms 49.027 ms
24 * 206.142.129.62 (206.142.129.62) 60.668 ms 60.771 ms
25 abi-max-1.bitstreet.net (206.142.129.61) 75.249 ms 72.326 ms 57.985 ms
26 206.142.129.62 (206.142.129.62) 55.931 ms 54.186 ms 62.045 ms
# 33  
Old 06-03-2003
Ok, this doesn't surprise me, but i'm not sure I can fix it. We used to be with one ISP (bitstreet) and were given a block of addresses for our servers which we programmed in and use to this day, even tho a year ago we switched providers and got a cisco router/firewall. The lan guy wants to switch ip's to a a 10.100.100.X scheme BUT we are waiting on some new equipment and didn't want to change one, cuz it's a very old fortran machine, but I can easily change the ips on my linux and unix and windows servers, however, the lan guy says he can't run the 206. (current servers AND all the workstations-which use DHCP) AND a 10. network together. I need a good book on networking, creation and admin from top down. So all these 206 addresses are really not ours, we are just running them internally, they actually belong to bitstreet and are really not what we are using, so that's a conflict. So my guess is that when I tell my ftp client to ftp to 206.144.142.247, it goes out externally to the net and tries that, not my internal network, hence the lockout.
# 34  
Old 06-03-2003
Not sure if the routing problem is the core problem, but you have a lot of IP configuration problems that need to be solved. You might try turning off the -a option for ftpd in inetd.conf and see if that provides some temporarily relief until all your IP issues are fixed.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

telnet and ssh not working .... but it pinging in Solaris 8

hi Everyone telnet and ssh not working in Solaris 8 .... but it pinging.... i also checked /etc/services /etc/inet/inetd.conf ps -ef | grep telnet ans default router ... everythinking is ok .... when i connect telnet then suddently closed ... and ssh is connection refused ... help... (1 Reply)
Discussion started by: coolboys
1 Replies

2. Windows & DOS: Issues & Discussions

ANT: Telnet is not working

I am trying the below ANT telnet task: <telnet userid="appldev" password="techm123" server="${BT_Server}"> <read>/u01/appldev/devappl/po/11.5.0/reports</read> <!--write>cd /u01/appldev/devappl/po/11.5.0/reports/</write--> <write>ls</write> <read... (0 Replies)
Discussion started by: Dip
0 Replies

3. Linux

FTP not working under Linux but working under any other OS ??? Very strange

Dear all, I am totally despaired and puzzled. Using Filezilla under Windows under the same network as our Linux servers is working. Using FTP command-line client under any of our Linux debian servers is not working ! I tried with different FTP servers -> same problem ! All commands are... (12 Replies)
Discussion started by: magix_ch
12 Replies

4. Red Hat

FTP on Linux is not working as expected

Hi, I need to write a Linux shell script which will perform an FTP operation to another server. main.sh will contain - ftp -nd Dest.IP.address < ftpScript.sh Contents of ftpScript.sh is given below - user userid passwd prompt lcd /vidya/Input cd vidya/Output mput *.* close ... (1 Reply)
Discussion started by: vidyak
1 Replies

5. UNIX for Dummies Questions & Answers

Telnet is not working properly

telnet at my system is behaving stange. Some times I am able to telnet to other machines but sometimes it stop doing that. Then i have to reboot the machine and most of the time (not 100%) it works. SImilar is the case with SSH. Sometime it works , some time it don't. i am new to Unix and I do not... (1 Reply)
Discussion started by: deepak_pathania
1 Replies

6. Red Hat

telnet & ftp in linux AS4 with root account

hi, i installed linux as4, i need telnet and ftp with root account. anybody show me how to configure. TIA, Bong (3 Replies)
Discussion started by: bong02
3 Replies

7. Solaris

after patch, telnet not working

The problem: I installed the Solaris 8 recommended patch cluster 117350-11 over 108528-15 before the Christmas break. The server is a SunFire V100. Here is the situation: Before the patch install, there was a working cron job that did daily, weekly, and monthly backups of the V100 filesystems... (3 Replies)
Discussion started by: antalexi
3 Replies

8. Cybersecurity

One accout for FTP other to TELNET

Hi All, If I want to have two user accounts from the same grop in UNIX Solaries. However, I want one of them to be used only for FTP while the other for TELNET. Can anybody tell me how to do that? Best Regards (13 Replies)
Discussion started by: omran
13 Replies

9. UNIX for Dummies Questions & Answers

FTP is not working after installing Linux 7.3

hi all, After installing Linux 7.3, when I wasn't be able to FTP to this machine from another machine; however, I do get the reply back when I ping this machine. All I want is able to transfer file on my local machine to this server using FTP comand and it's not working. Could someone please... (1 Reply)
Discussion started by: lapnguyen
1 Replies

10. IP Networking

FTP or Telnet

Dumb question I'm sure but how on earth do I transfer files from a sco unix machine to my windows 2000 machine. I'm typing commands on my Win2000 machine. All I can seem to do is move files around on the unix system? (8 Replies)
Discussion started by: Timbash
8 Replies
Login or Register to Ask a Question