View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000435 | easycwmp | Help | public | 2021-10-11 10:33 | 2021-10-18 09:55 |
Reporter | houdongfeng | Assigned To | |||
Priority | immediate | Severity | major | Reproducibility | always |
Status | new | Resolution | open | ||
Summary | 0000435: [ubuntu] error occured when trying to write to the pipe | ||||
Description | root@qevk:/bin# /usr/sbin/easycwmpd -f -b 2021-10-11 16:20:13 [easycwmp] NOTICE - add event '0 BOOTSTRAP' 2021-10-11 16:20:13 [easycwmp] NOTICE - add event '1 BOOT' 2021-10-11 16:20:13 [easycwmp] NOTICE - add event '2 PERIODIC' 2021-10-11 16:20:13 [easycwmp] NOTICE - external script init 2021-10-11 16:20:13 [easycwmp] DEBUG - easycwmp.@local[0].logging_level=4 2021-10-11 16:20:13 [easycwmp] DEBUG - easycwmp.@acs[0].url=http://39.106.195.193:9090/ACS-server/ACS/houdongfeng 2021-10-11 16:20:13 [easycwmp] DEBUG - easycwmp.@acs[0].username=acs 2021-10-11 16:20:13 [easycwmp] DEBUG - easycwmp.@acs[0].password=acs 2021-10-11 16:20:13 [easycwmp] DEBUG - easycwmp.@acs[0].periodic_enable=1 2021-10-11 16:20:13 [easycwmp] DEBUG - easycwmp.@acs[0].periodic_interval=100 2021-10-11 16:20:13 [easycwmp] DEBUG - easycwmp.@acs[0].periodic_time=0001-01-01T00:00:00Z 2021-10-11 16:20:13 [easycwmp] NOTICE - init periodic inform: reference time = -62135625943, interval = 100 2021-10-11 16:20:13 [easycwmp] NOTICE - external: execute update_value_change 2021-10-11 16:20:13 [easycwmp] CRITICAL - error occured when trying to write to the pipe 2021-10-11 16:20:13 [easycwmp] CRITICAL - error occured when trying to write to the pipe 2021-10-11 16:20:13 [easycwmp] NOTICE - daemon started 2021-10-11 16:20:13 [easycwmp] NOTICE - external: execute inform device_id 2021-10-11 16:20:13 [easycwmp] CRITICAL - error occured when trying to write to the pipe 2021-10-11 16:20:13 [easycwmp] CRITICAL - error occured when trying to write to the pipe 2021-10-11 16:20:13 [easycwmp] DEBUG - in device you must define product_class 2021-10-11 16:20:13 [easycwmp] NOTICE - external script exit 2021-10-11 16:20:13 [easycwmp] CRITICAL - error occured when trying to write to the pipe 2021-10-11 16:20:13 [easycwmp] NOTICE - add event '1 BOOT' 2021-10-11 16:20:13 [easycwmp] NOTICE - interface eth0 has ip 10.86.37.210 2021-10-11 16:20:13 [easycwmp] DEBUG - +++ HTTP SERVER CONFIGURATION +++ 2021-10-11 16:20:13 [easycwmp] DEBUG - ip: '10.86.37.210' 2021-10-11 16:20:13 [easycwmp] DEBUG - port: '7547' 2021-10-11 16:20:13 [easycwmp] DEBUG - --- HTTP SERVER CONFIGURATION --- 2021-10-11 16:20:13 [easycwmp] NOTICE - http server initialized 2021-10-11 16:20:13 [easycwmp] NOTICE - entering main loop 2021-10-11 16:20:13 [easycwmp] NOTICE - start session 2021-10-11 16:20:13 [easycwmp] DEBUG - +++ HTTP CLIENT CONFIGURATION +++ 2021-10-11 16:20:13 [easycwmp] DEBUG - url: http://39.106.195.193:9090/ACS-server/ACS/houdongfeng 2021-10-11 16:20:13 [easycwmp] DEBUG - ssl_verify: SSL certificate validation disabled. 2021-10-11 16:20:13 [easycwmp] DEBUG - --- HTTP CLIENT CONFIGURATION --- 2021-10-11 16:20:13 [easycwmp] NOTICE - configured acs url http://39.106.195.193:9090/ACS-server/ACS/houdongfeng 2021-10-11 16:20:13 [easycwmp] NOTICE - external script init 2021-10-11 16:20:13 [easycwmp] DEBUG - Inform xml message creating failed 2021-10-11 16:20:13 [easycwmp] NOTICE - sending Inform failed 2021-10-11 16:20:13 [easycwmp] NOTICE - external: execute apply service 2021-10-11 16:20:13 [easycwmp] CRITICAL - error occured when trying to write to the pipe 2021-10-11 16:20:13 [easycwmp] CRITICAL - error occured when trying to write to the pipe 2021-10-11 16:20:13 [easycwmp] NOTICE - external script exit 2021-10-11 16:20:13 [easycwmp] CRITICAL - error occured when trying to write to the pipe 2021-10-11 16:20:13 [easycwmp] NOTICE - end session failed 2021-10-11 16:20:13 [easycwmp] NOTICE - retry session in 7 sec, RetryCount = 1 2021-10-11 16:20:20 [easycwmp] NOTICE - start session 2021-10-11 16:20:20 [easycwmp] DEBUG - +++ HTTP CLIENT CONFIGURATION +++ 2021-10-11 16:20:20 [easycwmp] DEBUG - url: http://39.106.195.193:9090/ACS-server/ACS/houdongfeng 2021-10-11 16:20:20 [easycwmp] DEBUG - ssl_verify: SSL certificate validation disabled. 2021-10-11 16:20:20 [easycwmp] DEBUG - --- HTTP CLIENT CONFIGURATION --- 2021-10-11 16:20:20 [easycwmp] NOTICE - configured acs url http://39.106.195.193:9090/ACS-server/ACS/houdongfeng 2021-10-11 16:20:20 [easycwmp] NOTICE - external script init 2021-10-11 16:20:20 [easycwmp] DEBUG - Inform xml message creating failed 2021-10-11 16:20:20 [easycwmp] NOTICE - sending Inform failed 2021-10-11 16:20:20 [easycwmp] NOTICE - external: execute apply service 2021-10-11 16:20:20 [easycwmp] CRITICAL - error occured when trying to write to the pipe 2021-10-11 16:20:20 [easycwmp] CRITICAL - error occured when trying to write to the pipe 2021-10-11 16:20:20 [easycwmp] NOTICE - external script exit 2021-10-11 16:20:20 [easycwmp] CRITICAL - error occured when trying to write to the pipe 2021-10-11 16:20:20 [easycwmp] NOTICE - end session failed 2021-10-11 16:20:20 [easycwmp] NOTICE - retry session in 15 sec, RetryCount = 2 2021-10-11 16:20:35 [easycwmp] NOTICE - start session 2021-10-11 16:20:35 [easycwmp] DEBUG - +++ HTTP CLIENT CONFIGURATION +++ 2021-10-11 16:20:35 [easycwmp] DEBUG - url: http://39.106.195.193:9090/ACS-server/ACS/houdongfeng 2021-10-11 16:20:35 [easycwmp] DEBUG - ssl_verify: SSL certificate validation disabled. 2021-10-11 16:20:35 [easycwmp] DEBUG - --- HTTP CLIENT CONFIGURATION --- 2021-10-11 16:20:35 [easycwmp] NOTICE - configured acs url http://39.106.195.193:9090/ACS-server/ACS/houdongfeng 2021-10-11 16:20:35 [easycwmp] NOTICE - external script init 2021-10-11 16:20:35 [easycwmp] DEBUG - Inform xml message creating failed 2021-10-11 16:20:35 [easycwmp] NOTICE - sending Inform failed 2021-10-11 16:20:35 [easycwmp] NOTICE - external: execute apply service 2021-10-11 16:20:35 [easycwmp] CRITICAL - error occured when trying to write to the pipe 2021-10-11 16:20:35 [easycwmp] CRITICAL - error occured when trying to write to the pipe 2021-10-11 16:20:35 [easycwmp] NOTICE - external script exit 2021-10-11 16:20:35 [easycwmp] CRITICAL - error occured when trying to write to the pipe 2021-10-11 16:20:35 [easycwmp] NOTICE - end session failed 2021-10-11 16:20:35 [easycwmp] NOTICE - retry session in 30 sec, RetryCount = 3 | ||||
Steps To Reproduce | easycwmp version:1.8.6 json-c version:0.11 curl version:7.73.0 ubus :commit f361bfa5fcb2daadf3b160583ce665024f8d108e Date: Wed May 13 13:52:22 2015 +0800 uci :commit 4b3db1179747b6a6779029407984bacef851325c Date: Mon Apr 12 16:05:52 2021 +0200 microxml version: commit 80a15162f3a8318c70e8688d8ecbfc38676bd9a2 Date: Thu Jun 14 10:01:48 2018 +0100 libubox version: commit d716ac4bc4236031d4c3cc1ed362b502e20e3787 Date: Thu Aug 19 08:47:04 2021 +0200 | ||||
Tags | No tags attached. | ||||
e-mail notification | |||||
|
Could you please share the output of the following command: /usr/sbin/easycwmp --json get value Device. |
|
root@imx8mqevk:~# bash /usr/sbin/easycwmp -–json get value Device. USAGE: /usr/sbin/easycwmp command [parameter] [values] command: get [value|notification|name] set [value|notification] apply [value|notification|object|service] add [object] delete [object] download upload factory_reset reboot inform [parameter|device_id] --json-input invalid action '-–json' root@imx8mqevk:~# bash /usr/sbin/easycwmp get value Device. root@imx8mqevk:~# |
|
there was error in your command in the argument '-–json' Please try it with: /usr/sbin/easycwmp get value Device. |
|
try to change this line in /usr/sbin/easycwmp (in the bottom of the file): handle_action 2>/dev/null to handle_action this will display the errors |
|
root@imx8mqevk:/usr/share/libubox# /usr/sbin/easycwmp get value Device. /usr/share/libubox/jshn.sh: line 188: jshn: command not found /usr/share/libubox/jshn.sh: line 188: jshn: command not found /usr/share/libubox/jshn.sh: line 188: jshn: command not found /usr/share/libubox/jshn.sh: line 188: jshn: command not found /usr/share/libubox/jshn.sh: line 188: jshn: command not found /usr/share/libubox/jshn.sh: line 188: jshn: command not found /usr/share/libubox/jshn.sh: line 188: jshn: command not found /usr/share/libubox/jshn.sh: line 188: jshn: command not found /usr/share/libubox/jshn.sh: line 188: jshn: command not found /usr/share/libubox/jshn.sh: line 188: jshn: command not found /usr/share/libubox/jshn.sh: line 188: jshn: command not found /usr/share/libubox/jshn.sh: line 188: jshn: command not found |
|
2021-01-04 14:42:46 [easycwmp] NOTICE - external script init 2021-01-04 14:42:47 [easycwmp] DEBUG - easycwmp.@local[0].logging_level=4 2021-01-04 14:42:47 [easycwmp] DEBUG - easycwmp.@acs[0].url=http://39.106.195.193:9090/ACS-server/ACS/houdongfeng 2021-01-04 14:42:47 [easycwmp] DEBUG - easycwmp.@acs[0].username=acs 2021-01-04 14:42:47 [easycwmp] DEBUG - easycwmp.@acs[0].password=acs 2021-01-04 14:42:47 [easycwmp] DEBUG - easycwmp.@acs[0].periodic_enable=1 2021-01-04 14:42:47 [easycwmp] DEBUG - easycwmp.@acs[0].periodic_interval=100 2021-01-04 14:42:47 [easycwmp] DEBUG - easycwmp.@acs[0].periodic_time=0001-01-01T00:00:00Z 2021-01-04 14:42:47 [easycwmp] NOTICE - add event '0 BOOTSTRAP' 2021-01-04 14:42:47 [easycwmp] NOTICE - init periodic inform: reference time = -62135625943, interval = 100 2021-01-04 14:42:47 [easycwmp] NOTICE - external: execute update_value_change ^C2021-01-04 14:46:16 [easycwmp] NOTICE - daemon started 2021-01-04 14:46:16 [easycwmp] NOTICE - external: execute inform device_id 2021-01-04 14:46:16 [easycwmp] DEBUG - in device you must define product_class 2021-01-04 14:46:16 [easycwmp] NOTICE - external script exit 2021-01-04 14:46:16 [easycwmp] CRITICAL - error occured when trying to write to the pipe 2021-01-04 14:46:16 [easycwmp] NOTICE - add event '1 BOOT' 2021-01-04 14:46:16 [easycwmp] NOTICE - interface eth0 has ip 10.86.37.209 2021-01-04 14:46:16 [easycwmp] DEBUG - +++ HTTP SERVER CONFIGURATION +++ 2021-01-04 14:46:16 [easycwmp] DEBUG - ip: '10.86.37.209' 2021-01-04 14:46:16 [easycwmp] DEBUG - port: '7547' 2021-01-04 14:46:16 [easycwmp] DEBUG - --- HTTP SERVER CONFIGURATION --- 2021-01-04 14:46:16 [easycwmp] NOTICE - http server initialized 2021-01-04 14:46:16 [easycwmp] NOTICE - entering main loop 2021-01-04 14:46:16 [easycwmp] NOTICE - add event '2 PERIODIC' 2021-01-04 14:46:16 [easycwmp] NOTICE - start session 2021-01-04 14:46:16 [easycwmp] DEBUG - +++ HTTP CLIENT CONFIGURATION +++ 2021-01-04 14:46:16 [easycwmp] DEBUG - url: http://39.106.195.193:9090/ACS-server/ACS/houdongfeng 2021-01-04 14:46:16 [easycwmp] DEBUG - ssl_verify: SSL certificate validation disabled. 2021-01-04 14:46:16 [easycwmp] DEBUG - --- HTTP CLIENT CONFIGURATION --- 2021-01-04 14:46:16 [easycwmp] NOTICE - configured acs url http://39.106.195.193:9090/ACS-server/ACS/houdongfeng 2021-01-04 14:46:16 [easycwmp] NOTICE - external script init 2021-01-04 14:46:16 [easycwmp] DEBUG - Inform xml message creating failed 2021-01-04 14:46:16 [easycwmp] NOTICE - sending Inform failed 2021-01-04 14:46:16 [easycwmp] NOTICE - external: execute apply service 2021-01-04 14:46:16 [easycwmp] NOTICE - external script exit 2021-01-04 14:46:16 [easycwmp] NOTICE - end session failed 2021-01-04 14:46:16 [easycwmp] NOTICE - retry session in 7 sec, RetryCount = 1 2021-01-04 14:46:23 [easycwmp] NOTICE - start session |
|
and root@imx8mqevk:~# /usr/sbin/easycwmp get value Device. { "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": "667", "type": "xsd:unsignedInt" } { "parameter": "Device.DeviceInfo.DeviceLog", "value": "" } { "parameter": "Device.DeviceInfo.MemoryStatus.Total", "value": "3070560" } { "parameter": "Device.DeviceInfo.MemoryStatus.Free", "value": "2615040" } |
Date Modified | Username | Field | Change |
---|---|---|---|
2021-10-11 10:33 | houdongfeng | New Issue | |
2021-10-12 19:48 | mohamed.kallel | Note Added: 0001037 | |
2021-10-15 05:34 | houdongfeng | Note Added: 0001038 | |
2021-10-15 12:44 | mohamed.kallel | Note Added: 0001039 | |
2021-10-15 12:47 | mohamed.kallel | Note Added: 0001040 | |
2021-10-18 04:37 | houdongfeng | Note Added: 0001041 | |
2021-10-18 09:52 | houdongfeng | Note Added: 0001042 | |
2021-10-18 09:55 | houdongfeng | Note Added: 0001043 |