[SOLVED] DHCP installation PROBLEM
-
- Posts: 9
- Joined: 2013/09/01 23:29:28
[SOLVED] DHCP installation PROBLEM
Hi everybody,
i would like to install DHCP server but i have problem when starting dhcpd with service command :
well, after installing dhcp with ]#yum install dhcp; this is the /etc/dhcpd.conf file configuration :
[img align=right]http://i.imgur.com/kyQAp65.jpg[/img]
this is the result of /usr/sbin/dhcpd : it indicates an error on line 7 semi colums expected
i didn't now what to do exactly ??????[img align=right]http://i.imgur.com/KE4B28v.jpg[/img]
i would like to install DHCP server but i have problem when starting dhcpd with service command :
well, after installing dhcp with ]#yum install dhcp; this is the /etc/dhcpd.conf file configuration :
[img align=right]http://i.imgur.com/kyQAp65.jpg[/img]
this is the result of /usr/sbin/dhcpd : it indicates an error on line 7 semi colums expected
i didn't now what to do exactly ??????[img align=right]http://i.imgur.com/KE4B28v.jpg[/img]
Re: DHCP installation PROBLEM
Change the configuration file by changing this line:
ddns-update-style ad-hoc;
ddns-update-style ad-hoc;
-
- Posts: 9
- Joined: 2013/09/01 23:29:28
Re: DHCP installation PROBLEM
The ad-hoc option dosen't work !!(i've made research on google and the ad-hoc option is used rarely) even the interim option too !!!!!!!!!!!!!!!!!!!
[img align=right]http://i.imgur.com/pHOhDPw.jpg[/img]
Acoording to the documentation, all thing seems to be ok but it doesen't work, Is their any additional configuration must be done ??????
[img align=right]http://i.imgur.com/pHOhDPw.jpg[/img]
Acoording to the documentation, all thing seems to be ok but it doesen't work, Is their any additional configuration must be done ??????
Re: DHCP installation PROBLEM
You have a great long line of "-" signs immediately prior to the ddns-update-style line and those are not commented so it's trying to interpret them as a configuration directive.
-
- Posts: 9
- Joined: 2013/09/01 23:29:28
Re: DHCP installation PROBLEM
same problem still persist !!!!! take a look on screen-shot:
[img align=right]http://i.imgur.com/JJVSe8K.jpg[/img]
[img align=right]http://i.imgur.com/QqV0h41.jpg[/img]
even i tried to comment it with a "ch? bang" and the other directive too such as authoritative, ignore client updates .... but it still doesn't work and it indicates me a semicolon mistake in the first line of the configuration file regarding what any directive it exists !!!!!!
[img align=right]http://i.imgur.com/TcagucU.png[/img]
[img align=right]http://i.imgur.com/1xxzif9.jpg[/img]
i really don't know what to do !!!!!!
[img align=right]http://i.imgur.com/yPsYMPU.jpg[/img]
[img align=right]http://i.imgur.com/JJVSe8K.jpg[/img]
[img align=right]http://i.imgur.com/QqV0h41.jpg[/img]
even i tried to comment it with a "ch? bang" and the other directive too such as authoritative, ignore client updates .... but it still doesn't work and it indicates me a semicolon mistake in the first line of the configuration file regarding what any directive it exists !!!!!!
[img align=right]http://i.imgur.com/TcagucU.png[/img]
[img align=right]http://i.imgur.com/1xxzif9.jpg[/img]
i really don't know what to do !!!!!!
[img align=right]http://i.imgur.com/yPsYMPU.jpg[/img]
- AlanBartlett
- Forum Moderator
- Posts: 9345
- Joined: 2007/10/22 11:30:09
- Location: ~/Earth/UK/England/Suffolk
- Contact:
Re: DHCP installation PROBLEM
Either delete the line of hyphens from the file or insert a [b]#[/b] character at the beginning of that line of hyphens.
Re: DHCP installation PROBLEM
And put back all the hyphens into the keywords that you deleted while trying to fix this! The keywords are "ddns-update-style" not "ddns update style" and "ignore-client-updates" not "ignore client-updates".
Computers are fussy, they like things just exactly how they expect them to be and no other way!
Computers are fussy, they like things just exactly how they expect them to be and no other way!
-
- Posts: 9
- Joined: 2013/09/01 23:29:28
Re: [SOLVED] DHCP installation PROBLEM
hiiii !!!!!!! thanks admin finally it works !!!!!!!! it's about hyphens surly !!!!!!!!!!!!!!!!!!!!! i've made a succcessive line of hypens to make it as a separator between comments, well i forgot
the ch?-bang before !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! so dummmyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy !!!! loooooooooooooooolllllll have a look :
[img align=right]http://i.imgur.com/jP8x3xv.jpg[/img]
thinks for assistance !!!!! bye !!
the ch?-bang before !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! so dummmyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy !!!! loooooooooooooooolllllll have a look :
[img align=right]http://i.imgur.com/jP8x3xv.jpg[/img]
thinks for assistance !!!!! bye !!
-
- Posts: 10642
- Joined: 2005/08/05 15:19:54
- Location: Northern Illinois, USA
[SOLVED] DHCP installation PROBLEM
# is not a che-bang.
http://en.wikipedia.org/wiki/Shebang_%28Unix%29
http://en.wikipedia.org/wiki/Shebang_%28Unix%29
-
- Posts: 9
- Joined: 2013/09/01 23:29:28
Re: [SOLVED] DHCP installation PROBLEM
well i've got the LPIC-1 certification and i'm preparing for LPIC-2 exam and since i've learned linux certification session with french language, the "sh" sound is written "ch" in french and the " ? " (accent aigu) is used to make the "e" sound less louder than english pronounciation, and you can notice that on wikipid?a website which it indicates that there is many forms to right the word "shebang"
it doesen't matter how we right it but we must know how and when it should be used !!!!! :-D :-D :-D
it doesen't matter how we right it but we must know how and when it should be used !!!!! :-D :-D :-D