problem when set up dhcp server

Posted by tinhnho, 07-17-2007, 04:43 PM
I follow instruction from redhat to setup my Centos acts like a router. When i setup the dhcp server, at the end when i start the dhcp, it keeps getting me the failed error. So i believe that i need to use 'touch' command for first time start dhcp server but seem that no such file or directory for dhcpd.leases. Any idea? thanks

Posted by evOwl, 07-17-2007, 04:56 PM
Looks like a permission problem. Do you have write access to /var

Posted by SparkSupport, 07-17-2007, 05:03 PM
Is the folder /var/lib/dhcp really existing ?

Posted by tinhnho, 07-17-2007, 05:06 PM
nope. Do i have to create one ? then touch /var/lib/dhcp/dhcpd.leases ? thanks note: i thought it should be created after 'yum install dhcp' Last edited by tinhnho; 07-17-2007 at 05:14 PM.

Was this answer helpful?

 Print this Article

Also Read

Unable to change the file attribute

Posted by tuxican, 09-14-2007, 12:09 PMHi all, I am not able to change the attribute of a...

How to call/load .net dll(C#) from c++ code?

Posted by TajByte, 03-22-2007, 04:50 AMHow to call/load .net dll(C#) from c++ code? Posted...

how to start only 1 player at the time?

Posted by bambinou, 11-09-2012, 07:08 PMHello, I would like to know if there is a way to have...

Dataphorce update

Posted by AL-Benjamin, 09-27-2001, 12:58 PMHi there, this is really just an update to the...

MySQLDumper Perl Command - It This Correct?

Posted by Greedisgood, 03-26-2007, 10:28 AMHi Guys, I was reading this tutorial:...