Giter Site home page Giter Site logo

Comments (7)

toniblyx avatar toniblyx commented on June 14, 2024

I think it is clear in the INSTALL file (section INSTALL p5). But you are right, I should make it easier.

from alfresco-backup-and-recovery-tool.

harshit192 avatar harshit192 commented on June 14, 2024

I am getting this error by running the script ./alfresco-bart.sh backup. Please help me.

[root@alfresco scripts]# ./alfresco-bart.sh backup allTraceback (most recent call last):
File "/usr/bin/duplicity", line 41, in ?
from duplicity import collections
File "/usr/lib/python2.4/site-packages/duplicity/collections.py", line 30, in ?
from duplicity import path
File "/usr/lib/python2.4/site-packages/duplicity/path.py", line 36, in ?
from duplicity import librsync
File "/usr/lib/python2.4/site-packages/duplicity/librsync.py", line 29, in ?
import _librsync
ImportError: /usr/lib/python2.4/site-packages/duplicity/_librsync.so: wrong ELF class: ELFCLASS32
Traceback (most recent call last):
File "/usr/bin/duplicity", line 41, in ?
from duplicity import collections
File "/usr/lib/python2.4/site-packages/duplicity/collections.py", line 30, in ?
from duplicity import path
File "/usr/lib/python2.4/site-packages/duplicity/path.py", line 36, in ?
from duplicity import librsync
File "/usr/lib/python2.4/site-packages/duplicity/librsync.py", line 29, in ?
import _librsync
ImportError: /usr/lib/python2.4/site-packages/duplicity/_librsync.so: wrong ELF class: ELFCLASS32
./alfresco-bart.sh: line 157: /usr/bin/pg_dump: No such file or directory
Traceback (most recent call last):
File "/usr/bin/duplicity", line 41, in ?
from duplicity import collections
File "/usr/lib/python2.4/site-packages/duplicity/collections.py", line 30, in ?
from duplicity import path
File "/usr/lib/python2.4/site-packages/duplicity/path.py", line 36, in ?
from duplicity import librsync
File "/usr/lib/python2.4/site-packages/duplicity/librsync.py", line 29, in ?
import _librsync
ImportError: /usr/lib/python2.4/site-packages/duplicity/_librsync.so: wrong ELF class: ELFCLASS32
Traceback (most recent call last):
File "/usr/bin/duplicity", line 41, in ?
from duplicity import collections
File "/usr/lib/python2.4/site-packages/duplicity/collections.py", line 30, in ?
from duplicity import path
File "/usr/lib/python2.4/site-packages/duplicity/path.py", line 36, in ?
from duplicity import librsync
File "/usr/lib/python2.4/site-packages/duplicity/librsync.py", line 29, in ?
import _librsync
ImportError: /usr/lib/python2.4/site-packages/duplicity/_librsync.so: wrong ELF class: ELFCLASS32
Traceback (most recent call last):
File "/usr/bin/duplicity", line 41, in ?
from duplicity import collections
File "/usr/lib/python2.4/site-packages/duplicity/collections.py", line 30, in ?
from duplicity import path
File "/usr/lib/python2.4/site-packages/duplicity/path.py", line 36, in ?
from duplicity import librsync
File "/usr/lib/python2.4/site-packages/duplicity/librsync.py", line 29, in ?
import _librsync
ImportError: /usr/lib/python2.4/site-packages/duplicity/_librsync.so: wrong ELF class: ELFCLASS32
Traceback (most recent call last):
File "/usr/bin/duplicity", line 41, in ?
from duplicity import collections
File "/usr/lib/python2.4/site-packages/duplicity/collections.py", line 30, in ?
from duplicity import path
File "/usr/lib/python2.4/site-packages/duplicity/path.py", line 36, in ?
from duplicity import librsync
File "/usr/lib/python2.4/site-packages/duplicity/librsync.py", line 29, in ?
import _librsync
ImportError: /usr/lib/python2.4/site-packages/duplicity/_librsync.so: wrong ELF class: ELFCLASS32
Traceback (most recent call last):
File "/usr/bin/duplicity", line 41, in ?
from duplicity import collections
File "/usr/lib/python2.4/site-packages/duplicity/collections.py", line 30, in ?
from duplicity import path
File "/usr/lib/python2.4/site-packages/duplicity/path.py", line 36, in ?
from duplicity import librsync
File "/usr/lib/python2.4/site-packages/duplicity/librsync.py", line 29, in ?
import _librsync
ImportError: /usr/lib/python2.4/site-packages/duplicity/_librsync.so: wrong ELF class: ELFCLASS32
Traceback (most recent call last):
File "/usr/bin/duplicity", line 41, in ?
from duplicity import collections
File "/usr/lib/python2.4/site-packages/duplicity/collections.py", line 30, in ?
from duplicity import path
File "/usr/lib/python2.4/site-packages/duplicity/path.py", line 36, in ?
from duplicity import librsync
File "/usr/lib/python2.4/site-packages/duplicity/librsync.py", line 29, in ?
import _librsync
ImportError: /usr/lib/python2.4/site-packages/duplicity/_librsync.so: wrong ELF class: ELFCLASS32
Traceback (most recent call last):
File "/usr/bin/duplicity", line 41, in ?
from duplicity import collections
File "/usr/lib/python2.4/site-packages/duplicity/collections.py", line 30, in ?
from duplicity import path
File "/usr/lib/python2.4/site-packages/duplicity/path.py", line 36, in ?
from duplicity import librsync
File "/usr/lib/python2.4/site-packages/duplicity/librsync.py", line 29, in ?
import _librsync
ImportError: /usr/lib/python2.4/site-packages/duplicity/_librsync.so: wrong ELF class: ELFCLASS32
Traceback (most recent call last):
File "/usr/bin/duplicity", line 41, in ?
from duplicity import collections
File "/usr/lib/python2.4/site-packages/duplicity/collections.py", line 30, in ?
from duplicity import path
File "/usr/lib/python2.4/site-packages/duplicity/path.py", line 36, in ?
from duplicity import librsync
File "/usr/lib/python2.4/site-packages/duplicity/librsync.py", line 29, in ?
import _librsync
ImportError: /usr/lib/python2.4/site-packages/duplicity/_librsync.so: wrong ELF class: ELFCLASS32
Traceback (most recent call last):
File "/usr/bin/duplicity", line 41, in ?
from duplicity import collections
File "/usr/lib/python2.4/site-packages/duplicity/collections.py", line 30, in ?
from duplicity import path
File "/usr/lib/python2.4/site-packages/duplicity/path.py", line 36, in ?
from duplicity import librsync
File "/usr/lib/python2.4/site-packages/duplicity/librsync.py", line 29, in ?
import _librsync
ImportError: /usr/lib/python2.4/site-packages/duplicity/_librsync.so: wrong ELF class: ELFCLASS32

