Jason Becker
2007-Nov-21 11:27 UTC
[Ocfs2-users] wrong ELF class: ELFCLASS32 trying to run ocfs2console
Hi All, I'm following the Oracle Cluster File System (OCFS2) User's Guide. When I try to launch the console I get: -begin- [root@staging ~]# /usr/sbin/ocfs2console Traceback (most recent call last): File "/usr/sbin/ocfs2console", line 18, in ? from ocfs2interface.console import main File "/usr/lib/python2.4/site-packages/ocfs2interface/console.py", line 22, in ? from partitionview import PartitionView File "/usr/lib/python2.4/site-packages/ocfs2interface/partitionview.py", line 20, in ? from plist import partition_list ImportError: /usr/lib/python2.4/site-packages/ocfs2interface/plistmodule.so: wrong ELF class: ELFCLASS32 -end- This is on CentOS 5 x86_64: [root@staging ~]# cat /etc/redhat-release CentOS release 5 (Final) [root@staging ~]# uname -a Linux staging 2.6.18-8.1.8.el5 #1 SMP Tue Jul 10 06:39:17 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux I installed the latest RPMs from the OCFS2 site: [root@staging ~]# rpm -qa | grep ocfs ocfs2console-1.2.7-1.el5 ocfs2-tools-1.2.7-1.el5 What other information can I provide to troubleshoot the issue? Please advise. Thanks! Cheers Jason
Jason Becker
2007-Nov-21 12:12 UTC
[Ocfs2-users] Re: wrong ELF class: ELFCLASS32 trying to run ocfs2console
Helps if you install the x86_64 RPM if you're on x86_64... D'oh! Cheers Jason On Nov 21, 2007 12:26 PM, Jason Becker <jasondbecker@gmail.com> wrote:> Hi All, > > I'm following the Oracle Cluster File System (OCFS2) User's Guide. > When I try to launch the console I get: > > -begin- > > [root@staging ~]# /usr/sbin/ocfs2console > Traceback (most recent call last): > File "/usr/sbin/ocfs2console", line 18, in ? > from ocfs2interface.console import main > File "/usr/lib/python2.4/site-packages/ocfs2interface/console.py", > line 22, in ? > from partitionview import PartitionView > File "/usr/lib/python2.4/site-packages/ocfs2interface/partitionview.py", > line 20, in ? > from plist import partition_list > ImportError: /usr/lib/python2.4/site-packages/ocfs2interface/plistmodule.so: > wrong ELF class: ELFCLASS32 > > -end- > > This is on CentOS 5 x86_64: > > [root@staging ~]# cat /etc/redhat-release > CentOS release 5 (Final) > [root@staging ~]# uname -a > Linux staging 2.6.18-8.1.8.el5 #1 SMP Tue Jul 10 06:39:17 EDT 2007 > x86_64 x86_64 x86_64 GNU/Linux > > I installed the latest RPMs from the OCFS2 site: > > [root@staging ~]# rpm -qa | grep ocfs > ocfs2console-1.2.7-1.el5 > ocfs2-tools-1.2.7-1.el5 > > What other information can I provide to troubleshoot the issue? > > Please advise. > > Thanks! > > Cheers > > Jason >-- Jason Becker ThruYou Social Commerce, Inc. P: 403.237.7875 x207 | F: 403.237.7975 www.thruyou.com | jason@thruyou.com Calgary | Toronto | Vancouver