DHCP NÃO SOBE

1. DHCP NÃO SOBE

ALLAN AUGUSTO SANTOS DE ALMEIDA
patch307

(usa CentOS)

Enviado em 11/01/2018 - 12:11h

TÔ CHATEADO, MEU SERV DHCP, NAO CONSIGO CONFIGURAR
SE ALGUEM PUDER ME AJUDAR
MEU WPP 21981979959

Jan 11 12:01:01 medical systemd[1]: Starting Session 5 of user root.
-- Subject: Unidade session-5.scope sendo iniciado
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade session-5.scope está sendo iniciada.
Jan 11 12:01:01 medical CROND[1420]: (root) CMD (run-parts /etc/cron.hourly)
Jan 11 12:01:01 medical run-parts(/etc/cron.hourly)[1423]: starting 0anacron
Jan 11 12:01:01 medical run-parts(/etc/cron.hourly)[1429]: finished 0anacron
Jan 11 12:06:56 medical sudo[1440]: root : TTY=pts/0 ; PWD=/root ; USER=root ; COMMAND=/bin/systemctl --system daemon-reload
Jan 11 12:06:56 medical polkitd[694]: Registered Authentication Agent for unix-process:1441:168275 (system bus name :1.40 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedeskto
Jan 11 12:06:56 medical systemd[1]: Reloading.
Jan 11 12:06:56 medical polkitd[694]: Unregistered Authentication Agent for unix-process:1441:168275 (system bus name :1.40, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale pt_B
Jan 11 12:07:21 medical polkitd[694]: Registered Authentication Agent for unix-process:1463:170753 (system bus name :1.41 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedeskto
Jan 11 12:07:21 medical systemd[1]: Starting DHCPv4 Server Daemon...
-- Subject: Unidade dhcpd.service sendo iniciado
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade dhcpd.service está sendo iniciada.
Jan 11 12:07:21 medical dhcpd[1479]: Internet Systems Consortium DHCP Server 4.2.5
Jan 11 12:07:21 medical dhcpd[1479]: Copyright 2004-2013 Internet Systems Consortium.
Jan 11 12:07:21 medical dhcpd[1479]: All rights reserved.
Jan 11 12:07:21 medical dhcpd[1479]: For info, please visit https://www.isc.org/software/dhcp/
Jan 11 12:07:21 medical dhcpd[1479]: /etc/dhcp/dhcpd.conf line 8: semicolon expected.
Jan 11 12:07:21 medical dhcpd[1479]: defalt-lease-time 7200;
Jan 11 12:07:21 medical dhcpd[1479]: ^
Jan 11 12:07:21 medical dhcpd[1479]: /etc/dhcp/dhcpd.conf line 22: unexpected end of file
Jan 11 12:07:21 medical dhcpd[1479]:
Jan 11 12:07:21 medical dhcpd[1479]: ^
Jan 11 12:07:21 medical dhcpd[1479]: Configuration file errors encountered -- exiting
Jan 11 12:07:21 medical dhcpd[1479]:
Jan 11 12:07:21 medical dhcpd[1479]: This version of ISC DHCP is based on the release available
Jan 11 12:07:21 medical dhcpd[1479]: on ftp.isc.org. Features have been added and other changes
Jan 11 12:07:21 medical dhcpd[1479]: have been made to the base software release in order to make
Jan 11 12:07:21 medical dhcpd[1479]: it work better with this distribution.
Jan 11 12:07:21 medical dhcpd[1479]:
Jan 11 12:07:21 medical dhcpd[1479]: Please report for this software via the CentOS Bugs Database:
Jan 11 12:07:21 medical dhcpd[1479]: http://bugs.centos.org/
Jan 11 12:07:21 medical dhcpd[1479]:
Jan 11 12:07:21 medical dhcpd[1479]: exiting.
Jan 11 12:07:21 medical systemd[1]: dhcpd.service: main process exited, code=exited, status=1/FAILURE
Jan 11 12:07:21 medical systemd[1]: Failed to start DHCPv4 Server Daemon.
-- Subject: A unidade dhcpd.service falhou
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade dhcpd.service falhou.
--



  


2. Re: DHCP NÃO SOBE

Renato Carneiro Pacheco
renato_pacheco

(usa Debian)

Enviado em 11/01/2018 - 13:08h

Seu problema tá mais no ler em inglês do que qualquer outra coisa. A msg já está dizendo o q tá errado no seu conf:


Jan 11 12:07:21 medical dhcpd[1479]: /etc/dhcp/dhcpd.conf line 8: semicolon expected.
Jan 11 12:07:21 medical dhcpd[1479]: defalt-lease-time 7200;


O correto é default-lease-time 7200


Jan 11 12:07:21 medical dhcpd[1479]: /etc/dhcp/dhcpd.conf line 22: unexpected end of file
Jan 11 12:07:21 medical dhcpd[1479]:
Jan 11 12:07:21 medical dhcpd[1479]: ^


Elimine as quebra de linhas no fim do arquivo. Faça o teste novamente e, se der mais erros, poste aqui.
--
Renato Carneiro Pacheco
Certificado Linux LPIC-1
Especialista em Segurança em Redes de Computadores
Graduado em Redes de Comunicação

http://br.linkedin.com/in/renatocarneirop
http://www.facebook.com/renatocarneirop

"Não acredite no que eu digo, pois é a minha experiência e não a sua. Experimente, indague e busque." - Osho Rajneesh






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts