After update zway doesn't start anymore

Discussions about RaZberry - Z-Wave board for Raspberry computer
Post Reply
holzemile
Posts: 36
Joined: 27 Mar 2013 13:37

After update zway doesn't start anymore

Post by holzemile »

I tried to install the newest version with
"wget -q -O - http://razberry.z-wave.me/install | sudo bash"
Then I rebooted, but z-way isn't running!

Can't access the website at :8083

When I tried to install again, this message appears:
Previous Z-Way installation found
Stoping Z-Way
Stopping Z-Way: start-stop-daemon: warning: failed to kill 2526: No such process
done.
Making backup of previous version of Z-Way in /opt/z-way-server_2013-05-22-17-06-00
Getting Z-Way for Raspberry Pi
Copying settings
Creating Z-Way startup script
Adding to autostart
update-rc.d: using dependency based boot sequencing
insserv: warning: script 'K01autorun-zwave' missing LSB tags and overrides
insserv: warning: script 'autorun-zwave' missing LSB tags and overrides
Starting Z-Way
Starting Z-Way: done.

/var/log/z-way-server.log:
[2013-05-22 17:07:35.539] Failed to join worker thread: 35
[2013-05-22 17:07:35.540] Error returned from zway_fc_serial_api_set_timeouts(zway, 10, 10, NULL, NULL, NULL): Function class not supported by the hardware (-4)
[2013-05-22 17:07:35.540] Error returned from zway_fc_watchdog_start(zway, NULL, NULL, NULL): Function class not supported by the hardware (-4)
[2013-05-22 17:07:35.540] Error returned from zway_fc_get_home_id(zway, _zway_discover_on_success_get_home_id, _zway_discover_on_fail_get_home_id, NULL): Function class not supported by the hardware (-4)
[2013-05-22 17:07:35.553] Removing job: Get controller info and supported function classes
[2013-05-22 17:07:35.563] Worker thread exit point
failed to discover ZWay: -9
Z-Way version v1.3 from 2013-05-17 19:10:12 +0400 (build 26d79f8413e295c9bb24807db5c545ab8ba1941e)
Using default configuration file config.xml
Starting Z-Way for device /dev/ttyAMA0...
User avatar
PoltoS
Posts: 7579
Joined: 26 Jan 2011 19:36

The log is too short. Please

Post by PoltoS »

The log is too short. Please give us 10 lines more
holzemile
Posts: 36
Joined: 27 Mar 2013 13:37

Full log

Post by holzemile »

