Welcome to the new home of the Cumulus Support forum.

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3044 7 December 2018. See the Wiki for download

CumulusMX - RaspberyPi - Start|Stop|Restart Script V2.5.5.0

Discussion of version 3 of Cumulus, which runs on Windows, Linux, and OS X. All Cumulus MX queries in here, please.

Moderator: mcrossley

richard_newberry
Posts: 291
Joined: Tue 12 Apr 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Debian Stretch (VMWARE Esxi 6.5)
Location: Leicester
Contact:

Re: CumulusMX - RaspberyPi - Start|Stop|Restart Script V2.5.4.0

Post by richard_newberry » Sun 21 May 2017 8:59 am

Hi all,

when running command ./cumulusmx.sh -s I'm getting in ip address inet and at the top I'm getting an error sayinginet: forward host lookup failed host name lookup failure : resource temporarily unavailable

any ideas all nameservers and resolving dns time.
Desford Weather
http://www.desford-weather.co.uk
http://desford-weather.co.uk
Also on Desford weather underground.
Looking forward to cumulus on Linux platform it'll rock!!

jank
Posts: 310
Joined: Sat 13 Jun 2015 5:57 pm
Weather Station: weatherstation
Operating System: Debian Wheezy
Location: Germany

Re: CumulusMX - RaspberyPi - Start|Stop|Restart Script V2.5.4.0

Post by jank » Sun 21 May 2017 2:38 pm

Can You send a Screenshot?
Want to see your Station values on SSH? Cumulusnow http://sandaysoft.com/forum/viewtopic.php?f=27&t=14062
Want a Start|Stop|Restart Script for CumulusMX on RaspberryPi? cumulusmx.sh http://sandaysoft.com/forum/viewtopic.php?f=27&t=13767

richard_newberry
Posts: 291
Joined: Tue 12 Apr 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Debian Stretch (VMWARE Esxi 6.5)
Location: Leicester
Contact:

Re: CumulusMX - RaspberyPi - Start|Stop|Restart Script V2.5.4.0

Post by richard_newberry » Mon 22 May 2017 10:02 am

please see below.

thanks
You do not have the required permissions to view the files attached to this post.
Desford Weather
http://www.desford-weather.co.uk
http://desford-weather.co.uk
Also on Desford weather underground.
Looking forward to cumulus on Linux platform it'll rock!!

jank
Posts: 310
Joined: Sat 13 Jun 2015 5:57 pm
Weather Station: weatherstation
Operating System: Debian Wheezy
Location: Germany

Re: CumulusMX - RaspberyPi - Start|Stop|Restart Script V2.5.4.0

Post by jank » Tue 30 May 2017 1:18 pm

Sorry for answering late
In your screenshot I can see,that you NOT using the most current version of my script.....however, also in the most current version I assuem, you will get this error ?
I can see, that it is when I grep for soemthing like "inet" and the error occurs in line 620
Since you are using an older version which is NOT visible in your screenshot, I am not able to find out the correct version to look at line 620

which version of the cumulusmx.sh script are you running ?
jan
Want to see your Station values on SSH? Cumulusnow http://sandaysoft.com/forum/viewtopic.php?f=27&t=14062
Want a Start|Stop|Restart Script for CumulusMX on RaspberryPi? cumulusmx.sh http://sandaysoft.com/forum/viewtopic.php?f=27&t=13767

richard_newberry
Posts: 291
Joined: Tue 12 Apr 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Debian Stretch (VMWARE Esxi 6.5)
Location: Leicester
Contact:

Re: CumulusMX - RaspberyPi - Start|Stop|Restart Script V2.5.4.0

Post by richard_newberry » Wed 31 May 2017 1:44 am

this picture shows what version I'm using.
You do not have the required permissions to view the files attached to this post.
Desford Weather
http://www.desford-weather.co.uk
http://desford-weather.co.uk
Also on Desford weather underground.
Looking forward to cumulus on Linux platform it'll rock!!

jank
Posts: 310
Joined: Sat 13 Jun 2015 5:57 pm
Weather Station: weatherstation
Operating System: Debian Wheezy
Location: Germany

Re: CumulusMX - RaspberyPi - Start|Stop|Restart Script V2.5.4.0

