OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 17.7 Legacy Series »
  • DHCPv6 Server not starting
« previous next »
  • Print
Pages: [1]

Author Topic: DHCPv6 Server not starting  (Read 3372 times)

ZeJoost

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
DHCPv6 Server not starting
« on: September 29, 2017, 02:55:47 pm »
Hi everybody. I'm a fan of OPNsense since it Fork. But now i'm troubled.

I had a upgrade error to 17.7, but no diggy. I had a backup file, and installation was easy. Restored the backup config and almost everything running.

But now my DHCPv6 server is not running, log shows te following:
Quote
opnsense: /status_services.php: The command '/usr/local/sbin/dhcpd -6 -user dhcpd -group dhcpd -chroot /var/dhcpd -cf /etc/dhcpdv6.conf -pf /var/run/dhcpdv6.pid em1_vlan600 em1_vlan601 em1_vlan602 em1_vlan666' returned exit code '1', the output was 'Internet Systems Consortium DHCP Server 4.3.5 Copyright 2004-2016 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ /etc/dhcpdv6.conf line 26: 2001:****:****:5:192:168:24:3 (262): expecting IP address or hostname option custom-opt5-0 "2001:***:****:5:192:168:24:3" ^ Configuration file errors encountered -- exiting If you think you have received this message due to a bug rather than a configuration issue please read the section on submitting bugs on either our web page at www.isc.org or in the README file before submitting a bug. These pages explain the proper process and the information we find helpful for debugging.. exiting.'

The *** are there for my privacy, I can see the line in de config file, but changing and trying to start brings the same error.

I think I have to change it somewhere else. But I don't know where the address is comming from. It is a static dns entry. Nothing in dhcpv6.

You help would be nice!

Edit:

I have found a way to fix my problem and should share it.

Stopped DHCPv6 server (it already was)
SSH'ed in the Shell of the firewall
Change the faulty line in /var/dhcpd/etc/dhcpdv6.conf
Then executed the command from above error message
DHCPv6 running in dashboard.
Stopped DHCPv6 from there.
Checked config (Still okey!)
Started DHCPv6 from dashboard.

Running :)
« Last Edit: September 29, 2017, 03:38:47 pm by ZeJoost »
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 17.7 Legacy Series »
  • DHCPv6 Server not starting
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2