pi@raspberrypi /var/log $ cat z-way-server.log
/opt/z-way-server/z-way-server already running.
[2013-05-22 17:07:34.279] SENDING (cb 0x07): ( 01 03 00 07 FB )
[2013-05-22 17:07:34.290] RECEIVED CAN
... Miles Long always the same
[2013-05-22 17:07:35.464] SENDING (cb 0x07): ( 01 03 00 07 FB )
[2013-05-22 17:07:35.475] RECEIVED CAN
[2013-05-22 17:07:35.485] RECEIVED: ( 01 0C 00 04 00 0C 06 31 05 01 22 00 5B B1 )
[2013-05-22 17:07:35.486] SENT ACK
[2013-05-22 17:07:35.486] Unhandled request for function class 0x04
[2013-05-22 17:07:35.497] RECEIVED: ( 01 0C 00 04 00 0D 06 31 05 01 22 00 64 8F )
[2013-05-22 17:07:35.497] SENT ACK
[2013-05-22 17:07:35.498] Unhandled request for function class 0x04
[2013-05-22 17:07:35.509] SENDING (cb 0x07): ( 01 03 00 07 FB )
[2013-05-22 17:07:35.520] RECEIVED ACK
[2013-05-22 17:07:35.530] RECEIVED: ( 01 2B 01 07 06 06 06 06 06 06 06 06 06 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80 07 00 53 )
[2013-05-22 17:07:35.532] SENT ACK
[2013-05-22 17:07:35.533] SETDATA controller.data.APIVersion = "06.06"
[2013-05-22 17:07:35.533] SETDATA controller.data.manufacturerId = 1542 (0x00000606)
[2013-05-22 17:07:35.533] SETDATA controller.data.manufacturerProductType = 1542 (0x00000606)
[2013-05-22 17:07:35.533] SETDATA controller.data.manufacturerProductId = 1542 (0x00000606)
[2013-05-22 17:07:35.536] SETDATA controller.data.vendor = ""
[2013-05-22 17:07:35.536] Supported Function Classes:[2013-05-22 17:07:35.537] ---------------------------[2013-05-22 17:07:35.537] 0x02 SerialAPIGetInitData
[2013-05-22 17:07:35.537] 0x03 SerialAPIApplicationNodeInformation
[2013-05-22 17:07:35.537] 0xf0 UNKNOWN
[2013-05-22 17:07:35.537] 0xf1 UNKNOWN
[2013-05-22 17:07:35.537] 0xf2 ZMEFreqChange
[2013-05-22 17:07:35.538] 0xf3 ZMERestore
[2013-05-22 17:07:35.538] SETDATA controller.data.capabilities = int[6]
[2013-05-22 17:07:35.538] [00] 2
[2013-05-22 17:07:35.538] [01] 3
[2013-05-22 17:07:35.538] [02] 240
[2013-05-22 17:07:35.538] [03] 241
[2013-05-22 17:07:35.539] [04] 242
[2013-05-22 17:07:35.539] [05] 243
[2013-05-22 17:07:35.539] ---------------------------[2013-05-22 17:07:35.539] Job 0x07 (Get controller info and supported function classes): success
[2013-05-22 17:07:35.539] Device is not authorized. Terminating...
[2013-05-22 17:07:35.539] Failed to join worker thread: 35
[2013-05-22 17:07:35.540] Error returned from zway_fc_serial_api_set_timeouts(zway, 10, 10, NULL, NULL, NULL): Function class not supported by the hardware (-4)
[2013-05-22 17:07:35.540] Error returned from zway_fc_watchdog_start(zway, NULL, NULL, NULL): Function class not supported by the hardware (-4)
[2013-05-22 17:07:35.540] Error returned from zway_fc_get_home_id(zway, _zway_discover_on_success_get_home_id, _zway_discover_on_fail_get_home_id, NULL): Function class not supported by the hardware (-4)
[2013-05-22 17:07:35.553] Removing job: Get controller info and supported function classes
[2013-05-22 17:07:35.563] Worker thread exit point
failed to discover ZWay: -9
Z-Way version v1.3 from 2013-05-17 19:10:12 +0400 (build 26d79f8413e295c9bb24807db5c545ab8ba1941e)
Using default configuration file config.xml
Starting Z-Way for device /dev/ttyAMA0...
pi@raspberrypi /var/log $
holzemile
Posts: 36
Joined: 27 Mar 2013 13:37

*push*

Post by holzemile »

I sent the full log, could you please try to help me solve this problem?
holzemile
Posts: 36
Joined: 27 Mar 2013 13:37

*push*

Post by holzemile »

I sent the full log, could you please try to help me solve this problem?
seaman55
Posts: 1
Joined: 29 May 2013 09:29

Ditto

Post by seaman55 »

By chance do you have an alaMode attached to the Raspberry Pi, and the Razberry attached to it?
I am able to generate a similar log and problem using this configuration.

If I remove the alamode from the equation, everything works fine.
User avatar
PoltoS
Posts: 7579
Joined: 26 Jan 2011 19:36

Your RaZberry board send some

Post by PoltoS »

Your RaZberry board send some trash to the RPi. Quite strange...

Please try to do this before starting Z-Way:
echo -ne "x01x03x00x08xf4" > /dev/ttyAMA0

If this will not help, try to power off your RaZberry and power on back (not just rebot).

Please report us with of them helped. We will use this info to analyze your case better.

Have you plugged/unplugged RaZberry on a working RPi? Note that this can damage both of them!
Post Reply