× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

Re: Broke libc, no access

romnes
Aspirant

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?
Message 1 of 6
mdgm-ntgr
NETGEAR Employee Retired

Re: Broke libc, no access

Did you do something like this?:

# apt-get upgrade

An apt-get upgrade would upgrade various things in libc6 and break some things.
Message 2 of 6
romnes
Aspirant

Re: Broke libc, no access

Not quite sure how it happened, but I need to copy a working libc.so.6 to /lib/ somehow. Any ideas?
Message 3 of 6
romnes
Aspirant

Re: Broke libc, no access

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
Message 4 of 6
StephenB
Guru

Re: Broke libc, no access

There'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.
Message 5 of 6
cloud1
Aspirant

Re: Broke libc, no access

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.
Message 6 of 6
Top Contributors
Discussion stats
  • 5 replies
  • 1274 views
  • 0 kudos
  • 4 in conversation
Announcements