On 08/06/11 20:29, Michael Pelletier wrote:
> Hello,
> 
> I have compiled everything from scatch and have one error.
> 
> When I run, crm I get:
> abort: couldn't find crm libraries
> 
> When I do a strace I see:
> open("/usr/lib64/python2.6/lib-dynload/modules.so", O_RDONLY) = -1 ENOENT (No 
> such file or directory)
> open("/usr/lib64/python2.6/lib-dynload/modulesmodule.so", O_RDONLY) = -1 
> ENOENT (No such file or directory)
> open("/usr/lib64/python2.6/lib-dynload/modules.py", O_RDONLY) = -1 ENOENT (No 
> such file or directory)
> open("/usr/lib64/python2.6/lib-dynload/modules.pyc", O_RDONLY) = -1 ENOENT 
> (No such file or directory)
> stat("/usr/lib64/python2.6/site-packages/modules", 0x7fff12194e20) = -1 
> ENOENT (No such file or directory)
> open("/usr/lib64/python2.6/site-packages/modules.so", O_RDONLY) = -1 ENOENT 
> (No such file or directory)
> open("/usr/lib64/python2.6/site-packages/modulesmodule.so", O_RDONLY) = -1 
> ENOENT (No such file or directory)
> open("/usr/lib64/python2.6/site-packages/modules.py", O_RDONLY) = -1 ENOENT 
> (No such file or directory)
> open("/usr/lib64/python2.6/site-packages/modules.pyc", O_RDONLY) = -1 ENOENT 
> (No such file or directory)
> stat("/usr/lib64/python2.6/site-packages/gtk-2.0/modules", 0x7fff12194e20) = 
> -1 ENOENT (No such file or directory)
> open("/usr/lib64/python2.6/site-packages/gtk-2.0/modules.so", O_RDONLY) = -1 
> ENOENT (No such file or directory)
> open("/usr/lib64/python2.6/site-packages/gtk-2.0/modulesmodule.so", O_RDONLY) 
> = -1 ENOENT (No such file or directory)
> open("/usr/lib64/python2.6/site-packages/gtk-2.0/modules.py", O_RDONLY) = -1 
> ENOENT (No such file or directory)
> open("/usr/lib64/python2.6/site-packages/gtk-2.0/modules.pyc", O_RDONLY) = -1 
> ENOENT (No such file or directory)
> stat("/usr/lib/python2.6/site-packages/modules", 0x7fff12194e20) = -1 ENOENT 
> (No such file or directory)
> open("/usr/lib/python2.6/site-packages/modules.so", O_RDONLY) = -1 ENOENT (No 
> such file or directory)
> open("/usr/lib/python2.6/site-packages/modulesmodule.so", O_RDONLY) = -1 
> ENOENT (No such file or directory)
> open("/usr/lib/python2.6/site-packages/modules.py", O_RDONLY) = -1 ENOENT (No 
> such file or directory)
> open("/usr/lib/python2.6/site-packages/modules.pyc", O_RDONLY) = -1 ENOENT 
> (No such file or directory)
> write(2, "abort: couldn't find crm librari"..., 440abort: couldn't find crm 
> libraries in [/opt/HA/sbin /opt/HA/lib64/python2.6/site-packages/crm 
> /usr/lib64/python26.zip /usr/lib64/python2.6 /usr/lib64/python2.6/plat-linux2 
> /usr/lib64/python26/lib-tk /usr/lib64/python2.6/lib-old 
> /usr/lib64/python2.6/lib-dynload /usr/lib64/python2.6/site-packages 
> /usr/lib64/python2.6/site-packages/gtk-2.0 /usr/lib/python2.6/site-packages 
> /usr/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg-info]
> ) = 440
> write(2, "(check your install and PYTHONPA"..., 36(check your install and 
> PYTHONPATH)
> 
> It seems that crm can find modules.py. Sure enough I do not have it installed 
> on my system. I am assuming that this get installed from Pacemaker. Correct?
> 
> Michael
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
You can do yum provides /usr/lib64/python2.6/lib-dynload/modules.py on
redhat, fedora etc..
Or, I believe apt-file search
/usr/lib64/python2.6/lib-dynload/modules.py for Ubuntu and co.

Should tell you then what is what.

Regards,

Tristan
-- 
Tristan Santore BSc MBCS
TS4523-RIPE
Network and Infrastructure Operations
InterNexusConnect
Mobile +44-78-55069812
[email protected]

Former Thawte Notary
(Please note: Thawte has closed its WoT programme down,
and I am therefore no longer able to accredit trust)

For Fedora related issues, please email me at:
[email protected]
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to