Disable Prelinking Ubuntu10

 
Thread Tools Search this Thread
Operating Systems Linux Fedora Disable Prelinking Ubuntu10
# 1  
Old 07-23-2012
Disable Prelinking Ubuntu10

Hello,


I have done the checkpoint (with BLCR library) of my program like that in a machine /home/researcher
~/blcr-build/bin/cr_run find /
ps aux | grep find
~/blcr-build/bin/cr_checkpoint -f /tmp/find.blcr 15135

i have migrate the file find.blcr in another machine /home/researcher1
i'd like to do the restart ~/blcr-build/bin/cr_restart /home/researcher1/find.blcr but i have this problem on /home/researcher1/ :
- open('/home/researcher/blcr-build/libcr/.libs/libcr_run.so.0.5.2', 0x0) failed: -2
- mmap failed: /home/researcher/blcr-build/libcr/.libs/libcr_run.so.0.5.2
- thaw_threads returned error, aborting. -2
Restart failed: No such file or directory

perhaps for this reason :
Quote:
Note that libraries must be exactly the same for a restart to work; if they are not the same size, for instance, restart will not work. If you've installed the same version of the operating system to all of your nodes (and you've updated them all the same way), you would think things would be fine. However, some Linux distributions are using "prelinking", which is a method for assigning fixed addresses for shared libraries to load into executables. Prelinking is a feature which enables applications that use many shared libraries to load faster. The fixed address used by the same library on different nodes is often deliberately randomized (in order to defeat buffer overflow attacks that could otherwise rely on standard libraries being loaded at the same address on every machine with the same OS version). Alas, if the prelinked addresses are different, you will not be able to restart BLCR checkpoints on another node.

The solution for this problem is to disable prelinking on both the source and destination nodes of any process migration before starting any process you may wish to migrate. For most cluster environments, that means disabling it on all nodes before using BLCR for migration. Prelinking is a systemwide setting, so you will need to be root. On Fedora Core 2, at least, the fix is to edit /etc/sysconfig/prelink and set 'PRELINKING=no'. The comments claim that this will cause prelinking to be undone automatically the next night. We've never been patient, and instead "undo" prelinking immediately by running (as root)

# /usr/sbin/prelink --undo --all
Automating this process for an entire cluster depends on your specific environment.
Please, How can i disable the prelinking in ubuntu10? after or before install blcr ?
Thank you.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Disable a command

I need to disable a command. For example - disabling "ls" means that when someone type "ls" - nothing happens . Somebody help ???? :confused::confused::confused: (8 Replies)
Discussion started by: bobochacha29
8 Replies

2. UNIX for Advanced & Expert Users

Disable rm -rf * or rm -rf / in Cent OS

Can some one suggest me the way to disable " rm -rf * " or " rm -rf / " command execution permanently from the server. Any suggestion will be very much helpful . (18 Replies)
Discussion started by: shiek.kaleem
18 Replies

3. Solaris

How to disable ping?

Hello Guys, how do you disable ping in solaris 10? Thanks in advance. (1 Reply)
Discussion started by: cjashu
1 Replies

4. Red Hat

SSL/TLS renegotiation DoS -how to disable? Is it advisable to disable?

Hi all Expertise, I have following issue to solve, SSL / TLS Renegotiation DoS (low) 222.225.12.13 Ease of Exploitation Moderate Port 443/tcp Family Miscellaneous Following is the problem description:------------------ Description The remote service encrypts traffic using TLS / SSL and... (2 Replies)
Discussion started by: manalisharmabe
2 Replies

5. UNIX for Dummies Questions & Answers

How to disable X windows?

I have modified /etc/inittab file for changing default runlevel from 5 to 3 . Now i can boot in terminal mode .However if i issue init 5 i get a X window. How would i disable loading X? do i need to disable some services? P.S. What is Xvfb? How would i disable it? My Distribution Details. #... (11 Replies)
Discussion started by: pinga123
11 Replies

6. Solaris

Disable ftp

HI all, I am using Solaris 10 and would like to know if it possible to disable ftp use for a single entry in my /etc/hosts file. Thanks (5 Replies)
Discussion started by: pxy2d1
5 Replies

7. Shell Programming and Scripting

How to disable Enable/Disable Tab Key

Hi All, I have bash script, so what is sintax script in bash for Enable and Disable Tab Key. Thanks for your help.:( Thanks, Rico (1 Reply)
Discussion started by: carnegiex
1 Replies

8. Solaris

How to disable SU right

Anyone know how to disable SU right for a particular user in Solaris 8 (4 Replies)
Discussion started by: civic2005
4 Replies

9. UNIX for Dummies Questions & Answers

disable su

i have this unix version "unix v/386" and i want to disable su kindly help me (2 Replies)
Discussion started by: sak900354
2 Replies

10. UNIX for Dummies Questions & Answers

Disable X

Im sure this is somthing easy to do but i just can not figure it out where and how would i take X out of the boot for hp ux 11 i looked in the man's and nothing so maybe sombody could throw me a bone... thanks BB (8 Replies)
Discussion started by: bbutler3295
8 Replies
Login or Register to Ask a Question