I just remove the last comma after DEBUG and it's the services are working
but all on 0.0.0.0 and not on the IP I bind, that's annoying mostly with
the fie server who bind a local IP, but not on the same network.

2015-05-29 17:46 GMT+02:00 Dan Morphis <[email protected]>:

> npm compile doesn't compile the config.json file, it compiles the *.coffee
> files into the corresponding .js file.
>
> Your config.json file doesn't look valid. Try removing the last comma ("DEBUG"
> : false,). Depending on how strict the parser is, trailing commas aren't
> allowed in the JSON spec. http://stackoverflow.com/a/201856/70235
>
> On Fri, May 29, 2015 at 12:16 AM, Fabien Bazille <[email protected]>
> wrote:
>
>> Yes Dan I restarted it with the script "./genieacs-start.sh" after a stop.
>> I don't understand why, if I had a syntax probleme the npm run compile
>> should notice me and all the genieacs services I binded
>> on my local IP adress (192.168.2.175) are listening on 0.0.0.0
>> I'm completely lost, i searched for everything with that wrong IP bind
>> and i find nothing.
>> And the other services (nbi, cwmp) are listening on 0.0.0.0 (That can
>> cause security issues)
>>
>> Regards,
>>
>> Fabien B
>>
>> 2015-05-28 18:40 GMT+02:00 Dan Morphis <[email protected]>:
>>
>>> Did you restart the genie processes after changing the config.json file?
>>>
>>> -dan
>>>
>>> On Thu, May 28, 2015 at 5:33 AM, Fabien Bazille <[email protected]>
>>> wrote:
>>>
>>>> Hi,
>>>> I'm performing an issue when i wanna push a configuration file on a
>>>> device, the FS bind the old IP, and not mine, I don't know why because my
>>>> genieacs's config seems ok.
>>>>
>>>> Take a look at my config.json:
>>>> {
>>>>   "MONGODB_CONNECTION_URL" : "mongodb://127.0.0.1/genieacs",
>>>>   "REDIS_PORT" : "6379",
>>>>   "REDIS_HOST" : "192.168.2.175",
>>>>   "CWMP_INTERFACE" : "192.168.2.175",
>>>>   "CWMP_PORT" : 7547,
>>>>   "CWMP_SSL" : false,
>>>>   "NBI_INTERFACE" : "192.168.2.175",
>>>>   "NBI_PORT" : 7557,
>>>>   "FS_INTERFACE" : "192.168.2.175",
>>>>   "FS_PORT" : 7567,
>>>>   "FS_IP" : "192.168.2.175",
>>>>   "LOG_INFORMS" : true,
>>>>   "DEBUG" : false,
>>>> }
>>>>
>>>> The capture tell to the CPE a wrong IP and then the device reject it.
>>>> When I perform a change in the config file I do a "npm run compile"
>>>> If you have any idea of what is happening.
>>>>
>>>> PS: I use the script genieacs-start.sh at my home directory and the
>>>> folder genieacs and genieacs-gui are both on the home directory too.
>>>>
>>>> Best regards,
>>>>
>>>> Fabien B
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Users mailing list
>>>> [email protected]
>>>> http://lists.genieacs.com/mailman/listinfo/users
>>>>
>>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> [email protected]
>>> http://lists.genieacs.com/mailman/listinfo/users
>>>
>>>
>>
>> _______________________________________________
>> Users mailing list
>> [email protected]
>> http://lists.genieacs.com/mailman/listinfo/users
>>
>>
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.genieacs.com/mailman/listinfo/users
>
>
_______________________________________________
Users mailing list
[email protected]
http://lists.genieacs.com/mailman/listinfo/users

Reply via email to