[Linuxha-users] Update Problems encountered during the linuxha.net installation on Centos

Simon Edwards simon.edwards at linuxha.net
Sat Sep 17 00:49:41 BST 2005


Hi,
	Found an issue that affected FC4 - and there is a good chance other
distribs might be affected (at least intermittently). Might be worth
implementing the below fix until 1.0.1 is released.

Edit the file:

/usr/src/cluster/miitoollib/mii/mii.c

On line 470 change:

memcpy(buf, ifr.ifr_hwaddr.sa_data, 8);

to:

memcpy(buf, ifr.ifr_hwaddr.sa_data, IFHWADDRLEN);

Now use the following to recompile the module:

cd /usr/src/cluster/miitoollib/mii
perl Makefile.PL
make && make install

Perform these steps on both nodes and attempt the test again.

Regards,
Simon.

PS. I didn't write the original 'C' code hence it took a little while to
spot this one!


> 
> This the log in the second  server
> 
> WARN  16/09/2005 14:27:51 Unable to contact server1.linuxha.net for 8
> seconds
> WARN  16/09/2005 14:27:58 choose_interface: Ping of 10.1.1.1(icmp)
> failed!
> WARN  16/09/2005 14:28:00 choose_interface: Ping of 192.168.0.47(icmp)
> failed!
> INFO  16/09/2005 14:28:02 Checking network partioning using
> application apache
> INFO  16/09/2005 14:28:02 Partitioning Results: valid=1,percent=100
> INFO  16/09/2005 14:28:02 last_ping=1126861063
> INFO  16/09/2005 14:28:02 time_dead=12
> INFO  16/09/2005 14:28:02 ctime=1126861082
> WARN  16/09/2005 14:28:02 Time elapsed for checking - application
> swapping will commence!
> WARN  16/09/2005 14:28:02 Server server1.linuxha.net is down -
> swapping applicable applications!
> INFO  16/09/2005 14:28:02 Entered swap_applications
> INFO  16/09/2005 14:28:02 Forked child 4061 to handle application
> startup!
> INFO  16/09/2005 14:28:02 Changing apache state to "DOWN".
> INFO  16/09/2005 14:28:04 Entered handle_nonet!
> WARN  16/09/2005 14:28:08 No actions taken - unable to contact remote
> network daemon!
> INFO  16/09/2005 14:28:10 Reaped process 4068.
> INFO  16/09/2005 14:28:45 QUEUED: APP_UPDATE app=apache state=STARTING
> node=server2.linuxha.net starttime=1126861125
> INFO  16/09/2005 14:28:45 Reaped process 4061.
> INFO  16/09/2005 14:28:51 Reaped process 4066.
> -----------------------------------
> 
> 
> Thanks for your prompt reply. 
> 
> Regards
> Manoj Mathew
> 
> 
> #-------------------------Vigorsoft
> Disclaimer-------------------------#
> Privileged / confidential information may be contained in this
> message. If you are not the addressee indicated in this message or you
> are not associated with this subject, you may not copy or send this
> message to anyone. In such case you should destroy this message and
> kindly notify the sender in reply e-mailAlthough this mail has been
> scanned for the presence of possible computer viruses prior to
> dispatch, we cannot be held responsible for any viruses or other
> material transmitted as a part of this email without our knowledge. 
> #---------------------------------------------------------------------------#
> 




More information about the Linuxha-users mailing list