Find the answer to your Linux question:
Results 1 to 8 of 8
Hi, i installed fedora 8 and set up dhcp server. i installed dhcp using "yum dhcp install" i have created the file dhcpd.leases using "touch /var/lib/dhcpd/dhcpd.leases" when i do "service ...
  1. #1
    Just Joined!
    Join Date
    Jun 2009
    Posts
    5

    HOW TO GET dhcpd started

    Hi, i installed fedora 8 and set up dhcp server.
    i installed dhcp using "yum dhcp install"
    i have created the file dhcpd.leases using "touch /var/lib/dhcpd/dhcpd.leases"
    when i do "service dhcpd start" it FAILED

    can somebody help me.? soonest reply will highly appreciated. thanks.

  2. #2
    oz
    oz is online now
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,099
    Welcome to the forums!

    Try running the start command like this:

    Code:
    /sbin/service dhcpd start
    Hope it works!
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  3. #3
    Just Joined!
    Join Date
    Jun 2009
    Posts
    5
    i tried /sbin/service dhcpd start still FAILED

  4. #4
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    Does your network already have a dhcp server running?
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  5. #5
    Linux Newbie rituraj.goswami's Avatar
    Join Date
    Aug 2008
    Location
    Guwahati
    Posts
    133
    post the reply of your log
    There is nothing impossible, for everything is possible; the impossible only takes a bit longer than the possible.

  6. #6
    Just Joined!
    Join Date
    Jun 2009
    Posts
    5
    no there is no dhcp server running...

  7. #7
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    Quote Originally Posted by sayry View Post
    no there is no dhcp server running...
    You can start it with the command (from root): service dhcpd start
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  8. #8
    Just Joined!
    Join Date
    Jul 2008
    Location
    Kenya
    Posts
    26
    You need to have a dhcpd.conf file in the /etc directory.
    You can find a sample dhcpd.conf file in the server/ directory of the DHCP package you downloaded.

    You can now run as root.

    service dhcpd start

Posting Permissions

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