z-way-server stopped randomly v2.3.6 from v2.2.5

Discussions about RaZberry - Z-Wave board for Raspberry computer
añep
Posts: 42
Joined: 10 May 2016 13:53

z-way-server stopped randomly v2.3.6 from v2.2.5

Post by añep » 11 Dec 2017 23:05

Hi,

I have a problem, from I upgraded to v2.3.6 since v2.2.5, z-way-server stop randomly (1 day, 2 days, 5 days,...). Into z-way-server.log not inform of nothing when server is stopped. Into log, continualy it view: [core] Can not make request: Couldn't connect to server, but I don't know if this is the problem because the server stopping.

Review Updater UI, into network setting, I view IP, mask and gateway program exception:

Network setting
LAN configuration (eth0)
ip: Err(1.18.3): main.c: 501: The spawned process 'get_eth_ipaddr.sh' has exited with code 2 and says:
l�
IP address:
ipmask: Err(1.18.3): main.c: 501: The spawned process 'get_eth_ipmask.sh' has exited with code 2 and says:
l�
Network mask:
gw_ip: Err(1.18.3): main.c: 501: The spawned process 'get_defgw.sh' has exited with code 2 and says:
l�

Regards,
Diego.
Attachments
error_Firmware_Update_network settings.JPG
UI Updater exception
error_Firmware_Update_network settings.JPG (111.57 KiB) Viewed 2962 times
errors_log.JPG
Errors log
errors_log.JPG (139.86 KiB) Viewed 2962 times

DarS
Posts: 12
Joined: 24 Mar 2015 07:48

Re: z-way-server stopped randomly v2.3.6 from v2.2.5

Post by DarS » 16 Dec 2017 14:09

It looks like v2.3.6 is inherently unstable. Although vendor representative(s) claim that it should not happen and asking for details/logs, but there are many user reports that v2.3.6 just does not work properly after few hours/days. The z-way process just dies without any sign in the log.

You can try to write scripts to reload the z-way process - workaround but not a real solution.
Perhaps the easiest is just to downgrade to previous version. Just go to the Upgrade menu (in web interface) and write there 'v2.3.1' to downgrade.
v2.3.1 is the latest that works for me (I had no time/resources to check other versions up to v.2.3.6).

Regards,
-DarS

User avatar
PoltoS
Posts: 4302
Joined: 26 Jan 2011 19:36

Re: z-way-server stopped randomly v2.3.6 from v2.2.5

Post by PoltoS » 17 Dec 2017 16:38

What modules do you have running?

If it crashes systematically, please follow this guide to help us understand the cause: viewtopic.php?f=3422&t=25592&p=71226&hi ... ipe#p71176

añep
Posts: 42
Joined: 10 May 2016 13:53

Re: z-way-server stopped randomly v2.3.6 from v2.2.5

Post by añep » 17 Dec 2017 22:50

I attach my intalled modules.

The system crash randomly, 2 days, 4 days, 1 week,....
Attachments
modules.JPG
modules.JPG (260.86 KiB) Viewed 2883 times

añep
Posts: 42
Joined: 10 May 2016 13:53

Re: z-way-server stopped randomly v2.3.6 from v2.2.5

Post by añep » 17 Dec 2017 22:54

PoltoS wrote:
17 Dec 2017 16:38
What modules do you have running?

If it crashes systematically, please follow this guide to help us understand the cause: viewtopic.php?f=3422&t=25592&p=71226&hi ... ipe#p71176

Code: Select all

/opt/z-way-server# LD_LIBRARY_PATH=$LD_LIBRARY_PATH:./libs:./modules gdb ./z-way-server
GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "arm-linux-gnueabihf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./z-way-server...(no debugging symbols found)...done.
(gdb)
(gdb)  handle SIGPIPE nostop
Signal        Stop      Print   Pass to program Description
SIGPIPE       No        Yes     Yes             Broken pipe
(gdb) handle SIGILL nostop
Signal        Stop      Print   Pass to program Description
SIGILL        No        Yes     Yes             Illegal instruction
(gdb) handle SIGHUP nostop
Signal        Stop      Print   Pass to program Description
SIGHUP        No        Yes     Yes             Hangup
(gdb)
Signal        Stop      Print   Pass to program Description
SIGHUP        No        Yes     Yes             Hangup
(gdb) r
Starting program: /opt/z-way-server/z-way-server
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
Cannot access memory at address 0x0

