apache-ssl version GLIBC not found / can't access shares
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
apache-ssl version GLIBC not found / can't access shares
I own a Netgear ReadyNas and I'm afraid I've managed to cripple parts of it :S
Apache won't start anymore and I can't access my shares either using my Windows machines. When Netgear calls those shares "CIFS", but I guess it's Samba.
On a ReadyNas you're supposed to start apache like this:
apache-ssl -f /etc/frontview/apache/http.conf -k start
But when I do so:
Code:
apache-ssl -f /etc/frontview/apache/http.conf -k start
apache-ssl: /lib/libuuid.so.1: no version information available (required by /usr/lib/libapr-1.so.0)
apache-ssl: /lib/libc.so.6: version `GLIBC_2.10' not found (required by /usr/lib/libapr-1.so.0)
apache-ssl: /lib/libc.so.6: version `GLIBC_2.9' not found (required by /usr/lib/libapr-1.so.0)
And attempts to check and restart Samba:
Code:
/etc/init.d/samba status
nmbd is running.
could not access PID file for smbd ... failed!
/etc/init.d/samba restart
Stopping Samba daemons: nmbd smbd.
Starting Samba daemons: nmbd smbd/etc/init.d/samba: line 33: 24027 Segmentation fault start-stop-daemon --start --quiet --oknodo --exec /usr/sbin/smbd -- -D
failed!
I think this has to do with my attempt to install ownCloud manually. I don't remember exactly what I did, but I think the following is the most important.
I might also have thrown in an apt-get upgrade. And probably other things too.
The thing is... I've already tried an OS Reinstall. Afterwards apache seems running for a while, but after couple of hours it stops again. Can't get the mounts to work at all.
Any suggestions on how I can get both apache and samba back to work again? Not really feeling like performing a factory reset, since I'd have to backup 1.5 TB and put it back again, plus reconfigure all the settings. Hoping there are other ways...
Code:
cat /proc/version
Linux version 2.6.37.6.RNx86_64.2.4 (jmaggard@calzone) (gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #1 SMP Wed Aug 20 11:41:34 PDT 2014
apache-ssl -f /etc/frontview/apache/http.conf -k start
apache-ssl: /lib/libuuid.so.1: no version information available (required by /usr/lib/libapr-1.so.0)
apache-ssl: /lib/libc.so.6: version `GLIBC_2.10' not found (required by /usr/lib/libapr-1.so.0)
apache-ssl: /lib/libc.so.6: version `GLIBC_2.9' not found (required by /usr/lib/libapr-1.so.0)
You are missing some libraries and some very necessary one. Does your system uses shared or static libraries mostly?
You need to install util-linux package. It has the needed /lib/libuuid.so.1 library.
You need to install glibc. It has the needed /lib/libc.so.6 libray. But without this your system won't run at all in shared library system.
Could it be that by issueing (several) apt-get update commands some components have been updated and now they need those GLIBC libraries? If so, can I revert that?
It all worked before. Don't know that much about Linux, but afaik I can't have accidentally uninstalled util-linux and glibc's, right?
Can I just run apt-get install on util-linux and glibc_x? (btw: if so, do I have to install both glibc's separately?)
Could it be that by issueing (several) apt-get update commands some components have been updated and now they need those GLIBC libraries? If so, can I revert that?
Maybe, if we knew what you had done...but honestly, given what you've posted, we have no idea where to begin.
Quote:
It all worked before. Don't know that much about Linux, but afaik I can't have accidentally uninstalled util-linux and glibc's, right?
Probably not, since if you did, your unit woudl be dead in the water...glibc is one of the MAIN parts of any Linux system.
Quote:
Can I just run apt-get install on util-linux and glibc_x? (btw: if so, do I have to install both glibc's separately?)
Don't know...I hate to say this, but you're only sort-of running Linux. That's an appliance-type distro, and while it may be BASED on Debian, it's not. You don't say what the model # is, but your best bet would be to totally reset the unit to factory specs, including the drives. Barring that, you may be able to ask Netgear support for help.
Without knowing EXACTLY what you did, there's not much we can guess at to try to help you.
You are missing some libraries and some very necessary one. Does your system uses shared or static libraries mostly?
You need to install util-linux package. It has the needed /lib/libuuid.so.1 library.
You need to install glibc. It has the needed /lib/libc.so.6 libray. But without this your system won't run at all in shared library system.
I don't know much about Netgear, others may help.
Again, PLEASE STOP posting misleading/incorrect information. This is an appliance, BASED ON Debian Linux. The packages you mention probably don't apply, in the sense you're referring to them. Trying to install them will lead to MORE problems.
You are indeed correct. From what I know of the device, the entire OS can be reloaded from scratch from firmware, but it will ALSO wipe out the data on the drives IN the device. And that may be part of the issue here...you're doing an OS re-install, but unless you're doing an entire wipe, things may be getting auto-updated/changed/'fixed', from one to the other, so the changes aren't permanent.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.