EasyCwmp

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000159easycwmp[All Projects] Helppublic2016-08-16 11:382016-08-17 07:41
Reporterchen_0627 
Assigned Tomohamed.kallel 
PriorityhighSeverityminorReproducibilityalways
StatusresolvedResolutionno change required 
PlatformX86 PCOSUbuntu Server 32bitOS Version14.04
Summary0000159: Can't run easycwmp successfully
DescriptionI followed the every step on http://www.easycwmp.org/index.php/manual [^] and installed the easycwmp well. But it can not run sucessfully when I call "/usr/sbin/easycwmpd -f -b" as root. And error logs are shown below:

============================================
2016-08-16 17:01:18 [easycwmp] NOTICE - external script init
2016-08-16 17:01:18 [easycwmp] CRITICAL - configuration (re)loading failed, exit daemon
config_load(335): configuration (re)loading failed
============================================


And config file of mine is shown below:
/etc/config/easycwmp
========================================================
# easycwmp uci configuration

config local
    option interface eth0
    option port 7547
    option ubus_socket /var/run/ubus.sock
    option date_format %FT%T%z
    option username easycwmp
    option password easycwmp
    option provisioning_code ''
#Logging levels: Critic=0, Warning=1, Notice=2, Info=3, Debug=4
    option logging_level '4'

config acs
    option http://10.118.81.82:8080/acs [^]
    option username easycwmp
    option password easycwmp
    option parameter_key ''
    option periodic_enable '1'
    option periodic_interval '100'
    option periodic_time '0001-01-01T00:00:00Z'

config device
    option manufacturer Arcadyan
    option oui 5DDC96
    option product_class LIPTON
    option serial_number J525183553
    option hardware_version 0.1
    option software_version 1.1
=====================================================


/usr/share/easycwmp/defaults
===========================================================
#!/bin/sh
# Copyright (C) 2011-2012 Luka Perkov <freecwmp@lukaperkov.net>

# set these to appropriate values and remove comment if you want to use them

default_management_server_acs_hostname="http://10.118.81.82:8080/acs" [^]
default_management_server_connection_request_url="http://10.118.81.82:7547/ConnectionRequest" [^]
#default_wan_device_mng_interface_ip=""
#default_wan_device_mng_interface_mac=""
#default_device_hosts_dnsmasq_leases_file=""
=============================================================



Some questions:
1. I printed debug log in easycwmp source code, and found that it was fail while calling function uci_load(). Is it the libuci issue?
2. I downloaded and decompressed the easycwmp on path which was not on "/opt/dev/" but on my own home path. Is it the reason why I run the process fail?
But I have copied the whole folder easycwmp to "/opt/dev" after compiled it and retry to run, the result was the same.


Could you please help me to check why it always runs fail, and provide me some suggestion?
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000526)
mohamed.kallel (manager)
2016-08-16 11:56

what is the output of the command

sudo uci show
(0000528)
chen_0627 (reporter)
2016-08-17 03:41

Result of "sudo uci show" is :
uci: Parse error (invalid character in name field) at line 15, byte 37
(0000529)
chen_0627 (reporter)
2016-08-17 04:33
edited on: 2016-08-17 04:51

Ok, I have found the root cause. It's my mistake when I modify the .../ext/openwrt/config/easycwmp, I deleted the key word "url" in line 15.

Thank you.


- Issue History
Date Modified Username Field Change
2016-08-16 11:38 chen_0627 New Issue
2016-08-16 11:56 mohamed.kallel Note Added: 0000526
2016-08-17 03:41 chen_0627 Note Added: 0000528
2016-08-17 04:33 chen_0627 Note Added: 0000529
2016-08-17 04:51 chen_0627 Note Edited: 0000529 View Revisions
2016-08-17 07:41 mohamed.kallel Status new => resolved
2016-08-17 07:41 mohamed.kallel Resolution open => no change required
2016-08-17 07:41 mohamed.kallel Assigned To => mohamed.kallel


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker