I screwed up linux really bad
Hey,
I definately screwed up my libraries, but I am not sure how. I get this error: /bin/sh: relocation error: /usr/local/lib/libdl.so.2 symbol _rtld_global_ro, version GLIBC_PRIVATE not defined in file ld-linux.so.2 with link time reference when I try to even login. I cannot even get to a root prompt. What does this error mean? How do I fix it? - Farhan |
It means 'format and re-install!'
|
Quote:
farhan00> Boot from your distribution CD, and reinstall the kernel and other main parts of the base system. You do NOT have to reformat. Basically, you've lost glibc which isn't all THAT big of a deal. You do not have to reformat. You do not have to reformat. You do not have to reformat. You do not have to reformat. You do not have to reformat. rickh is the weakest link. Heh! |
lol. Sorry. I made a rash assumption that farhan00 was a very raw newbie who had deleted a bunch of library files and/or directories either in a panic or inadvertantly.
It's good to introduce new Linux users to the fact that they'll most likely need to reinstall a few times before they're satisfied with their system. |
Quote:
I honestly can't remember ever having reinstalled due to being 'unsatisfied' with my system. (At least, not without changing distros) I guess it's different for everyone, but I wouldn't always say reinstalling is a given. That's what package management is for. |
I used to reinstall, when I first started. But then I realized the ease (and less of a headache) to just install what I needed. Also, when I realized it would take less time to do that than to completely reinstall and resetup.
|
If you're coming from a Windows environment, it seems like a natural thing to do when things get bollixed up ... It's a regular step in Windows trouble-shooting. ... And, I still maintain, it's a good thing for newbies to do. They're dealing with a foreign environment where nothing seems to work, and the repetition provides a good conceptual framework.
That said, I will henceforth refrain from wiseacre comments related to issues I don't understand. |
reinstall?
it is a really, really bad advice to format and to reinstall the whole system only due to a few libraries or the kernel to be fixed. in my opinion it also doesn't help a newbie to reinstall his system twice or more times, there is obviously no learning effect. it's only time consuming and the newbie will be frustrated, especially in this specific case, where the error was perhaps not caused by the operator. but this case tells us something more: please give no advice if you are not sure, what you are doing or you have no idea about the subject. and even more: if you are not sure, try to find out more about the problem before giving a stupid advice like this....
|
Quote:
|
I screwed up my xserver really bad once... I had multiple windows open in Mandrake,and I thought I was installing an x component, but in fact, I deleted my entire xserver! I put the install disks in, when to upgrade, and in 30 minutes I was back to normal. Never did I have that kind of luck with Windows.
--Kris |
Well... I don't think it is such a bad idea for newbies.
When I installed Debian for the first time I started over 5 times before I had a running system I was satisfied with. Only AFTER that I learned how to use apt, install a new kernel, install a new boot loader etc., but I needed a correct working system for that. And after that I never formatted and re-installed, instead, I have made numerous clones of systems which I adapted according to my needs. (Ok, once I screwed up my system really bad and lost apt and got lost in dependency hell, so I re-installed) So... re-installing is hardly ever needed, but if a newbie wants to get a working system, it might be a good idea. If someone keeps re-installing every 6 months.... yes, he is either an MSCE or a newbie. jlinkels |
oh
guys, think, before you post! it is a really big difference installing debian or suse or ubuntu of something else. suse is especially designed for users coming from windows, real newbies. debian is something really different. there you have to manually (mostly) set up everything on your own. suse instead does the job for you. it is really a big difference. did some of you ever install suse or do you only post from your debian background? I guess that's the case otherwise you wouldn't tell such things. the suse installation process does not help you anything learning about linux.
|
Does this mean you will personally see it that farhan's problem gets fixed?
So far "reinstall" has been the most productive advice posted here. |
Quote:
core-components was spot-on. Cheers, Tink |
Quote:
The above list might look very long, but it really isn't; practically all other problems are easily resolved without a reformat/reinstall. One might recommend a reformat/reinstall as an option to a client to keep within budget, but not for any technical reason. |
Quote:
No, seriously. Maybe everything can be done, given you have enough time and stamina. You can dig thru thousands of undocumented registry entries, some with obfuscated names or keys. You can replace dll's which you think they might be damaged, but you don't have the foggiest idea what they are doing. You can hunt for why drivers won't install, uninstall, load or crash. Logging capabilities are almost non-existent. (On my Windows servers I alway had an event log, which showed messages like "The driver failed to load due to error nr. ." or "The program has terminated due to an unknown error") Maybe it can be done, but why should you do it if reinstalling is 10 times faster. (I have to admit that installation usually IS fast, and certainly faster than installing Debian from -well- scratch) Then another question. We all know the comparisons made by "independent" institutes which show that the TCO of maintaining a Windows Server network is cheaper because tasks can done easier. Does it still hold when you don't have or don't want to re-install? jlinkels |
Installing WINDOWS is faster, sure.
But installing patches which take hours to download, installing all the applications, utilities, patches, etc., restoring your data, tweaking the desktop/environment settings and so forth, good luck. It will take you longer to do that than to fix most Windows issues. Now, toss in activation, and now you have another great reason to fix the problem rather than go the lazy route (which is actually more work and takes longer than actually FIXING the darn problem to begin with) |
hmm
correct kimvette
that's what i am telling since years... and of course IT IS nonsense, if you format and reinstall the whole system instead of putting a boot cd in and fix the kernel and some libraries WITHIN an hour. tweaking takes even days, think about email accounts, installing additional programs and so on, also not to forget backup your data before!!! please guys, don't argue like now and especially don't begin a new discussion about windoofs and linux in general. the question of the newbie was clear and we could most probably help WITHOUT a reinstall! So please, use windoofs if you like to format and reinstall all the tim and use linux if you know about it, that's all. |
Quote:
|
Maybe yes or maybe no...
|
Suse allows you to boot from a CD and do a system repair which is a damn good tool!
|
All times are GMT -5. The time now is 02:29 PM. |