LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Unable to run any command on server with RHEL 3 ES due to Relocation Error. (https://www.linuxquestions.org/questions/linux-server-73/unable-to-run-any-command-on-server-with-rhel-3-es-due-to-relocation-error-841090/)

pushpa_dwivedi 10-29-2010 12:33 AM

Unable to run any command on server with RHEL 3 ES due to Relocation Error.
 
Hi,
In oreder to run an application software on RHEL 3 ES server, I created a link forcefully using following command from root id:
# cd /lib64/tls/
# ln -sf libc-2.3.4.so libc.so.6
before that I copied file libc-2.3.4.so from a workstation with OS RHEL 4 WS so that a link can be created.
Now I am unable to run any command except cd & pwd and it gives error messaage as given below:
ls:relocation error:/lib64/tls/libc.so.6:symbol _rtld_global_ro,version GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2with link time reference.

Before running this command libc.so.6 was pointing to libc-2.3.so file in path /lib64/libc-2.3.2.so.
I am now unable even to open a new window on the server.

Please send me some solution as early as possible because this server is running production data and many users are runnig application on this server.

Thanks & Regds,
Pushpa Dwivedi

prayag_pjs 10-29-2010 12:56 AM

Hi,

Try to go to rescue mode and unlink the the links you created.

do man unlink to know more about unlink.

pushpa_dwivedi 10-29-2010 02:23 AM

Quote:

Originally Posted by prayag_pjs (Post 4142952)
Hi,

Try to go to rescue mode and unlink the the links you created.

do man unlink to know more about unlink.

Thanks for reply!
Will it allow to run unlink command in rescue mode ? since right now it is not accepting any command.only cd & pwd are running.
If yes, please send me steps how to do that? One more thing I want to know what will happen to other file systems having oracle and application software on this server.

Thanks & Regds,
Pushpa Dwivedi

prayag_pjs 10-29-2010 02:25 AM

You have to try.That's the only option you have i suppose.


All times are GMT -5. The time now is 05:09 AM.