If you use Cumulus, please donate Image

Please read this post before posting

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3043 Jan 20 2017. See this post 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.
richard_newberry
Posts: 244
Joined: Tue Apr 12, 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Debian Jessie (VMWARE Esxi 6.0)
Location: Leicester
Contact:

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

Postby richard_newberry » Sun May 21, 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.
Kirby Muxloe Weather
http://kirbymuxloe-weather.dyndns.org web forward to http://kirbymuxloe-weather.co.uk
Also on Kirby Muxloe weather underground.
Looking forward to cumulus on Linux platform it'll rock!!

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

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

Postby jank » Sun May 21, 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: 244
Joined: Tue Apr 12, 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Debian Jessie (VMWARE Esxi 6.0)
Location: Leicester
Contact:

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

Postby richard_newberry » Mon May 22, 2017 10:02 am

please see below.

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

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

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

Postby jank » Tue May 30, 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: 244
Joined: Tue Apr 12, 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Debian Jessie (VMWARE Esxi 6.0)
Location: Leicester
Contact:

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

Postby richard_newberry » Wed May 31, 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.
Kirby Muxloe Weather
http://kirbymuxloe-weather.dyndns.org web forward to http://kirbymuxloe-weather.co.uk
Also on Kirby Muxloe weather underground.
Looking forward to cumulus on Linux platform it'll rock!!

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

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

Postby jank » Wed May 31, 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: 244
Joined: Tue Apr 12, 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Debian Jessie (VMWARE Esxi 6.0)
Location: Leicester
Contact:

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

Postby richard_newberry » Wed May 31, 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.
Kirby Muxloe Weather
http://kirbymuxloe-weather.dyndns.org web forward to http://kirbymuxloe-weather.co.uk
Also on Kirby Muxloe weather underground.
Looking forward to cumulus on Linux platform it'll rock!!

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

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

Postby jank » Sun Jun 04, 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: 244
Joined: Tue Apr 12, 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Debian Jessie (VMWARE Esxi 6.0)
Location: Leicester
Contact:

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

Postby richard_newberry » Sun Jun 04, 2017 7:57 pm

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

BigOkie
Posts: 210
Joined: Tue May 28, 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

Postby BigOkie » Sun Jun 04, 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: 244
Joined: Tue Apr 12, 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Debian Jessie (VMWARE Esxi 6.0)
Location: Leicester
Contact:

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

Postby richard_newberry » Mon Jun 05, 2017 6:49 am

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

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

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

Postby jank » Wed Jun 07, 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: 244
Joined: Tue Apr 12, 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Debian Jessie (VMWARE Esxi 6.0)
Location: Leicester
Contact:

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

Postby richard_newberry » Wed Jun 07, 2017 6:03 pm

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

richard_newberry
Posts: 244
Joined: Tue Apr 12, 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Debian Jessie (VMWARE Esxi 6.0)
Location: Leicester
Contact:

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

Postby richard_newberry » Wed Jun 07, 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
Kirby Muxloe Weather
http://kirbymuxloe-weather.dyndns.org web forward to http://kirbymuxloe-weather.co.uk
Also on Kirby Muxloe weather underground.
Looking forward to cumulus on Linux platform it'll rock!!

richard_newberry
Posts: 244
Joined: Tue Apr 12, 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Debian Jessie (VMWARE Esxi 6.0)
Location: Leicester
Contact:

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

Postby richard_newberry » Wed Jun 07, 2017 6:13 pm

you think its not detecting the drivers why it's displaying inet?
Kirby Muxloe Weather
http://kirbymuxloe-weather.dyndns.org web forward to http://kirbymuxloe-weather.co.uk
Also on Kirby Muxloe weather underground.
Looking forward to cumulus on Linux platform it'll rock!!


Return to “Cumulus MX”

Who is online

Users browsing this forum: No registered users and 4 guests