Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am trying to install Samba on RedHat9 so that I can share files with a Windows XP machine on a LAN. The install fails:
# rpm -Uvh samba*
error: Failed dependencies:
libcrypto.so.2 is needed by samba-2.2.7-5.8.0
libssl.so.2 is needed by samba-2.2.7-5.8.0
libcrypto.so.2 is needed by samba-common-2.2.7-5.8.0
libssl.so.2 is needed by samba-common-2.2.7-5.8.0
libcrypto.so.2 is needed by samba-swat-2.2.7-5.8.0
libssl.so.2 is needed by samba-swat-2.2.7-5.8.0
Here is what I have tried, without success:
1) Use rpm to install the older version of openssl in addition to the current one:
# rpm -Uvh openssl-0.9.6b-33.i686.rpm openssl-0.9.7a-5.i686.rpm
warning: package openssl = 0.9.6b-33 was already added, replacing with openssl <= 0.9.7a-5
Preparing... ########################################### [100%]
package openssl-0.9.7a-5 is already installed
2) Create the two needed files as symbolic links. Created in both /lib and /usr/lib since the "real" file was in both places.
I can confirm that the symbolic links don't work. I managed to extract the two files I needed, copy them to the /usr/lib and /lib directories, and update the symbolic links. No go. The files are there and the symbolic links are there, but rpm insists it knows better.
1) # rpm --rebuilddb -v
error: db4 error(16) from dbenv->remove: Device or resource busy
Do I need to specify the --dbpath or --root options? They are listed as optional, and I'd expect the defaults to be correct.
2) Do you mean --force? I tried that. I get the same messages with or without --force.
3) I tried uninstalling openssl, but I got a bazillion errors about other packages being dependent on things I was uninstalling. I did not try forcing it, but that might be what I try next.
I got it to install using --nodeps to get rpm to igore the dependencies. Normally this might not work, but the files are there, it's just the rpm database that doesn't KNOW the files are there. At least, that is what I believe to be true at this time.
I can get into SWAT. I don't know what to DO with it, but that's a different story, and a different thread.
I was logged in as root, or rather "super usered" to root. I logged out and back in and the "lock" went away.
I wish I had seen your post before I did that. It would have given me more understanding of what was going on than the band-aid of logging out or rebooting. Rebooting is a habit I've picked up from Windows. :-)