Привет! После обновления USG с версии 4.4.18 до 4.4.21 мой config.gateway.json перестал работать, и USG зависает в процессе настройки.
config.gateway.json:
{
"service": {
"dhcp-server": {
"shared-network-name": {
"net_Users_192.168.10.0-24": {
"subnet": {
"192.168.10.0/24": {
"static-mapping": {
"cc-6d-a0-eb-24-0e": {
"mac-address": "cc:6d:a0:eb:24:0e",
"static-mapping-parameters": [
"option domain-name-servers 82.103.129.240, 46.246.29.68;"
]
}
}
}
}
}
}
}
}
}
Ошибки:
configuration commit error. Error message: { "COMMIT" : { "error" : "\ufffe[ service dhcp-server ]\nUndefined subroutine &main::decode_entities called at /opt/vyatta/sbin/dhcpd-config.pl line 805.\n\n\uffff0\nCommit failed\n" , "failure" : "1" , "success" : "1"} , "DELETE" : { "failure" : "0" , "success" : "1"} , "SESSION_ID" : "41778057caa9512a61573911d6" , "SET" : { "failure" : "0" , "success" : "1"}}
configuration commit error. Error message: { "COMMIT" : { "error" : "\ufffe[ interfaces ethernet eth3 dhcp-options ]\nRenewing DHCP lease on eth3 ...\n\n\uffff1\n\ufffe[ interfaces ethernet eth2 dhcp-options ]\nRenewing DHCP lease on eth2 ...\n\n\uffff1\n\ufffe[ service gui ]\nStarting the GUI service.\nWarning - the service might have not started properly:\nDuplicate config variable in conditional 0 global: url.rewrite-once\n2018-05-05 20:02:28: (configfile.c.957) source: /etc/lighttpd/lighttpd.conf line: 44 pos: 1 parser failed somehow near here: (EOL) \n\n\uffff1\n\ufffe[ service dhcp-server ]\nUndefined subroutine &main::decode_entities called at /opt/vyatta/sbin/dhcpd-config.pl line 805.\n\n\uffff0\nCommit failed\n" , "failure" : "1" , "success" : "1"} , "DELETE" : { "failure" : "0" , "success" : "1"} , "SESSION_ID" : "41778057caa9512a61573911d6" , "SET" : { "failure" : "0" , "success" : "1"}}
Этот config.gateway.json отлично работал до версии 4.4.21, что изменилось?
С уважением, Даниэль
config.gateway.json:
{
"service": {
"dhcp-server": {
"shared-network-name": {
"net_Users_192.168.10.0-24": {
"subnet": {
"192.168.10.0/24": {
"static-mapping": {
"cc-6d-a0-eb-24-0e": {
"mac-address": "cc:6d:a0:eb:24:0e",
"static-mapping-parameters": [
"option domain-name-servers 82.103.129.240, 46.246.29.68;"
]
}
}
}
}
}
}
}
}
}
Ошибки:
configuration commit error. Error message: { "COMMIT" : { "error" : "\ufffe[ service dhcp-server ]\nUndefined subroutine &main::decode_entities called at /opt/vyatta/sbin/dhcpd-config.pl line 805.\n\n\uffff0\nCommit failed\n" , "failure" : "1" , "success" : "1"} , "DELETE" : { "failure" : "0" , "success" : "1"} , "SESSION_ID" : "41778057caa9512a61573911d6" , "SET" : { "failure" : "0" , "success" : "1"}}
configuration commit error. Error message: { "COMMIT" : { "error" : "\ufffe[ interfaces ethernet eth3 dhcp-options ]\nRenewing DHCP lease on eth3 ...\n\n\uffff1\n\ufffe[ interfaces ethernet eth2 dhcp-options ]\nRenewing DHCP lease on eth2 ...\n\n\uffff1\n\ufffe[ service gui ]\nStarting the GUI service.\nWarning - the service might have not started properly:\nDuplicate config variable in conditional 0 global: url.rewrite-once\n2018-05-05 20:02:28: (configfile.c.957) source: /etc/lighttpd/lighttpd.conf line: 44 pos: 1 parser failed somehow near here: (EOL) \n\n\uffff1\n\ufffe[ service dhcp-server ]\nUndefined subroutine &main::decode_entities called at /opt/vyatta/sbin/dhcpd-config.pl line 805.\n\n\uffff0\nCommit failed\n" , "failure" : "1" , "success" : "1"} , "DELETE" : { "failure" : "0" , "success" : "1"} , "SESSION_ID" : "41778057caa9512a61573911d6" , "SET" : { "failure" : "0" , "success" : "1"}}
Этот config.gateway.json отлично работал до версии 4.4.21, что изменилось?
С уважением, Даниэль
