LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices


Reply
  Search this Thread
Old 01-09-2008, 03:53 AM   #1
smallbook
Member
 
Registered: Jan 2008
Posts: 40

Rep: Reputation: 15
Ntp dependency with libcrypto.so.4


Hi everyone, i am fairly new in this forum. I have problem setting up ntpdate on one of my servers, a dell power edge that runs redhat ES version 4. I have configured /etc/ntp.conf but when i tried to start up ntpd using service ntpd start, this error pops up :
service ntpd start
Starting ntpd: ntpd: error while loading shared libraries: libcrypto.so.4: cannot open shared object file: No such file or directory
[FAILED]

This only happens after i have upgraded from ES version 4 to ES version 4. I did copy the libcrypto.so.4 (that points to the file libcrypto.so.0.9.7a) from other servers to this one and tried to restart but to no avail. Strangely, i did the same thing to another server that failed with the same message but it worked. However, this time it doesn't work anymore. Any idea what could have caused it?
 
Old 01-09-2008, 07:23 AM   #2
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,961

Rep: Reputation: Disabled
Welcome to LQ!

First, make sure your symlinks are still valid after copying. Example below shows sometimes there may be more than one symlink.

Code:
~ $ ls -l /lib/libuuid*
lrwxrwxrwx 1 root root    12 2008-01-01 12:16 /lib/libuuid.so -> libuuid.so.1
lrwxrwxrwx 1 root root    14 2008-01-01 12:16 /lib/libuuid.so.1 -> libuuid.so.1.2
-rwxr-xr-x 1 root root 13824 2008-01-01 12:16 /lib/libuuid.so.1.2
Second, you must run ldconfig after installing new libraries manually.
 
Old 01-10-2008, 06:59 PM   #3
smallbook
Member
 
Registered: Jan 2008
Posts: 40

Original Poster
Rep: Reputation: 15
HI Emerson, thanks for your warm welcome I have ensured that the symbolic links are there:

ls -al /lib/libcrypto.so.4
lrwxrwxrwx 1 root root 19 Jan 9 17:25 /lib/libcrypto.so.4 -> libcrypto.so.0.9.7a

ls -al /lib64/libcrypto.so.4
lrwxrwxrwx 1 root root 19 Jan 9 17:25 /lib64/libcrypto.so.4 -> libcrypto.so.0.9.7a

and, the file libcrypto.so.0.9.7a is also there:

ls -al /lib/libcrypto.so.0.9.7a
-rwxr-xr-x 1 root root 972156 Jan 9 17:32 /lib/libcrypto.so.0.9.7a

ls -al /lib64/libcrypto.so.0.9.7a
-rwxr-xr-x 1 root root 1236736 Jan 9 17:31 /lib64/libcrypto.so.0.9.7a

I did try running ldconfig but still the output is the same when i tried to start up ntp:
service ntpd start
Starting ntpd: ntpd: error while loading shared libraries: libcrypto.so.4: cannot open shared object file: No such file or directory
[FAILED]


Anymore suggestions or any ideas? I am going to upgrade other servers to version 4 too and i am afraid other servers will encounter the similar problem and i wouldn't be as lucky as the first time where i managed to just copy over libcrypto.so.0.9.7a from other working servers and got ntpd running.
 
Old 01-10-2008, 07:06 PM   #4
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,961

Rep: Reputation: Disabled
Well, correct solution would be installing libcrypto in RH way (whatever it is, I'm not familiar with it). I wonder why it does not install it automatically with ntpdate as dependency.
 
Old 01-10-2008, 07:20 PM   #5
smallbook
Member
 
Registered: Jan 2008
Posts: 40

Original Poster
Rep: Reputation: 15
Hmm so i should load in the installation CD and install the lib ?
 
Old 01-10-2008, 07:25 PM   #6
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,961

Rep: Reputation: Disabled
Yep, you could also try uninstalling and reinstalling ntp, maybe it pulls in libcrypto then. And you could call RH, the whole idea behind having RH Linux is to have support, so why not use it when needed.
 
Old 01-10-2008, 07:47 PM   #7
smallbook
Member
 
Registered: Jan 2008
Posts: 40

Original Poster
Rep: Reputation: 15
Thanks Emerson, i will try to reinstall ntp, what about reinstalling the libcrypt or crypt-setup because when i tried to install it says all these have been installed.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to solve failed dependency when dependency exists dwcramer Linux - Newbie 2 08-24-2004 09:03 PM
NTP cannot work with timeserver, NTP-d can jerryvapps Linux - Networking 0 08-04-2004 02:04 PM
NTP cannot use server, NTP -d can jerryvapps Linux - Newbie 0 07-28-2004 02:22 PM
libcrypto.so.4 conflicts with libcrypto.so.2 for hp driver sid_datta Linux - Newbie 0 07-25-2003 06:06 AM
Where can I get libcrypto.so.4? WorldBuilder Linux - Software 3 07-18-2003 09:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration