<div>I tried to install python 2.4 but i faced to a lot of dependencies that i can't résolve. </div><div>I don't have a active suscription on RHN. </div><div>I looked towards many Forum and it recommand me to upgrade my OS to RHEL AS 5 because <span class="Apple-style-span" style="font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; "><i><b>The dependencies can often be re-written for the older OS. But you're seriously imperiling your </b></i><span class="tfTextLink" id="tfTextLink44566040206700563" style="text-decoration: underline; border-bottom-width: 1px; border-bottom-style: solid; display: inline; background-color: transparent; padding-bottom: 1px; cursor: pointer; width: auto; margin-left: 0px; line-height: 1em; color: rgb(0, 51, 102); border-bottom-color: rgb(0, 51, 102); position: relative; "><i><b>operating system</b></i></span><i><b> doinig this, because a *lot* of components like Yum rely on Python.</b></i></span></div>
<div><font class="Apple-style-span" face="Verdana, Geneva, Arial, Helvetica, sans-serif"><b><i>See the below url.</i></b></font></div><div><a href="http://linux.derkeiler.com/Newsgroups/linux.redhat/2008-02/msg00085.html">http://linux.derkeiler.com/Newsgroups/linux.redhat/2008-02/msg00085.html</a></div>
<div><br></div><div><br></div><div><br></div><br><div class="gmail_quote">2009/11/2 ROUAMBA Halidou <span dir="ltr"><<a href="mailto:hrouamba@gmail.com">hrouamba@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>Ok Dejan, i shall try to upgrade my python version to 2.4 and i shall make you know the result</div><div><br></div><div>thanks</div><div><br></div><div>RH</div><div><br></div><br><a href="http://www.brainyquote.com/quotes/authors/p/pablo_picasso.html" target="_blank">Pablo Picasso</a> - "Computers are useless. They can only give you answers."
<br><div><div></div><div class="h5"><br><div class="gmail_quote">2009/11/2 Dejan Muhamedagic <span dir="ltr"><<a href="mailto:dejanmm@fastmail.fm" target="_blank">dejanmm@fastmail.fm</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<div><br>
On Mon, Nov 02, 2009 at 03:32:07PM +0100, ROUAMBA Halidou wrote:<br>
> Thanks for your help, but another error is generated after adding the<br>
> bracket<br>
> see the below output.<br>
> [*root@omconi2 packages]# crm*<br>
> *Traceback (most recent call last):*<br>
> * File "/usr/sbin/crm", line 24, in ?*<br>
> * import subprocess*<br>
</div>> *ImportError: No module named subprocess*<br>
<br>
subprocess is available as of version 2.4. Version 2.3 is really<br>
old. Can you upgrade to something more recent?<br>
<br>
Thanks,<br>
<font color="#888888"><br>
Dejan<br>
</font><div><div></div><div><br>
> i look closely in the crm file but this line exist at the line number 24<br>
> *import subprocess*<br>
> *<br>
> *<br>
> Thanks.<br>
><br>
> 2009/11/2 Dejan Muhamedagic <<a href="mailto:dejanmm@fastmail.fm" target="_blank">dejanmm@fastmail.fm</a>><br>
><br>
> > Hi,<br>
> ><br>
> > On Mon, Nov 02, 2009 at 01:53:13PM +0100, ROUAMBA Halidou wrote:<br>
> > > Marie von Ebner-Eschenbach<<br>
> > <a href="http://www.brainyquote.com/quotes/authors/m/marie_von_ebnereschenbac.html" target="_blank">http://www.brainyquote.com/quotes/authors/m/marie_von_ebnereschenbac.html</a>><br>
> > > - "Even a stopped clock is right twice a day."<br>
> > ><br>
> > > 2009/11/2 Dejan Muhamedagic <<a href="mailto:dejanmm@fastmail.fm" target="_blank">dejanmm@fastmail.fm</a>><br>
> > ><br>
> > > > Hi,<br>
> > > ><br>
> > > > On Sun, Oct 25, 2009 at 01:07:40PM +0100, ROUAMBA Halidou wrote:<br>
> > > > > Hello<br>
> > > > ><br>
> > > > > I just install the last version of pacemaker and i used hearbeat as<br>
> > > > cluster<br>
> > > > > stacks.<br>
> > > > > The installation has been made on RHEL AS4.6.<br>
> > > > > i didn't have any error during the rpm installation.<br>
> > > > > The /etc/ha.d/<a href="http://ha.cf" target="_blank">ha.cf</a> et /etc/ha.d/authkeys have been correctly<br>
> > > > configured.<br>
> > > > > The problem occured when i tried to use crm line command to configure<br>
> > the<br>
> > > > > CIB file for resource management.<br>
> > > > > so this is the outpout of the crm .[<br>
> > > > > *root@omconi2 ~]# crm<br>
> > > > > File "/usr/sbin/crm", line 4576<br>
> > > > > for obj in processing_sort_cli(self.obj_list))<br>
> > > > > ^<br>
> > > > > SyntaxError: invalid syntax*<br>
> > > ><br>
> > > > Can't recall seeing this one.<br>
> > > ><br>
> > > > Which version of pacemaker do you run:<br>
> > > ><br>
> > > > /usr/lib/heartbeat/crmd version<br>
> > > ><br>
> > > [*root@omconi1 packages]# /usr/lib/heartbeat/crmd version*<br>
> > > *CRM Version: 1.0.5 (462f1569a43740667daf7b0f6b521742e9eb8fa7)*<br>
> > ><br>
> > ><br>
> > > > And which version of python?<br>
> > > >><br>
> > > >> *[root@omconi1 packages]# python -V*<br>
> > > ><br>
> > > > *Python 2.3.4*<br>
> ><br>
> > Don't know, perhaps that is too old. Can you try to replace the<br>
> > existing lines:<br>
> ><br>
> > return '\n'.join(obj.repr_cli() \<br>
> > for obj in processing_sort_cli(self.obj_list))<br>
> ><br>
> > with<br>
> ><br>
> > return '\n'.join([obj.repr_cli() \<br>
> > for obj in processing_sort_cli(self.obj_list)])<br>
> ><br>
> > Thanks,<br>
> ><br>
> > Dejan<br>
> ><br>
> > > ><br>
> > > Version of redhat ?<br>
> > ><br>
> > > > *[root@omconi1 packages]# cat /etc/redhat-release*<br>
> > > > *Red Hat Enterprise Linux AS release 4 (Nahant Update 6)*<br>
> > > > *[root@omconi1 packages]# uname -r*<br>
> > > > *2.6.9-67.0.7.ELsmp*<br>
> > > ><br>
> > > ><br>
> > > The rpm have been downloading from this url<br>
> > ><br>
> > <a href="http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/" target="_blank">http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/</a><br>
> > ><br>
> > ><br>
> > > > Thanks,<br>
> > > ><br>
> > > > Dejan<br>
> > > ><br>
> > > > > The same error.occurs on both nodes<br>
> > > > ><br>
> > > > > I see that crm is writed in python language, i'm a newbie in python<br>
> > > > ><br>
> > > > > if any has faced this problem and could help me,<br>
> > > > > I thank him very much.<br>
> > > > ><br>
> > > > > thanks for taking a look at my problem<br>
> > > > ><br>
> > > > > Best regards.<br>
> > > > ><br>
> > > > > Pablo Picasso<<br>
> > > > <a href="http://www.brainyquote.com/quotes/authors/p/pablo_picasso.html" target="_blank">http://www.brainyquote.com/quotes/authors/p/pablo_picasso.html</a>><br>
> > > > > - "Computers are useless. They can only give you answers."<br>
> > > ><br>
> > > > > _______________________________________________<br>
> > > > > Pacemaker mailing list<br>
> > > > > <a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">Pacemaker@oss.clusterlabs.org</a><br>
> > > > > <a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
> > > ><br>
> > > ><br>
> > > > _______________________________________________<br>
> > > > Pacemaker mailing list<br>
> > > > <a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">Pacemaker@oss.clusterlabs.org</a><br>
> > > > <a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
> > > ><br>
> ><br>
> > > _______________________________________________<br>
> > > Pacemaker mailing list<br>
> > > <a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">Pacemaker@oss.clusterlabs.org</a><br>
> > > <a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
> ><br>
> ><br>
> > _______________________________________________<br>
> > Pacemaker mailing list<br>
> > <a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">Pacemaker@oss.clusterlabs.org</a><br>
> > <a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
> ><br>
<br>
> _______________________________________________<br>
> Pacemaker mailing list<br>
> <a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">Pacemaker@oss.clusterlabs.org</a><br>
> <a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
<br>
<br>
_______________________________________________<br>
Pacemaker mailing list<br>
<a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>