Find the answer to your Linux question:
Results 1 to 10 of 10
I'm a bit of a newbie at this so bear with me. I'm trying to install dhcpd on a Fedora Core 5 server and am having problems. Initially I downloaded ...
  1. #1
    Just Joined!
    Join Date
    Aug 2009
    Posts
    5

    DHCPD - unable to install via Yum

    I'm a bit of a newbie at this so bear with me. I'm trying to install dhcpd on a Fedora Core 5 server and am having problems.

    Initially I downloaded the RPM for it and attempted to install it by doing "rpm -i dhcp-4.0.0-14.fc9.i386.rpm" (this is how we installed it on several other FC servers and it's worked fine). When I tried this method I get the following:

    [david.robinson]rpm -i dhcp-4.0.0-14.fc9.i386.rpm
    error: Failed dependencies:
    libcrypto.so.7 is needed by dhcp-4.0.0-14.fc9.i386
    liblber-2.4.so.2 is needed by dhcp-4.0.0-14.fc9.i386
    libldap-2.4.so.2 is needed by dhcp-4.0.0-14.fc9.i386
    rtld(GNU_HASH) is needed by dhcp-4.0.0-14.fc9.i386
    [david.robinson]#

    I tried finding these files to download online but am having no real luck. After I figured I couldn't install via the RPM package, I tried using Yum. I ran: "yum install dhcpd" and got the following message back:

    [david.robinson]# yum install dhcpd
    Loading "installonlyn" plugin
    Setting up Install Process
    Setting up repositories
    updates [1/3]
    download.fedora.redhat.com/pub/fedora/linux/core/updates/5/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Date: Fri, 14 Aug 2009 21:25:48 GMT
    Server: Apache
    Content-Length: 254
    Content-Type: text/html; charset=iso-8859-1
    Trying other mirror.
    Cannot open/read repomd.xml file for repository: updates
    failure: repodata/repomd.xml from updates: [Errno 256] No more mirrors to try.
    Error: failure: repodata/repomd.xml from updates: [Errno 256] No more mirrors to try.
    [david.robinson]#

    (There's actually an http : // in front of the url 'download.fedora...' but it wouldn't let me post "urls to other sites" until I have 15 posts or more).
    From what I can decipher from the message, yum doesn't have a valid server to connect to to retrieve updates (is this correct?). At this point I'm not sure what exactly to do.

    Does anybody have any advice on getting dhcpd going on this machine? Any help would be appreciated.

    Thx,

    Serj

  2. #2
    Just Joined! vishesh's Avatar
    Join Date
    Jul 2009
    Location
    Delhi
    Posts
    33

    check yum.repos.d

    Check contents of
    /etc/yum.repos.d/fedora.repo
    and others repo files and edit if you need.

    thnks

  3. #3
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,145
    Quote Originally Posted by serjofpower View Post
    (There's actually an http : // in front of the url 'download.fedora...' but it wouldn't let me post "urls to other sites" until I have 15 posts or more).
    From what I can decipher from the message, yum doesn't have a valid server to connect to to retrieve updates (is this correct?). At this point I'm not sure what exactly to do.

    Does anybody have any advice on getting dhcpd going on this machine? Any help would be appreciated.

    Thx,

    Serj
    Yes that's correct, you must be connected to the Internet for YUM to work properly. You do know Fedora 5 is very old and unsupported right? Since you say it's a server, I'll assume you want to keep FC5 instead of upgrading your OS.
    DHCP and probably all of the depends that you need are on the CD that you installed with.
    [david.robinson]rpm -i dhcp-4.0.0-14.fc9.i386.rpm
    error: Failed dependencies:
    libcrypto.so.7 is needed by dhcp-4.0.0-14.fc9.i386
    liblber-2.4.so.2 is needed by dhcp-4.0.0-14.fc9.i386
    libldap-2.4.so.2 is needed by dhcp-4.0.0-14.fc9.i386
    rtld(GNU_HASH) is needed by dhcp-4.0.0-14.fc9.i386
    [david.robinson]#
    If this is a brand new install, I would either get a newer version of Linux (recommended) or re-install FC5 again and this time be sure to include networking support. If you can get the network up and running then that will solve most of your problems, but not all of them. FC5 isn't getting updates anymore, it's too old.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

  4. #4
    Just Joined!
    Join Date
    Aug 2009
    Posts
    5
    Quote Originally Posted by MikeTbob View Post
    Yes that's correct, you must be connected to the Internet for YUM to work properly. You do know Fedora 5 is very old and unsupported right? Since you say it's a server, I'll assume you want to keep FC5 instead of upgrading your OS.
    DHCP and probably all of the depends that you need are on the CD that you installed with.

    If this is a brand new install, I would either get a newer version of Linux (recommended) or re-install FC5 again and this time be sure to include networking support. If you can get the network up and running then that will solve most of your problems, but not all of them. FC5 isn't getting updates anymore, it's too old.
    I know it's old but it's working for what we use it for and I'd rather not do an upgrade that may or may not cause more/other problems

    It does have internet connectivity - we're ssh'd into it doing this work.

    If I were to get the FC5 ISO onto the server's hard drive would I be able to re-install dhcpd directly off the CD? Also - would I still run into the missing libraries (libcrypto.so.7, liblber-2.4.so.2, libldap-2.4.so.2, and rtld(GNU_HASH)) or would they automatically be pulled off the CD when I run RPM to install it?

    I really appreciate the help!

  5. #5
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,145
    You'll still need the depends but yes DHCP should be on the install CD.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

  6. #6
    Just Joined!
    Join Date
    Aug 2009
    Posts
    5
    Quote Originally Posted by MikeTbob View Post
    You'll still need the depends but yes DHCP should be on the install CD.
    Out of curiosity, is there a way to find those dependencies? I searched for those files online and couldn't find where I could download them. I could only find references to other packages which also depend on them...

  7. #7
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,145
    Try this link, once you select your package to download, I think it will show you the depends at the bottom.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

  8. #8
    Just Joined!
    Join Date
    Aug 2009
    Posts
    5
    Quote Originally Posted by MikeTbob View Post
    Try this link, once you select your package to download, I think it will show you the depends at the bottom.
    Which link?

  9. #9
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,145
    Quote Originally Posted by serjofpower View Post
    Which link?
    Oh CRAP man!!!
    So sorry.
    The link was for
    http://rpm.pbone.net/
    But I can't get it to work now. It appears to be dead.
    You can try this one, but it doesn't list the depends like pbone does.
    Search the RPM repository on www.rpmfind.net
    I'd keep try the pbone link, it was working just the other day.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

  10. #10
    Just Joined!
    Join Date
    Aug 2009
    Posts
    5
    Ok, so I thought I replied to this already but it looks like I didn't.

    My coworker actually figured this out; basically, our repo files were pointing to repositories that had been moved to another location. Once he updated the urls to reflect a working repository we were able to do "yum install dhcpd" and it worked.

    Thanks for all the help guys!

    -Serj

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...