EasyCwmp - easycwmp
View Issue Details
0000373easycwmp[All Projects] Helppublic2019-04-02 10:212019-04-02 10:27
orion829 
 
highmajoralways
newopen 
ARMUbuntuLinaro 14.04
0000373: The same issue as #issue0000161
Hello,

I have the same log as #issue0000161 but there is no exact solution
It shows "[easycwmp] CRITICAL - error occured when trying to write to the pipe"

I tried command "sudo easycwmp get value" but got nothing
Run easycwmpd as root
No tags attached.
Issue History
2019-04-02 10:21orion829New Issue
2019-04-02 10:27orion829Note Added: 0000930

Notes
(0000930)
orion829   
2019-04-02 10:27   
This is the log i got

analog@analog:/opt/dev/easycwmp$ sudo /usr/sbin/easycwmpd -f -b
2019-04-02 08:24:45 [easycwmp] NOTICE - add event '0 BOOTSTRAP'
2019-04-02 08:24:45 [easycwmp] NOTICE - add event '1 BOOT'
2019-04-02 08:24:45 [easycwmp] NOTICE - add event '2 PERIODIC'
2019-04-02 08:24:45 [easycwmp] NOTICE - external script init
config_init_local(59):: easycwmp.@local[0].interface=eth0
config_init_local(69):: easycwmp.@local[0].port=7547
config_init_local(87):: easycwmp.@local[0].ubus_socket=/var/run/ubus.sock
config_init_local(75):: easycwmp.@local[0].username=easycwmp
config_init_local(81):: easycwmp.@local[0].password=easycwmp
config_init_local(109):: easycwmp.@local[0].authentication=Digest
config_init_local(98):: easycwmp.@local[0].logging_level=3
config_init_acs(174):: easycwmp.@acs[0].url=http://192.168.0.100:8080/libreacs/acs [^]
config_init_acs(180):: easycwmp.@acs[0].username=easycwmp
config_init_acs(186):: easycwmp.@acs[0].password=easycwmp
config_init_acs(192):: easycwmp.@acs[0].periodic_enable=1
config_init_acs(198):: easycwmp.@acs[0].periodic_interval=100
config_init_acs(205):: easycwmp.@acs[0].periodic_time=0001-01-01T00:00:00Z
2019-04-02 08:24:45 [easycwmp] NOTICE - init periodic inform: reference time = n/a, interval = 100
2019-04-02 08:24:45 [easycwmp] NOTICE - external: execute update_value_change
2019-04-02 08:24:45 [easycwmp] NOTICE - daemon started
2019-04-02 08:24:45 [easycwmp] NOTICE - external: execute inform device_id
cwmp_init_deviceid(642): in device you must define product_class
2019-04-02 08:24:45 [easycwmp] NOTICE - external script exit
2019-04-02 08:24:45 [easycwmp] NOTICE - add event '1 BOOT'
2019-04-02 08:24:45 [easycwmp] NOTICE - interface eth0 has ip 192.168.0.99
main(324): ubus initialization failed
+++ HTTP SERVER CONFIGURATION +++
ip: '192.168.0.99'
port: '7547'
--- HTTP SERVER CONFIGURATION ---
2019-04-02 08:24:45 [easycwmp] NOTICE - http server initialized
2019-04-02 08:24:45 [easycwmp] NOTICE - entering main loop
2019-04-02 08:24:45 [easycwmp] NOTICE - start session
+++ HTTP CLIENT CONFIGURATION +++
http_client_init(51):: url: http://192.168.0.100:8080/libreacs/acs [^]
http_client_init(57):: ssl_verify: SSL certificate validation disabled.
--- HTTP CLIENT CONFIGURATION ---
2019-04-02 08:24:45 [easycwmp] NOTICE - configured acs url http://192.168.0.100:8080/libreacs/acs [^]
2019-04-02 08:24:45 [easycwmp] NOTICE - external script init
rpc_inform(208): Inform xml message creating failed
2019-04-02 08:24:45 [easycwmp] NOTICE - sending Inform failed
2019-04-02 08:24:45 [easycwmp] NOTICE - external: execute apply service
2019-04-02 08:24:45 [easycwmp] NOTICE - external script exit
2019-04-02 08:24:45 [easycwmp] CRITICAL - error occured when trying to write to the pipe
2019-04-02 08:24:45 [easycwmp] NOTICE - end session failed
2019-04-02 08:24:45 [easycwmp] NOTICE - retry session in 7 sec, RetryCount = 1
2019-04-02 08:24:52 [easycwmp] NOTICE - start session
+++ HTTP CLIENT CONFIGURATION +++
http_client_init(51):: url: http://192.168.0.100:8080/libreacs/acs [^]
http_client_init(57):: ssl_verify: SSL certificate validation disabled.
--- HTTP CLIENT CONFIGURATION ---
2019-04-02 08:24:52 [easycwmp] NOTICE - configured acs url http://192.168.0.100:8080/libreacs/acs [^]
2019-04-02 08:24:52 [easycwmp] NOTICE - external script init
rpc_inform(208): Inform xml message creating failed
2019-04-02 08:24:52 [easycwmp] NOTICE - sending Inform failed
2019-04-02 08:24:52 [easycwmp] NOTICE - external: execute apply service
2019-04-02 08:24:52 [easycwmp] NOTICE - external script exit
2019-04-02 08:24:52 [easycwmp] CRITICAL - error occured when trying to write to the pipe
2019-04-02 08:24:52 [easycwmp] NOTICE - end session failed
2019-04-02 08:24:52 [easycwmp] NOTICE - retry session in 15 sec, RetryCount = 2
2019-04-02 08:25:07 [easycwmp] NOTICE - start session
+++ HTTP CLIENT CONFIGURATION +++
http_client_init(51):: url: http://192.168.0.100:8080/libreacs/acs [^]
http_client_init(57):: ssl_verify: SSL certificate validation disabled.
--- HTTP CLIENT CONFIGURATION ---
2019-04-02 08:25:07 [easycwmp] NOTICE - configured acs url http://192.168.0.100:8080/libreacs/acs [^]
2019-04-02 08:25:07 [easycwmp] NOTICE - external script init
rpc_inform(208): Inform xml message creating failed
2019-04-02 08:25:08 [easycwmp] NOTICE - sending Inform failed
2019-04-02 08:25:08 [easycwmp] NOTICE - external: execute apply service
2019-04-02 08:25:08 [easycwmp] NOTICE - external script exit
2019-04-02 08:25:08 [easycwmp] CRITICAL - error occured when trying to write to the pipe
2019-04-02 08:25:08 [easycwmp] NOTICE - end session failed
2019-04-02 08:25:08 [easycwmp] NOTICE - retry session in 30 sec, RetryCount = 3