Program received signal SIGILL, Illegal instruction.
Z-Way version v2.3.6 from 2017-10-04 15:13:33 +0300 (build a25d58db56fe93180d0e891dcc11d62d87ec8c2c)
Looking for modules in ./modules
Module modcrypto.so loaded
Module modskininstaller.so loaded
Module modsockets.so loaded
Module modws.so loaded
Module modzwave.so loaded
Module modhttp.so loaded
Module modinstaller.so loaded
Module modenocean.so loaded
Module moddhs.so loaded
Module modhomekit.so loaded
Module modiconinstaller.so loaded
Module modnotification2ext.so loaded
Module modzbw.so loaded
Using default configuration file config.xml
Error: 'debug-port' number is out of range. Skipping it.
[New Thread 0x758e4450 (LWP 17214)]
[New Thread 0x750e4450 (LWP 17215)]
[New Thread 0x750d4450 (LWP 17216)]
[New Thread 0x750c4450 (LWP 17217)]
[New Thread 0x750b4450 (LWP 17218)]
[New Thread 0x750a4450 (LWP 17219)]
[New Thread 0x744ff450 (LWP 17220)]
[New Thread 0x73aff450 (LWP 17221)]
[New Thread 0x72cff450 (LWP 17226)]
[New Thread 0x718ff450 (LWP 17233)]
[New Thread 0x710ff450 (LWP 17234)]
[New Thread 0x706ff450 (LWP 17235)]
[New Thread 0x6feff450 (LWP 17236)]
[New Thread 0x6f6ff450 (LWP 17237)]
[New Thread 0x6eeff450 (LWP 17238)]
[New Thread 0x6e6ff450 (LWP 17239)]
[New Thread 0x6deff450 (LWP 17240)]
[New Thread 0x6d6ff450 (LWP 17241)]
[New Thread 0x6ceff450 (LWP 17242)]
[New Thread 0x6c6ff450 (LWP 17243)]
[New Thread 0x6beff450 (LWP 17244)]
[New Thread 0x6b6ff450 (LWP 17245)]
[New Thread 0x6aeff450 (LWP 17246)]
[Thread 0x718ff450 (LWP 17233) exited]
[Thread 0x6eeff450 (LWP 17238) exited]
[Thread 0x6c6ff450 (LWP 17243) exited]
[Thread 0x6aeff450 (LWP 17246) exited]
[Thread 0x6ceff450 (LWP 17242) exited]
[Thread 0x6b6ff450 (LWP 17245) exited]
[Thread 0x6e6ff450 (LWP 17239) exited]
[Thread 0x710ff450 (LWP 17234) exited]
[Thread 0x6d6ff450 (LWP 17241) exited]
[Thread 0x706ff450 (LWP 17235) exited]
[Thread 0x6deff450 (LWP 17240) exited]
[Thread 0x6feff450 (LWP 17236) exited]
[New Thread 0x6feff450 (LWP 17247)]
[New Thread 0x6deff450 (LWP 17248)]
[Thread 0x6beff450 (LWP 17244) exited]
[Thread 0x6f6ff450 (LWP 17237) exited]
[New Thread 0x6f6ff450 (LWP 17249)]
[New Thread 0x6beff450 (LWP 17250)]
[New Thread 0x706ff450 (LWP 17251)]
[Thread 0x6deff450 (LWP 17248) exited]
[Thread 0x706ff450 (LWP 17251) exited]
[Thread 0x6beff450 (LWP 17250) exited]
[Thread 0x6feff450 (LWP 17247) exited]
[Thread 0x6f6ff450 (LWP 17249) exited]
[New Thread 0x6f6ff450 (LWP 17252)]
[New Thread 0x6feff450 (LWP 17253)]
[Thread 0x6f6ff450 (LWP 17252) exited]
[Thread 0x6feff450 (LWP 17253) exited]
[New Thread 0x6feff450 (LWP 17254)]
[New Thread 0x6f6ff450 (LWP 17255)]
[New Thread 0x6beff450 (LWP 17256)]
[Thread 0x6beff450 (LWP 17256) exited]
[New Thread 0x6beff450 (LWP 17257)]
[New Thread 0x706ff450 (LWP 17258)]
[Thread 0x6feff450 (LWP 17254) exited]
[Thread 0x706ff450 (LWP 17258) exited]
[Thread 0x6beff450 (LWP 17257) exited]
[Thread 0x6f6ff450 (LWP 17255) exited]
[New Thread 0x6f6ff450 (LWP 17261)]
[New Thread 0x6beff450 (LWP 17262)]
[New Thread 0x706ff450 (LWP 17263)]
[New Thread 0x6feff450 (LWP 17264)]
[New Thread 0x6deff450 (LWP 17265)]
[Thread 0x6f6ff450 (LWP 17261) exited]
[Thread 0x6beff450 (LWP 17262) exited]
[Thread 0x6feff450 (LWP 17264) exited]
[Thread 0x6deff450 (LWP 17265) exited]
[New Thread 0x6deff450 (LWP 17266)]
[New Thread 0x6feff450 (LWP 17267)]
[Thread 0x706ff450 (LWP 17263) exited]
[Thread 0x6feff450 (LWP 17267) exited]
[Thread 0x6deff450 (LWP 17266) exited]
[New Thread 0x6deff450 (LWP 17268)]
[New Thread 0x6feff450 (LWP 17269)]
[New Thread 0x706ff450 (LWP 17270)]
[Thread 0x706ff450 (LWP 17270) exited]
[New Thread 0x706ff450 (LWP 17271)]
[New Thread 0x6beff450 (LWP 17272)]
[Thread 0x6feff450 (LWP 17269) exited]
[Thread 0x706ff450 (LWP 17271) exited]
[Thread 0x6deff450 (LWP 17268) exited]
[Thread 0x6beff450 (LWP 17272) exited]
[New Thread 0x6beff450 (LWP 17273)]
[New Thread 0x6deff450 (LWP 17274)]
[New Thread 0x706ff450 (LWP 17275)]
[Thread 0x6beff450 (LWP 17273) exited]
[Thread 0x6deff450 (LWP 17274) exited]
[New Thread 0x6deff450 (LWP 17276)]
[New Thread 0x6beff450 (LWP 17277)]
[New Thread 0x6feff450 (LWP 17278)]
[New Thread 0x6f6ff450 (LWP 17279)]
[Thread 0x706ff450 (LWP 17275) exited]
[Thread 0x6deff450 (LWP 17276) exited]
[Thread 0x6feff450 (LWP 17278) exited]
[Thread 0x6f6ff450 (LWP 17279) exited]
[Thread 0x6beff450 (LWP 17277) exited]
[New Thread 0x6beff450 (LWP 17280)]
[New Thread 0x6f6ff450 (LWP 17281)]
[New Thread 0x6feff450 (LWP 17282)]
[Thread 0x6feff450 (LWP 17282) exited]
[Thread 0x6f6ff450 (LWP 17281) exited]
[Thread 0x6beff450 (LWP 17280) exited]
[New Thread 0x6beff450 (LWP 17283)]
[New Thread 0x6f6ff450 (LWP 17285)]
[New Thread 0x6feff450 (LWP 17287)]
[New Thread 0x6deff450 (LWP 17288)]
[Thread 0x6deff450 (LWP 17288) exited]
[Thread 0x6f6ff450 (LWP 17285) exited]
[Thread 0x6feff450 (LWP 17287) exited]
[Thread 0x6beff450 (LWP 17283) exited]
[New Thread 0x6beff450 (LWP 17289)]
[New Thread 0x6feff450 (LWP 17290)]
[New Thread 0x6f6ff450 (LWP 17291)]
[Thread 0x6feff450 (LWP 17290) exited]
[Thread 0x6f6ff450 (LWP 17291) exited]
[New Thread 0x6f6ff450 (LWP 17292)]
[New Thread 0x6feff450 (LWP 17293)]
[Thread 0x6beff450 (LWP 17289) exited]
[New Thread 0x6beff450 (LWP 17294)]
[New Thread 0x6deff450 (LWP 17295)]
[New Thread 0x706ff450 (LWP 17296)]
[Thread 0x6feff450 (LWP 17293) exited]
[Thread 0x6beff450 (LWP 17294) exited]
[Thread 0x6deff450 (LWP 17295) exited]
[Thread 0x6f6ff450 (LWP 17292) exited]
[Thread 0x706ff450 (LWP 17296) exited]
[New Thread 0x706ff450 (LWP 17301)]
[New Thread 0x6f6ff450 (LWP 17302)]
[New Thread 0x6deff450 (LWP 17304)]
[New Thread 0x6beff450 (LWP 17305)]
[Thread 0x706ff450 (LWP 17301) exited]
[Thread 0x6deff450 (LWP 17304) exited]
[Thread 0x6f6ff450 (LWP 17302) exited]
[Thread 0x6beff450 (LWP 17305) exited]
[New Thread 0x6beff450 (LWP 17306)]
[New Thread 0x6f6ff450 (LWP 17307)]
[New Thread 0x6deff450 (LWP 17308)]
[Thread 0x6f6ff450 (LWP 17307) exited]
[Thread 0x6deff450 (LWP 17308) exited]
[New Thread 0x6deff450 (LWP 17309)]
[New Thread 0x6f6ff450 (LWP 17310)]
[Thread 0x6beff450 (LWP 17306) exited]
[New Thread 0x6beff450 (LWP 17311)]
[New Thread 0x706ff450 (LWP 17312)]
[New Thread 0x6feff450 (LWP 17313)]
[Thread 0x6beff450 (LWP 17311) exited]
[Thread 0x706ff450 (LWP 17312) exited]
[Thread 0x6f6ff450 (LWP 17310) exited]
[Thread 0x6deff450 (LWP 17309) exited]
[Thread 0x6feff450 (LWP 17313) exited]
[New Thread 0x6feff450 (LWP 17315)]
[New Thread 0x6deff450 (LWP 17316)]
[Thread 0x6deff450 (LWP 17316) exited]
[Thread 0x6feff450 (LWP 17315) exited]
[New Thread 0x6feff450 (LWP 17319)]
[New Thread 0x6deff450 (LWP 17320)]
[New Thread 0x6f6ff450 (LWP 17321)]
[New Thread 0x706ff450 (LWP 17322)]
[New Thread 0x6beff450 (LWP 17323)]
[Thread 0x706ff450 (LWP 17322) exited]
[Thread 0x6feff450 (LWP 17319) exited]
[Thread 0x6beff450 (LWP 17323) exited]
[Thread 0x6deff450 (LWP 17320) exited]
[New Thread 0x6deff450 (LWP 17324)]
[New Thread 0x6beff450 (LWP 17325)]
[Thread 0x6f6ff450 (LWP 17321) exited]
[Thread 0x6deff450 (LWP 17324) exited]
[Thread 0x6beff450 (LWP 17325) exited]
[New Thread 0x6beff450 (LWP 17329)]
[New Thread 0x6deff450 (LWP 17330)]
[New Thread 0x6f6ff450 (LWP 17331)]
[Thread 0x6f6ff450 (LWP 17331) exited]
[New Thread 0x6f6ff450 (LWP 17332)]
[New Thread 0x706ff450 (LWP 17333)]
[Thread 0x6beff450 (LWP 17329) exited]
[Thread 0x706ff450 (LWP 17333) exited]
[Thread 0x6deff450 (LWP 17330) exited]
[Thread 0x6f6ff450 (LWP 17332) exited]
[New Thread 0x6f6ff450 (LWP 17334)]
[New Thread 0x706ff450 (LWP 17335)]
[New Thread 0x6deff450 (LWP 17336)]
[Thread 0x6f6ff450 (LWP 17334) exited]
[Thread 0x706ff450 (LWP 17335) exited]
[New Thread 0x706ff450 (LWP 17337)]
[New Thread 0x6f6ff450 (LWP 17338)]
[New Thread 0x6beff450 (LWP 17339)]
[New Thread 0x6feff450 (LWP 17340)]
[Thread 0x6deff450 (LWP 17336) exited]
[Thread 0x706ff450 (LWP 17337) exited]
[Thread 0x6beff450 (LWP 17339) exited]
[Thread 0x6feff450 (LWP 17340) exited]
[Thread 0x6f6ff450 (LWP 17338) exited]
[New Thread 0x6f6ff450 (LWP 17341)]
[New Thread 0x6feff450 (LWP 17342)]
[New Thread 0x6beff450 (LWP 17343)]
[Thread 0x6beff450 (LWP 17343) exited]
[New Thread 0x6beff450 (LWP 17345)]
[New Thread 0x706ff450 (LWP 17346)]
[Thread 0x6feff450 (LWP 17342) exited]
[Thread 0x6beff450 (LWP 17345) exited]
[Thread 0x6f6ff450 (LWP 17341) exited]
[Thread 0x706ff450 (LWP 17346) exited]
[New Thread 0x706ff450 (LWP 17348)]
[New Thread 0x6f6ff450 (LWP 17349)]
[New Thread 0x6beff450 (LWP 17350)]
[Thread 0x6f6ff450 (LWP 17349) exited]
[Thread 0x706ff450 (LWP 17348) exited]
[New Thread 0x706ff450 (LWP 17351)]
[New Thread 0x6f6ff450 (LWP 17353)]

