Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Serviço DHCP interrompido

    Scheduled Pinned Locked Moved Portuguese
    4 Posts 2 Posters 1.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      andersonsti
      last edited by

      Prezados, bom dia.
      Finalizei a instalação do Pfsense 2.3 criei uma V-lan pra teste configurei o DHCP, tudo certo.
      Agora estamos com 14 V-lans criadas com DHCP ativado em todas, mas o serviço DHCP esta parado, em status ele mostra: " dhcpd Serviço DHCP Interrompido " clico na opção de iniciar o serviço, ele me retorna a mensagem: " dhcpd foi iniciado " mas no status permanece como interrompido, mesmo reiniciando o servidor o status é o mesmo.
      Alguém já pegou este problema?

      No aguardo.

      Obrigado.

      1 Reply Last reply Reply Quote 0
      • A
        andersonsti
        last edited by

        Prezados, segue o log pra ver se alguém consegue ajudar.

        May 18 09:47:16 dhcpd process and the information we find helpful for debugging..
        May 18 09:47:16 dhcpd before submitting a bug. These pages explain the proper
        May 18 09:47:16 dhcpd bugs on either our web page at www.isc.org or in the README file
        May 18 09:47:16 dhcpd than a configuration issue please read the section on submitting
        May 18 09:47:16 dhcpd If you think you have received this message due to a bug rather
        May 18 09:47:16 dhcpd                /var/db/dhcpd.leases line 0: whitespace too long, buffer overflow.
        May 18 09:47:16 dhcpd Internet Systems Consortium DHCP Server 4.3.3-P1
        May 18 09:47:16 dhcpd PID file: /var/run/dhcpd.pid
        May 18 09:47:16 dhcpd Database file: /var/db/dhcpd.leases
        May 18 09:47:16 dhcpd Config file: /etc/dhcpd.conf

        1 Reply Last reply Reply Quote 0
        • N
          neobr
          last edited by

          Vc está rodando num appliance ou num servidor? Eu particularmente nunca tive mais de 2 ou 3 redes com DHCP ativo no mesmo servidor, talvez a quantidade seja o problema.

          No log há a linha:

          "/var/db/dhcpd.leases line 0: whitespace too long, buffer overflow."

          Talvez o serviço esteja sem recursos para se manter ativo ou sem espaço/permissão para gravar o log.

          Minha sugestão é desativar todos os escopos DHCP nas VLAN´s e ir ativando uma a uma pra ver em qual (ou a partir de qual) dá problema. De repente pode ser só alguma configuração bagunçada.

          []´s
          Eduardo.

          1 Reply Last reply Reply Quote 0
          • A
            andersonsti
            last edited by

            Prezados, bom dia.
            Segue solução efetuada.
            Conforme o log havia um espaço em branco muito grande no arquivo dhcpd.leases
            Antes de efetuar este procedimento criei um backup do arquivo dhcpd.leases com o comando cp dhcpd.leases dhcpd.leases.bkp
            Entrei no arquivo, e com o comando :set number foi possível verificar 11855 linhas em branco no arquivo.
            Deletei todas as linha em branco com o comando d11855d salvei o arquivo, reiniciei o serviço e o mesmo estabilizou.

            Caso alguém precise, está aí a solução.

            Obrigado.

            1 Reply Last reply Reply Quote 1
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.