Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Broke libc, no access
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-11-21
03:33 PM
2012-11-21
03:33 PM
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?
Message 1 of 6
Labels:
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-11-21
03:35 PM
2012-11-21
03:35 PM
Re: Broke libc, no access
Did you do something like this?:
An apt-get upgrade would upgrade various things in libc6 and break some things.
# apt-get upgrade
An apt-get upgrade would upgrade various things in libc6 and break some things.
Message 2 of 6
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-11-21
03:37 PM
2012-11-21
03:37 PM
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
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-11-21
05:49 PM
2012-11-21
05:49 PM
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
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-11-21
06:12 PM
2012-11-21
06:12 PM
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.
Apparently renaming media to mediax (in frontview), and then renaming it back resolved it.
Message 5 of 6
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-11-22
12:28 AM
2012-11-22
12:28 AM
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