Post by jank » Wed 31 May 2017 12:51 pm

Hello Peter
as far as I can see, I am checking the scriptz version versus version online in line 620
And as far as I remember, there were changes on the Cumulus Website with the result, that my command could not find the latest Cumulus Version online.
So I updated my script to get the correct value.

PLease update the Script to the most current version and check again.
You are on 2.5.2.2 - current version is 2.5.4.0 !

Reading the release info omn the first page of this post:

Version 2.5.2.2: [02.09.2016] - Fixed Version check for CumulusMX because changes on the Cumulus Webpages were made.
Version 2.5.3.0: [27.09.2016] - Added Parameter -w (watchdog). In case CumulusMX can not be started with the init.d script, create a cron entry which is starting CumulusMX every 10 minutes. In case it is already running, nothing happens. If not running, it will be startet
Version 2.5.3.1: [21.01.2017] - fixed CumulusMX version check since Steve modified the Forum website
Version 2.5.4.0: [21.02.2017] - fixed a problem with the init.d script when CumulusMX is installed on a USB Drive. CumulusMX could not be started at system boot. This version fixed this problem. Please read Forum post for more information.
Want to see your Station values on SSH? Cumulusnow http://sandaysoft.com/forum/viewtopic.php?f=27&t=14062
Want a Start|Stop|Restart Script for CumulusMX on RaspberryPi? cumulusmx.sh http://sandaysoft.com/forum/viewtopic.php?f=27&t=13767

richard_newberry
Posts: 291
Joined: Tue 12 Apr 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Debian Stretch (VMWARE Esxi 6.5)
Location: Leicester
Contact:

Re: CumulusMX - RaspberyPi - Start|Stop|Restart Script V2.5.4.0

Post by richard_newberry » Wed 31 May 2017 8:49 pm

Updated to the latest release and still saying cant listen on 8998 and http://inet:8998 any suggestions please?

when i do nslookup it only does reverse lookups and no forward lookups only when i do localhost.

i run 2 dns servers locally on vmware as test machines.shouldnt make a difference if its hosted on vmware.
Desford Weather
http://www.desford-weather.co.uk
http://desford-weather.co.uk
Also on Desford weather underground.
Looking forward to cumulus on Linux platform it'll rock!!

jank
Posts: 310
Joined: Sat 13 Jun 2015 5:57 pm
Weather Station: weatherstation
Operating System: Debian Wheezy
Location: Germany

Re: CumulusMX - RaspberyPi - Start|Stop|Restart Script V2.5.4.0

Post by jank » Sun 04 Jun 2017 12:30 pm

Richard,when I understand correctly, the errors are gone but now it is saying that cumulusmx is not running?
Can you send a nee Screenshot ?
Want to see your Station values on SSH? Cumulusnow http://sandaysoft.com/forum/viewtopic.php?f=27&t=14062
Want a Start|Stop|Restart Script for CumulusMX on RaspberryPi? cumulusmx.sh http://sandaysoft.com/forum/viewtopic.php?f=27&t=13767

richard_newberry
Posts: 291
Joined: Tue 12 Apr 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Debian Stretch (VMWARE Esxi 6.5)
Location: Leicester
Contact:

Re: CumulusMX - RaspberyPi - Start|Stop|Restart Script V2.5.4.0

Post by richard_newberry » Sun 04 Jun 2017 7:57 pm

screenshots as requested.
You do not have the required permissions to view the files attached to this post.
Desford Weather
http://www.desford-weather.co.uk
http://desford-weather.co.uk
Also on Desford weather underground.
Looking forward to cumulus on Linux platform it'll rock!!

BigOkie
Posts: 213
Joined: Tue 28 May 2013 1:06 am
Weather Station: Davis VP2
Operating System: Raspian Jessie
Location: Tulsa, OK

Re: CumulusMX - RaspberyPi - Start|Stop|Restart Script V2.5.4.0

Post by BigOkie » Sun 04 Jun 2017 11:13 pm

That error typically returns when you don't have a DNS server configured.

can you do the following in your SSH session?

first, ping the network.

ping mit.edu

show the results but...

....if that fails, then how about the contents of:

more /etc/hosts

If that has content, then how about:

