View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000436 | easycwmp | Help | public | 2021-10-25 08:46 | 2021-10-25 08:46 |
Reporter | houdongfeng | Assigned To | |||
Priority | urgent | Severity | major | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | aarch64-linux-gnu | OS | Linux | OS Version | version 4.14.98 |
Summary | 0000436: Inform xml message creating failed | ||||
Description | Follow the instructions of “https://easycwmp.org/tutorial/” after setting Run command “sudo bash easycwmp get value”, and the command is not returned。Can end with Ctrl + C. root@imx8mqevk:~# sudo bash easycwmp get value { "parameter": "Device.DeviceInfo.SpecVersion", "value": "1.0" } { "parameter": "Device.DeviceInfo.ProvisioningCode", "value": "" } { "parameter": "Device.DeviceInfo.Manufacturer", "value": "easycwmp" } { "parameter": "Device.DeviceInfo.ManufacturerOUI", "value": "FFFFFF" } { "parameter": "Device.DeviceInfo.ProductClass", "value": "easycwmp" } { "parameter": "Device.DeviceInfo.SerialNumber", "value": "FFFFFF123456" } { "parameter": "Device.DeviceInfo.HardwareVersion", "value": "example_hw_version" } { "parameter": "Device.DeviceInfo.SoftwareVersion", "value": "example_sw_version" } { "parameter": "Device.DeviceInfo.UpTime", "value": "1991", "type": "xsd:unsignedInt" } { "parameter": "Device.DeviceInfo.DeviceLog", "value": "" } { "parameter": "Device.DeviceInfo.MemoryStatus.Total", "value": "3070560" } { "parameter": "Device.DeviceInfo.MemoryStatus.Free", "value": "2617664" } Run command “/usr/sbin/easycwmpd -f -b”,The following error occurs: 2021-01-11 13:39:38 [easycwmp] DEBUG - Inform xml message creating failed 2021-01-11 13:39:38 [easycwmp] NOTICE - sending Inform failed ... 2021-01-11 13:39:38 [easycwmp] CRITICAL - error occured when trying to write to the pipe 2021-01-11 13:39:38 [easycwmp] CRITICAL - error occured when trying to write to the pipe 2021-01-11 13:39:38 [easycwmp] NOTICE - external script exit 2021-01-11 13:39:38 [easycwmp] CRITICAL - error occured when trying to write to the pipe 2021-01-11 13:39:38 [easycwmp] NOTICE - end session failed root@imx8mqevk:~# /usr/sbin/easycwmpd -f -b 2021-01-11 13:39:38 [easycwmp] NOTICE - add event '0 BOOTSTRAP' 2021-01-11 13:39:38 [easycwmp] NOTICE - add event '1 BOOT' 2021-01-11 13:39:38 [easycwmp] NOTICE - add event '2 PERIODIC' 2021-01-11 13:39:38 [easycwmp] NOTICE - external script init 2021-01-11 13:39:38 [easycwmp] DEBUG - easycwmp.@local[0].logging_level=4 2021-01-11 13:39:38 [easycwmp] DEBUG - easycwmp.@acs[0].url=http://39.106.195.193:9090/ACS-server/ACS/houdongfeng 2021-01-11 13:39:38 [easycwmp] DEBUG - easycwmp.@acs[0].username=acs 2021-01-11 13:39:38 [easycwmp] DEBUG - easycwmp.@acs[0].password=acs 2021-01-11 13:39:38 [easycwmp] DEBUG - easycwmp.@acs[0].periodic_enable=1 2021-01-11 13:39:38 [easycwmp] DEBUG - easycwmp.@acs[0].periodic_interval=100 2021-01-11 13:39:38 [easycwmp] DEBUG - easycwmp.@acs[0].periodic_time=0001-01-01T00:00:00Z 2021-01-11 13:39:38 [easycwmp] NOTICE - init periodic inform: reference time = -62135625943, interval = 100 2021-01-11 13:39:38 [easycwmp] NOTICE - external: execute update_value_change 2021-01-11 13:39:38 [easycwmp] CRITICAL - error occured when trying to write to the pipe 2021-01-11 13:39:38 [easycwmp] CRITICAL - error occured when trying to write to the pipe 2021-01-11 13:39:38 [easycwmp] NOTICE - daemon started 2021-01-11 13:39:38 [easycwmp] NOTICE - external: execute inform device_id 2021-01-11 13:39:38 [easycwmp] CRITICAL - error occured when trying to write to the pipe 2021-01-11 13:39:38 [easycwmp] CRITICAL - error occured when trying to write to the pipe 2021-01-11 13:39:38 [easycwmp] DEBUG - in device you must define product_class 2021-01-11 13:39:38 [easycwmp] NOTICE - external script exit 2021-01-11 13:39:38 [easycwmp] CRITICAL - error occured when trying to write to the pipe 2021-01-11 13:39:38 [easycwmp] NOTICE - add event '1 BOOT' 2021-01-11 13:39:38 [easycwmp] NOTICE - interface eth0 has ip 10.86.37.209 2021-01-11 13:39:38 [easycwmp] DEBUG - +++ HTTP SERVER CONFIGURATION +++ 2021-01-11 13:39:38 [easycwmp] DEBUG - ip: '10.86.37.209' 2021-01-11 13:39:38 [easycwmp] DEBUG - port: '7547' 2021-01-11 13:39:38 [easycwmp] DEBUG - --- HTTP SERVER CONFIGURATION --- 2021-01-11 13:39:38 [easycwmp] NOTICE - http server initialized 2021-01-11 13:39:38 [easycwmp] NOTICE - entering main loop 2021-01-11 13:39:38 [easycwmp] NOTICE - start session 2021-01-11 13:39:38 [easycwmp] DEBUG - +++ HTTP CLIENT CONFIGURATION +++ 2021-01-11 13:39:38 [easycwmp] DEBUG - url: http://39.106.195.193:9090/ACS-server/ACS/houdongfeng 2021-01-11 13:39:38 [easycwmp] DEBUG - ssl_verify: SSL certificate validation disabled. 2021-01-11 13:39:38 [easycwmp] DEBUG - --- HTTP CLIENT CONFIGURATION --- 2021-01-11 13:39:38 [easycwmp] NOTICE - configured acs url http://39.106.195.193:9090/ACS-server/ACS/houdongfeng 2021-01-11 13:39:38 [easycwmp] NOTICE - external script init 2021-01-11 13:39:38 [easycwmp] DEBUG - Inform xml message creating failed 2021-01-11 13:39:38 [easycwmp] NOTICE - sending Inform failed 2021-01-11 13:39:38 [easycwmp] NOTICE - external: execute apply service 2021-01-11 13:39:38 [easycwmp] CRITICAL - error occured when trying to write to the pipe 2021-01-11 13:39:38 [easycwmp] CRITICAL - error occured when trying to write to the pipe 2021-01-11 13:39:38 [easycwmp] NOTICE - external script exit 2021-01-11 13:39:38 [easycwmp] CRITICAL - error occured when trying to write to the pipe 2021-01-11 13:39:38 [easycwmp] NOTICE - end session failed 2021-01-11 13:39:38 [easycwmp] NOTICE - retry session in 7 sec, RetryCount = 1 | ||||
Additional Information | Setting Command: #!/bin/sh sh remount_to_rw.sh sudo ln -sf /mnt/data/TR069/json-c/include/json-c/ /usr/include/json sudo ln -sf /mnt/data/TR069/json-c/lib/libjson-c.so /usr/lib/libjson-c.so sudo ln -sf /mnt/data/TR069/json-c/lib/libjson-c.so.5 /usr/lib/libjson-c.so.5 sudo ln -sf /mnt/data/TR069/json-c/lib/libjson-c.so.5.1 /usr/lib/libjson-c.so.5.1 sudo ln -sf /mnt/data/TR069/json-c/lib/libjson-c.so.5.1.0 /usr/lib/libjson-c.so.5.1.0 sudo mkdir -p /usr/share/libubox sudo ln -sf /mnt/data/TR069/libubox/lib/libubox.so /usr/lib/libubox.so sudo ln -sf /mnt/data/TR069/libubox/share/libubox/jshn.sh /usr/share/libubox/jshn.sh sudo ln -sf /mnt/data/TR069/libubox/bin/jshn /sbin/jshn sudo chmod 777 /sbin/jshn sudo ln -sf /mnt/data/TR069/libubox/lib/libblobmsg_json.so /usr/lib/libblobmsg_json.so sudo ln -sf /mnt/data/TR069/uci/bin/uci /sbin/uci sudo ln -sf /mnt/data/TR069/uci/lib/libuci.so /usr/lib/libuci.so sudo chmod +x /mnt/data/TR069/ubus/sbin/ubusd sudo ln -sf /mnt/data/TR069/ubus/sbin/ubusd /usr/sbin/ubusd sudo ln -sf /mnt/data/TR069/ubus/lib/libubus.so /usr/lib/libubus.so sudo ln -sf /mnt/data/TR069/microxml/lib/libmicroxml.so /lib/libmicroxml.so sudo ln -sf /mnt/data/TR069/microxml/lib/libmicroxml.so.1 /lib/libmicroxml.so.1 sudo ln -sf /mnt/data/TR069/microxml/lib/libmicroxml.so.1.0 lib/libmicroxml.so.1.0 sudo mkdir -p /usr/share/easycwmp/functions sudo mkdir -p /etc/easycwmp sudo ln -sf /mnt/data/TR069/easycwmp/ext/openwrt/scripts/easycwmp.sh /usr/sbin/easycwmp sudo ln -sf /mnt/data/TR069/easycwmp/ext/openwrt/scripts/defaults /usr/share/easycwmp/defaults sudo ln -sf /mnt/data/TR069/easycwmp/ext/openwrt/scripts/functions/common/common /usr/share/easycwmp/functions/common sudo ln -sf /mnt/data/TR069/easycwmp/ext/openwrt/scripts/functions/common/device_info /usr/share/easycwmp/functions/device_info sudo ln -sf /mnt/data/TR069/easycwmp/ext/openwrt/scripts/functions/common/management_server /usr/share/easycwmp/functions/management_server sudo ln -sf /mnt/data/TR069/easycwmp/ext/openwrt/scripts/functions/common/ipping_launch /usr/share/easycwmp/functions/ipping_launch sudo ln -sf /mnt/data/TR069/easycwmp/ext/openwrt/scripts/functions/tr181/root /usr/share/easycwmp/functions/root sudo ln -sf /mnt/data/TR069/easycwmp/ext/openwrt/scripts/functions/tr181/ip /usr/share/easycwmp/functions/ip sudo ln -sf /mnt/data/TR069/easycwmp/ext/openwrt/scripts/functions/tr181/ipping_diagnostic /usr/share/easycwmp/functions/ipping_diagnostic sudo chmod +x /mnt/data/TR069/easycwmp/bin/easycwmpd sudo chmod +x /mnt/data/TR069/easycwmp/ext/openwrt/scripts/functions/* sudo mkdir /etc/config sudo ln -sf /mnt/data/TR069/easycwmp/ext/openwrt/config/easycwmp /etc/config/easycwmp sudo ln -sf /mnt/data/TR069/easycwmp/bin/easycwmpd /usr/sbin/easycwmpd export UCI_CONFIG_DIR="/mnt/data/TR069/easycwmp/ext/openwrt/config/" export UBUS_SOCKET="/var/run/ubus.sock" sudo mkdir -p /lib/{config,functions} sudo wget http://pastebin.lukaperkov.net/openwrt/20121219_lib_functions.sh -O /lib/functions.sh sudo wget http://pastebin.lukaperkov.net/openwrt/20121219_lib_config_uci.sh -O /lib/config/uci.sh sudo wget http://pastebin.lukaperkov.net/openwrt/20121219_lib_functions_network.sh -O /lib/functions/network.sh export PATH=$PATH:/usr/sbin:/sbin sudo ln -sf bash /bin/sh | ||||
Tags | No tags attached. | ||||
e-mail notification | |||||
Date Modified | Username | Field | Change |
---|---|---|---|
2021-10-25 08:46 | houdongfeng | New Issue |