[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[rdiff-backup-users] ImportError issue with rdiff-backup on Core 5
From: |
Chun Ly |
Subject: |
[rdiff-backup-users] ImportError issue with rdiff-backup on Core 5 |
Date: |
Tue, 10 Oct 2006 14:16:50 -0700 (PDT) |
Hello,
I have installed rdiff-backup on a RH 9 (rather recently) and had it
working without any problems. However, I had to wipe my computer due to
security issues with someone hacking into my system, and I have the OS
upgraded to Fedora Core 5.
I was able to install librsync by unpacking the tar file and following
the instructions. The installation of rdiff-backup worked fine as well
where I downloaded the tarball files and installed it with Python.
However, when I tried implementing any command with rdiff-backup, I get
the following message:
address@hidden rdiff-backup-1.0.4]# rdiff-backup /root/install.log /chun
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 20, in ?
import rdiff_backup.Main
File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line 25, in ?
import Globals, Time, SetConnections, selection, robust, rpath, \
File "/usr/lib/python2.4/site-packages/rdiff_backup/SetConnections.py", line
30, in ?
import Globals, connection, rpath
File "/usr/lib/python2.4/site-packages/rdiff_backup/connection.py", line 537,
in ?
import Globals, Time, Rdiff, Hardlink, FilenameMapping, C, Security, \
File "/usr/lib/python2.4/site-packages/rdiff_backup/Rdiff.py", line 22, in ?
import os, librsync
File "/usr/lib/python2.4/site-packages/rdiff_backup/librsync.py", line 28, in
?
import _librsync
ImportError: /usr/lib/python2.4/site-packages/rdiff_backup/_librsync.so:
cannot restore segment prot after reloc: Permission denied
At first I thought it was the installation, and so I also installed
rdiff-backup with yum. I didn't know that rdiff-backup could be
installed with yum initially. Anyway, I still got the same error.
I'm not that IT savvy, but I can manage. Our office has one over-worked
person for IT, and so he will help, but I think I will be fixing the
problem in the end.
Oh, one thing that I had to do to get rdiff-backup to this state was to
put a symbolic link in /usr/lib/python2.4/site-packages/ as for whatever
reason, the rdiff-backup python scripts were installed under python2.3.
I'm running Python 2.4.2. This resolved issues that called for Main.py,
etc.
If anybody knows how to fix this problem, that would be great.
Thanks,
- Chun Ly
-------------------------------------
Chun Ly
UCLA, Graduate Student Researcher
email: address@hidden
-------------------------------------
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [rdiff-backup-users] ImportError issue with rdiff-backup on Core 5,
Chun Ly <=