NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
romnes
Nov 21, 2012Aspirant
Broke libc, no access
I managed to break libc on my box. Last I was logged in the following happened when attempting a simple "ls":
Since then, I've rebooted and lost SSH access as well as web access. Tried Reinstall OS, but RAIDar hangs with "File system check, 100%". I suspect it's still crashing because no executable can be run without libc. Is there any way to remedy the situation without loosing all the data? Simplest solution would be to somehow be able to copy a working libc over, can it be done through telnet, USB or any other way?
ls: error while loading shared libraries: /lib/libc.so.6: file too short
Since then, I've rebooted and lost SSH access as well as web access. Tried Reinstall OS, but RAIDar hangs with "File system check, 100%". I suspect it's still crashing because no executable can be run without libc. Is there any way to remedy the situation without loosing all the data? Simplest solution would be to somehow be able to copy a working libc over, can it be done through telnet, USB or any other way?
5 Replies
Replies have been turned off for this discussion
- mdgm-ntgrNETGEAR Employee RetiredDid you do something like this?:
# apt-get upgrade
An apt-get upgrade would upgrade various things in libc6 and break some things. - romnesAspirantNot quite sure how it happened, but I need to copy a working libc.so.6 to /lib/ somehow. Any ideas?
- romnesAspirantI've got the NAS up and running again. Boots just fine. However, one of my shares, /c/media seems to have been wiped, at the same time, df -h seems to indicate that all the space is still used. Any ideas if it's possible to retrieve the "lost" share? The folder itself seems to be there still, but not created by me
- StephenBGuru - Experienced UserThere's a similar symptom in an old thread here: viewtopic.php?f=36&t=45059&p=327445
Apparently renaming media to mediax (in frontview), and then renaming it back resolved it. - cloud1AspirantDon't worry. you may contact support and ask for a os-reinstall( they can do it from telnet mode). No data will be lost.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!