User avatar
PoltoS
Posts: 4302
Joined: 26 Jan 2011 19:36

Re: z-way-server stopped randomly v2.3.6 from v2.2.5

Post by PoltoS » 17 Dec 2017 23:39

PoltoS wrote:
17 Dec 2017 16:38
What modules do you have running?
Appologize, I meant Apps. Got to Smart Home UI -> Settings -> Apps -> Active

añep
Posts: 42
Joined: 10 May 2016 13:53

Re: z-way-server stopped randomly v2.3.6 from v2.2.5

Post by añep » 19 Dec 2017 23:16

PoltoS wrote:
17 Dec 2017 23:39
PoltoS wrote:
17 Dec 2017 16:38
What modules do you have running?
Appologize, I meant Apps. Got to Smart Home UI -> Settings -> Apps -> Active
I attach my intalled apps. Web Camera is not posible expand and configure.
Attachments
apps.JPG
apps.JPG (190.57 KiB) Viewed 2853 times

User avatar
PoltoS
Posts: 4302
Joined: 26 Jan 2011 19:36

Re: z-way-server stopped randomly v2.3.6 from v2.2.5

Post by PoltoS » 23 Dec 2017 01:43

Have it stopped working? Anything from gdb?

añep
Posts: 42
Joined: 10 May 2016 13:53

Re: z-way-server stopped randomly v2.3.6 from v2.2.5

Post by añep » 30 Dec 2017 20:29

PoltoS wrote:
23 Dec 2017 01:43
Have it stopped working? Anything from gdb?
I am trying to disable Http Devices which not working by change url and it's who was inserting into log, continualy: [core] Can not make request: Couldn't connect to server, and could be the problem because the server stoped. A week without server stoped.

User avatar
PoltoS
Posts: 4302
Joined: 26 Jan 2011 19:36

Re: z-way-server stopped randomly v2.3.6 from v2.2.5

Post by PoltoS » 05 Jan 2018 08:12

Another week. Is it ok? Can you now start adding back your apps to see what will cause the issue?

Post Reply