There is a box that's been running 4-stable for a long time. A few days ago, I changed the IP address of the box to a different address on the same subnet, and also cvsup'ed -stable and rebuilt world and the kernel. Recently, I also added the options IPSEC and IPSEC_ESP Now for the past few days, in the evening this box stops responding to imap, http, and other ports. Weirdly, it is still responding to ssh, but gives the wrong host key and/or doesn't accept my password. When I go into work in the morning, I can log in fine on the console, and things appear to still be running.. a reboot brings everything back fine. Any idea what this could be? Thanks... TJ
Really sounds like there is another machine on the same subnet with the same (new) IP address, and they are having ARP duels. Sometimes you get machine A, sometimes machine B. When you get A, it works, when you get B, there is no HTTP/IMAP/ etc daemons listening and the host key is wrong. Check the output of "arp -a" on another host and compare that to the Ethernet address of the problem box....
On Mar 23, 2004, at 1:29 AM, kniveton wrote:> Now for the past few days, in the evening this box stops responding to > imap, http, and > other ports. Weirdly, it is still responding to ssh, but gives the > wrong host key and/or > doesn't accept my password. >check the system logs to see if it is complaining about someone else using its IP address. it sounds suspiciously like that to me. also, check what MAC address is responding to you (ie, on the client box, run "arp -a" and find the MAC address associated with the IP you expect). Compare it at different times.