NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

romnes's avatar
romnes
Aspirant
Nov 21, 2012

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":

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-ntgr's avatar
    mdgm-ntgr
    NETGEAR Employee Retired
    Did you do something like this?:

    # apt-get upgrade

    An apt-get upgrade would upgrade various things in libc6 and break some things.
  • Not quite sure how it happened, but I need to copy a working libc.so.6 to /lib/ somehow. Any ideas?
  • I'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
  • Don't worry. you may contact support and ask for a os-reinstall( they can do it from telnet mode). No data will be lost.

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More