Can't open the setup on port 8084

Discussions about RaZberry - Z-Wave board for Raspberry computer
Post Reply
AlphaX2
Posts: 110
Joined: 25 Jul 2015 15:03

Can't open the setup on port 8084

Post by AlphaX2 » 25 Jul 2015 18:49

Hi guys,

I just started with Razberry yesterday and got most of it working, but it's not possible to get the setup working on port 8084. It just tells me, that it couldn't load the page. Normal and expert UI are working as expected via 8083. I've added my devices and can also call API stuff. But not the port 8084.

It's running on a RaspberryPi 2 and there is also a Apache/ownCloud service and Samba running. I already found a thread about problems with Apache2, but as far as I understand it was already fixed in version 1.7.X. I'm running 2.0.2-rc but started with 2.0.1 stable.

Any ideas?

Thanks in advance.

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

Re: Can't open the setup on port 8084

Post by PoltoS » 26 Jul 2015 00:17

Make sure the installation was ok. You can try to run it manually via
/etc/init.d/webif start

AlphaX2
Posts: 110
Joined: 25 Jul 2015 15:03

Re: Can't open the setup on port 8084

Post by AlphaX2 » 26 Jul 2015 00:22

You can try to run it manually via
/etc/init.d/webif start
Okay something went wrong - this folder just don't exist. Any idea why, or how to fix it? :)

Thank you very much!

pz1
Posts: 2053
Joined: 08 Apr 2012 13:44

Re: Can't open the setup on port 8084

Post by pz1 » 26 Jul 2015 10:25

Did you try a reinstall?

AlphaX2
Posts: 110
Joined: 25 Jul 2015 15:03

Re: Can't open the setup on port 8084

Post by AlphaX2 » 26 Jul 2015 10:45

I just updated to latest RC, but I could try a complete new installation. If there are some errors, or output I'll post it here.

Thanks.

AlphaX2
Posts: 110
Joined: 25 Jul 2015 15:03

Re: Can't open the setup on port 8084

Post by AlphaX2 » 26 Jul 2015 22:00

