[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] ftp problem between 2 Raq4s



>> Hi there,
>> I'm hoping that one of you experts can help me.
>> I have two Raq4's next to each other, both are running ipchains with the
>> others IP addresses in "accept" rules and also each has each others
>> address in the hosts.allow file.
>> The problem I have is that one can not see the other to ftp / ping and
>> the second has a strange ftp problem.
>> For example (the ip addresses have been changed to protect the innocent)
>> :-
>> Problem 1
>> Server 1 can not ping server 2 and,
>> [root logs]# ftp 212.67.195.yyy
>> ftp: connect: No route to host
>> ftp>
>> The above seems to hang for about 10 seconds before returning the "no
>> route to host" message
>> Problem 2
>> Server 2 can see server 1 (ping works ok) but
>> [root /etc]# ftp 212.67.195.xxx
>> Connected to 212.67.195.xxx.
>> 220 ProFTPD 1.2.5 Server (ProFTPD) [ns3.server2.co.uk]
>> Name (212.67.195.xxx:admin): admin
>> 331 Password required for admin.
>> Password:
>> Although this connect is supposed to connect to server1 (at the ip
>> address given) it actually connects to server2 - I can prove this as the >> login will only take the password for server2 and when connected I can
>> CD to /home/sites and I see the sites on server 2 not server 1
>> These two servers are both patched up to the last but 1 patch - they
>> don't have the PHP patch but I don't think that this is the problem as I
>> have been having the problem for some time now.
>> All I want to do is us raqbackup to copy a backup of server 1 to server
>> 2 and a backup of server 2 to server 1 - I do not need to import the
>> files, just store them safely on the other machine.  Once I have the
>> problem sorted I intend to create two new users (one on each machine) so >> that I'm not using "admin" but until I can get the two systems talking
>> to each other I'm not bothering to set the users up ;-)
>> Anyone any ideas?
>
>I would guess that the two boxes are sharing the same IP address on some
>virtual site.  This would explain some of the behavior you see here.
>I would run the follow command on both boxes to make sure that this isn't the
>problem:
>$ ifconfig | grep "inet addr" | cut -f 2 -d":" | cut -f 1 -d" "
>
>(You will see 127.0.0.1 on both boxes, that is normal)
>
>Jeff-

Thanks for the hint Jeff, although the gui only shows the two sites on this raq (it's a new one waiting for some additional sites) it shows the ip address of the other server in the results of the ifconfig.

Now then, all I have to do is work out how to remove it.....

Sorted - It's amazing what man ifconfig tells you....

Once again, thanks Jeff.

Cheers

John

--
John K Mitchell

Forest Software Ltd
Web sites for the smaller business and charity.

Tel : 0870 747 4943
Fax : 0870 747 4942