more /etc/resolv.conf

richard_newberry
Posts: 291
Joined: Tue 12 Apr 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Debian Stretch (VMWARE Esxi 6.5)
Location: Leicester
Contact:

Re: CumulusMX - RaspberyPi - Start|Stop|Restart Script V2.5.4.0

Post by richard_newberry » Mon 05 Jun 2017 6:49 am

here is the results.
You do not have the required permissions to view the files attached to this post.
Desford Weather
http://www.desford-weather.co.uk
http://desford-weather.co.uk
Also on Desford weather underground.
Looking forward to cumulus on Linux platform it'll rock!!

jank
Posts: 310
Joined: Sat 13 Jun 2015 5:57 pm
Weather Station: weatherstation
Operating System: Debian Wheezy
Location: Germany

Re: CumulusMX - RaspberyPi - Start|Stop|Restart Script V2.5.4.0

Post by jank » Wed 07 Jun 2017 7:24 am

Hello Richard

the first problem seem to be easy to solve.....
Network Interface: eth0 - IP Address: inet - Netmask:inet
This is a result of a simple query to get your IP address and your netmask.
In the first step, I query your interface. On a raspberrypi it is almost eth0
The next query is to get the ip address of eth0.
My script is using this command: ifconfig eth0 | grep 'inet ' | cut -d: -f2 | awk '{ print $1}'
The command: ifconfig eth0 is giving a complete line and I am "cutting" the releavant information fomr this line.

So please insert these commands:
a) ifconfig eth0 | grep 'inet ' | cut -d: -f2 | awk '{ print $1}'
b) ifconfig eth0 | grep 'inet '
PLease paster the result in your answer, but NOT as a screenshot....please use copy and paste....I need to find out, why your OS is replying with a format other then expected.
So I assume, your are NOT running CumulusMX on a Raspberry Pi ?
Want to see your Station values on SSH? Cumulusnow http://sandaysoft.com/forum/viewtopic.php?f=27&t=14062
Want a Start|Stop|Restart Script for CumulusMX on RaspberryPi? cumulusmx.sh http://sandaysoft.com/forum/viewtopic.php?f=27&t=13767

richard_newberry
Posts: 291
Joined: Tue 12 Apr 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Debian Stretch (VMWARE Esxi 6.5)
Location: Leicester
Contact:

Re: CumulusMX - RaspberyPi - Start|Stop|Restart Script V2.5.4.0

Post by richard_newberry » Wed 07 Jun 2017 6:03 pm

I'm using Debian Stretch 9.0
Last edited by richard_newberry on Wed 07 Jun 2017 6:14 pm, edited 1 time in total.
Desford Weather
http://www.desford-weather.co.uk
http://desford-weather.co.uk
Also on Desford weather underground.
Looking forward to cumulus on Linux platform it'll rock!!

richard_newberry
Posts: 291
Joined: Tue 12 Apr 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Debian Stretch (VMWARE Esxi 6.5)
Location: Leicester
Contact:

Re: CumulusMX - RaspberyPi - Start|Stop|Restart Script V2.5.4.0

Post by richard_newberry » Wed 07 Jun 2017 6:09 pm

ifconfig eth0 | grep 'inet ' | cut -d: -f2 | awk '{ print $1}'
inet
ifconfig eth0 | grep 'inet '
inet 192.168.1.4 netmask 255.255.255.0 broadcast 192.168.1.255

I'm using Debian Stretch 9.0 inside vmware esxi 6.5
Desford Weather
http://www.desford-weather.co.uk
http://desford-weather.co.uk
Also on Desford weather underground.
Looking forward to cumulus on Linux platform it'll rock!!

richard_newberry
Posts: 291
Joined: Tue 12 Apr 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Debian Stretch (VMWARE Esxi 6.5)
Location: Leicester
Contact:

Re: CumulusMX - RaspberyPi - Start|Stop|Restart Script V2.5.4.0

Post by richard_newberry » Wed 07 Jun 2017 6:13 pm

you think its not detecting the drivers why it's displaying inet?
Desford Weather
http://www.desford-weather.co.uk
http://desford-weather.co.uk
Also on Desford weather underground.
Looking forward to cumulus on Linux platform it'll rock!!

Post Reply