pz1 wrote:Did you try a reinstall?
I've reinstalled everything after deleting all folders and related stuff. Worked well, but there was a error nearly at the end:
Stopping mongoose http server
Adding mongoose to autostart
update-rc.d: using dependency based boot sequencing
Start mongoose http server
ls: cannot access config/zddx/*.xml: No such file or directory
I've also attached the complete log of the installation (as quote because it seems all extensions like log/txt etc. are not allowed), maybe I've missed something. I also tried to use the generated ID and password (zbw stuff) for login in via https://find.z-wave.me/zboxweb. But tells me also that something went wrong. :roll:
z-way-server new installation
Removing MathKernel
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'wolfram-engine' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Installing additional libraries
Hit http://raspberrypi.collabora.com wheezy Release.gpg
Get:1 http://mirrordirector.raspbian.org wheezy Release.gpg [490 B]
Hit http://raspberrypi.collabora.com wheezy Release
Get:2 http://mirrordirector.raspbian.org wheezy Release [14.4 kB]
Hit http://archive.raspberrypi.org wheezy Release.gpg
Hit http://raspberrypi.collabora.com wheezy/rpi armhf Packages
Get:3 http://mirrordirector.raspbian.org wheezy/main armhf Packages [6,903 kB]
Hit http://archive.raspberrypi.org wheezy Release
Hit http://archive.raspberrypi.org wheezy/main armhf Packages
Ign http://raspberrypi.collabora.com wheezy/rpi Translation-en_GB
Ign http://raspberrypi.collabora.com wheezy/rpi Translation-en
Ign http://archive.raspberrypi.org wheezy/main Translation-en_GB
Ign http://archive.raspberrypi.org wheezy/main Translation-en
Get:4 http://mirrordirector.raspbian.org wheezy/contrib armhf Packages [23.6 kB]
Get:5 http://mirrordirector.raspbian.org wheezy/non-free armhf Packages [49.3 kB]
Get:6 http://mirrordirector.raspbian.org wheezy/rpi armhf Packages [592 B]
Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-en_GB
Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-en
Ign http://mirrordirector.raspbian.org wheezy/main Translation-en_GB
Ign http://mirrordirector.raspbian.org wheezy/main Translation-en
Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en_GB
Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en
Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-en_GB
Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-en
Fetched 6,992 kB in 23s (298 kB/s)
Reading package lists... Done
Reading package lists...
Building dependency tree...
Reading state information...
gawk is already the newest version.
sharutils is already the newest version.
tzdata is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Installing additional libraries for HomeKit
Reading package lists...
Building dependency tree...
Reading state information...
libavahi-compat-libdnssd-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Getting Z-Way for Raspberry Pi and installing
--2015-07-26 20:44:00-- http://razberry.z-wave.me/z-way-server/ ... v2.0.1.tgz
Resolving razberry.z-wave.me (razberry.z-wave.me)... 46.20.244.36
Connecting to razberry.z-wave.me (razberry.z-wave.me)|46.20.244.36|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 12300843 (12M) [application/x-gzip]
Saving to: `/tmp/z-way-server-RaspberryPiXTools-v2.0.1.tgz'

100%[===================================================================================================================================================================================================>] 12,300,843 2.63M/s in 7.0s

2015-07-26 20:44:07 (1.68 MB/s) - `/tmp/z-way-server-RaspberryPiXTools-v2.0.1.tgz' saved [12300843/12300843]

Extracting new z-way-server
New version z-way-server installed
Creating Z-Way startup script
Adding z-way-server to autostart
update-rc.d: using dependency based boot sequencing
Getting Webif for Raspberry Pi and installing
--2015-07-26 20:44:11-- http://razberry.z-wave.me/webif_raspberry.tar.gz
Resolving razberry.z-wave.me (razberry.z-wave.me)... 46.20.244.36
Connecting to razberry.z-wave.me (razberry.z-wave.me)|46.20.244.36|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 401379 (392K) [application/x-gzip]
Saving to: `STDOUT'

100%[===================================================================================================================================================================================================>] 401,379 721K/s in 0.5s

2015-07-26 20:44:12 (721 KB/s) - written to stdout [401379/401379]

First install, getting razberry ID
--2015-07-26 20:44:12-- http://find.zwave.me/zbw_new_user
Resolving find.zwave.me (find.zwave.me)... 46.20.244.72
Connecting to find.zwave.me (find.zwave.me)|46.20.244.72|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/octet-stream]
Saving to: `/tmp/zbw_connect_setup.run'

[ <=> ] 5,914 --.-K/s in 0s

2015-07-26 20:44:13 (45.1 MB/s) - `/tmp/zbw_connect_setup.run' saved [5914]

Now you can run zbw_connect with /etc/init.d/zbw_connect start
or simply reboot your system

Your user id: <cleaned>
Your password: <cleaned>
[....] Starting zbw_connect:[info] ok.
Getting webserver mongoose for Webif
--2015-07-26 20:44:25-- http://razberry.z-wave.me/mongoose.pkg.rPi.tgz
Resolving razberry.z-wave.me (razberry.z-wave.me)... 46.20.244.36
Connecting to razberry.z-wave.me (razberry.z-wave.me)|46.20.244.36|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 44749 (44K) [application/x-gzip]
Saving to: `/tmp/mongoose.pkg.rPi.tgz'

100%[===================================================================================================================================================================================================>] 44,749 --.-K/s in 0.1s

2015-07-26 20:44:26 (426 KB/s) - `/tmp/mongoose.pkg.rPi.tgz' saved [44749/44749]

Stopping mongoose http server
Adding mongoose to autostart
update-rc.d: using dependency based boot sequencing
Start mongoose http server
ls: cannot access config/zddx/*.xml: No such file or directory
Usage: ./z-cfg-update <filename>
Starting z-way-server
Starting z-way-server: done.
Thank you for using RaZberry!
Any ideas?

Thank you a lot.

AlphaX2
Posts: 110
Joined: 25 Jul 2015 15:03

Re: Can't open the setup on port 8084

Post by AlphaX2 » 30 Jul 2015 03:13

Hi again,

here seems something wrong:
/etc/init.d/webif start
because I studied your install script and the webif related tar is not installing a script at /etc/init.d/, also the mongoose webserver is (in my case) not running, and is not starting properly with

Code: Select all

/etc/init.d/mongoose start
(no errors here but

Code: Select all

ps aux | grep mongoose
shows that there is nothing running. It just works if started from

Code: Select all

/usr/sbin/mongoose
but in this case it's not loading any razberry stuff, but starting just a simple server on port 8080. I also tried to pass some arguments, for example the *.conf files that are installed with your webif package. But it's also not working.

Some help would be nice. I'm running out of ideas here. :)

AlphaX2

AlphaX2
Posts: 110
Joined: 25 Jul 2015 15:03

Re: Can't open the setup on port 8084

Post by AlphaX2 » 18 Nov 2015 16:09

Hi again,

new input to the old story:
after upgrading to Rasbian Jessie, I've had a lot of trouble to get OwnCloud back to work again. The funny part is: the mongoose webserver was the problem, because it was blocking SSL at port 443. As long as he blocked it, RaZberry's settings at <IP>:8084 could be reached.

As far as I see there are just two options: stop Apache2 and start mongoose if you need to modify something for RaZberry, or run the RaZberry stuff with Apache. :)

Any idea for another solution?

Thanks.

pz1
Posts: 2053
Joined: 08 Apr 2012 13:44

Re: Can't open the setup on port 8084

Post by pz1 » 30 Nov 2015 15:45

I am now a victim of this myself. I was working on rc17 test rig on a new userModule, which required a ZWay restart. I have done that some 6-7 times today.
After the last restart, I could not reach raspberry on port 8084 anymore. A reboot from the console did not help either.
On inspection I noticed that /etc/init.d/webif did not exist.

I have observed on older (possibly less stable versions) that repeated use of ZWay restart via this WebIf eventually led to hang the system. I could not do a cold reboot because of a corrupted disc.
Since 29-12-2016 I am no longer a moderator for this forum

Post Reply