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.

這篇文章有幫助嗎?

 列印本文

Also Read

Help Tweaking MySQL

Posted by SuperHosterz, 01-14-2008, 05:12 AMMySQL Takes up 80-100% cpu Please help me guys...

Autoplay mp3 on page load

Posted by bambinou, 11-16-2012, 07:12 AMHello, I have a 5 second greeting mp3 I would like to...

P2V migration

Posted by webservermatrix, 04-23-2009, 06:41 AMHi, We have 2 servers SQL, Web & SM 4.x each with...

Need Shell script to add prefix to multiple files' name.

Posted by viettechorg, 03-25-2007, 02:09 PMHello, Does anyone know any of the shell script(or...

Does the use of partitions prevent hackers from getting access to the linux server?

Posted by lifeonfire, 05-07-2007, 11:11 AMDoes the use of partitions prevent hackers from getting...