from alfresco-backup-and-recovery-tool.

toniblyx avatar toniblyx commented on June 14, 2024

Hi harshit192, are you sure you have all dependences installed? Review the INSTALL file to make sure you did all needed steps.

from alfresco-backup-and-recovery-tool.

harshit192 avatar harshit192 commented on June 14, 2024

Hey toniblyx, all the dependencies installed i had review the INSTALL file and did it again but getting same error again. Please find below the info for packages below.

[root@alfresco ~]# rpmquery python
python-2.4.3-56.el5
[root@alfresco ~]#
[root@alfresco ~]# rpmquery librsync
librsync-0.9.7-13.el5
[root@alfresco ~]#
[root@alfresco ~]# rpmquery gnupg
gnupg-1.4.5-18.el5_10.1
[root@alfresco ~]# rpmquery duplicity
duplicity-0.6.25-0.fdr.6

Please help me !!! ITS URGENT !!!

from alfresco-backup-and-recovery-tool.

toniblyx avatar toniblyx commented on June 14, 2024

Hi,

What I have seen so far this is a duplicity related error because a lack of a library or wrong architecture on the existing .so library, look at this here:
ImportError: /usr/lib/python2.4/site-packages/duplicity/_librsync.so: wrong ELF class: ELFCLASS32

It seems you have a 32bit library installed instead of 64bit. Is that right?

Alfresco BART is also looking for this command and you don't have it installed in that place:
./alfresco-bart.sh: line 157: /usr/bin/pg_dump: No such file or directory

from alfresco-backup-and-recovery-tool.

harshit192 avatar harshit192 commented on June 14, 2024

Hey thanx a lot for helping me. Now my backupscript is working.

But again i have 1 problem. I took the backup and add space after backup
name test and then stop the services and resotre the full backup. Now after
restoring i am able to see the space named test. y is it so? after
restoring backup the test space should not be shown.

On 18 March 2015 at 19:11, Toni de la Fuente [email protected]
wrote:

Hi,

What I have seen so far this is a duplicity related error because a lack
of a library or wrong architecture on the existing .so library, look at
this here:
ImportError: /usr/lib/python2.4/site-packages/duplicity/_librsync.so:
wrong ELF class: ELFCLASS32

It seems you have a 32bit library installed instead of 64bit. Is that
right?

Alfresco BART is also looking for this command and you don't have it
installed in that place:
./alfresco-bart.sh: line 157: /usr/bin/pg_dump: No such file or directory


Reply to this email directly or view it on GitHub
#8 (comment)
.

Thanks & Regards-

Harshit Shrivastava
RedHat Certified Engineer
+91-9893501019

from alfresco-backup-and-recovery-tool.

toniblyx avatar toniblyx commented on June 14, 2024

It seems you haven't restored the backup correctly. Remember to have Alfresco stopped (as you did) then restore DB (you have to drop existing db and add the new one), replace contentstore and replace you indexes backup. I think you didn't restore the DB backup properly.

from alfresco-backup-and-recovery-tool.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.