Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4017) - 17 March 2024

Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014 (a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

RaspberryPi: CumulusMX init.d System Startup Script

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

richard_newberry
Posts: 481
Joined: Tue 12 Apr 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Raspbian Bookworm & Debian 12
Location: Leicester
Contact:

Re: RaspberryPi: CumulusMX init.d System Startup Script

Post by richard_newberry »

Do i put ifconfig in /etc/profile rather then sbin because ifconfig is in the script?
Desford Weather (at parents)
https://desford-weather.co.uk

Countesthorpe Weather (at mine)
https://countesthorpe-weather.co.uk
jank
Posts: 239
Joined: Sat 13 Jun 2015 5:57 pm
Weather Station: FineOffset WS3080
Operating System: Debian Buster - Raspbian - Raspb
Location: Germany - nearby Kassel

Re: RaspberryPi: CumulusMX init.d System Startup Script

Post by jank »

No, add only the path (sbin) into you user Profiles Environment that you can find the ifconfig without adding the complete path to each command.
Do want a Managing Dashboard for CumulusMX on RaspberryPi? cumulusmx.sh
viewtopic.php?f=40&t=17907
Image
richard_newberry
Posts: 481
Joined: Tue 12 Apr 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Raspbian Bookworm & Debian 12
Location: Leicester
Contact:

Re: RaspberryPi: CumulusMX init.d System Startup Script

Post by richard_newberry »

I will let you know how i get on.
Desford Weather (at parents)
https://desford-weather.co.uk

Countesthorpe Weather (at mine)
https://countesthorpe-weather.co.uk
richard_newberry
Posts: 481
Joined: Tue 12 Apr 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Raspbian Bookworm & Debian 12
Location: Leicester
Contact:

Re: RaspberryPi: CumulusMX init.d System Startup Script

Post by richard_newberry »

It works fine now thanks.
Desford Weather (at parents)
https://desford-weather.co.uk

Countesthorpe Weather (at mine)
https://countesthorpe-weather.co.uk
User avatar
jpsc
Posts: 179
Joined: Tue 23 Aug 2011 6:06 pm
Weather Station: Davis Vantage Vue, belfryboy USB
Operating System: Raspbian Bullseye
Location: Wye valley, Herefordshire, UK
Contact:

Re: RaspberryPi: CumulusMX init.d System Startup Script

Post by jpsc »

I've just rebuilt my system with Jessie Lite

All is working except boot-time startup of CMX

My CMX installation is on an SSD and was working with Wheezy, and now works with Jessie. I used to run it as root and still do.

Code: Select all

sudo /mnt/SSD/CumulusMX/cumulusmx.sh -r
works

I first tried to use crontab to start CMX at boot but realised that doesn't work so removed it.

I edited the cumulusmx script for CumulusMX_HOME and

Code: Select all

sudo /etc/init.d/cumulusmx start
works

I don't understand three lines for CMX in the syslog:

Code: Select all

pi@WeatherServer:~ $ sudo grep -i cumulusmx /var/log/syslog
Jun  1 13:13:56 WeatherServer systemd[1]: Starting LSB: Start cumulusmx.sh (CumulusMX) at boot time...
Jun  1 13:15:48 WeatherServer cumulusmx[372]: Starting CumulusMX...
Jun  1 13:15:48 WeatherServer systemd[1]: Started LSB: Start cumulusmx.sh (CumulusMX) at boot time.
and it is not running after the startup.

Apologies for posting the entire log, but you may be able to see something

Code: Select all

Jun  1 13:13:56 WeatherServer rsyslogd: [origin software="rsyslogd" swVersion="8.4.2" x-pid="441" x-info="http://www.rsyslog.com"] start
Jun  1 13:13:56 WeatherServer systemd[1]: Mounted Configuration File System.
Jun  1 13:13:56 WeatherServer systemd[1]: Started Apply Kernel Variables.
Jun  1 13:13:56 WeatherServer systemd[1]: Started Create Static Device Nodes in /dev.
Jun  1 13:13:56 WeatherServer systemd[1]: Starting udev Kernel Device Manager...
Jun  1 13:13:56 WeatherServer systemd-fsck[103]: e2fsck 1.42.12 (29-Aug-2014)
Jun  1 13:13:56 WeatherServer systemd-fsck[103]: /dev/mmcblk0p2: clean, 45512/233392 files, 372498/936192 blocks
Jun  1 13:13:56 WeatherServer systemd[1]: Started udev Kernel Device Manager.
Jun  1 13:13:56 WeatherServer systemd[1]: Starting Copy rules generated while the root was ro...
Jun  1 13:13:56 WeatherServer systemd[1]: Starting LSB: Set preliminary keymap...
Jun  1 13:13:56 WeatherServer fake-hwclock[107]: Wed  1 Jun 12:13:51 UTC 2016
Jun  1 13:13:56 WeatherServer systemd[1]: Started Copy rules generated while the root was ro.
Jun  1 13:13:56 WeatherServer systemd[1]: Found device SDSSDA120G ummspi3.
Jun  1 13:13:56 WeatherServer keyboard-setup[140]: Setting preliminary keymap...done.
Jun  1 13:13:56 WeatherServer systemd[1]: Started LSB: Set preliminary keymap.
Jun  1 13:13:56 WeatherServer systemd[1]: Started Show Plymouth Boot Screen.
Jun  1 13:13:56 WeatherServer systemd[1]: Started Forward Password Requests to Plymouth Directory Watch.
Jun  1 13:13:56 WeatherServer systemd[1]: Starting Dispatch Password Requests to Console Directory Watch.
Jun  1 13:13:56 WeatherServer systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
Jun  1 13:13:56 WeatherServer systemd[1]: Starting Paths.
Jun  1 13:13:56 WeatherServer systemd[1]: Reached target Paths.
Jun  1 13:13:56 WeatherServer systemd[1]: Starting Remount Root and Kernel File Systems...
Jun  1 13:13:56 WeatherServer systemd[1]: Found device /dev/ttyAMA0.
Jun  1 13:13:56 WeatherServer systemd[1]: Starting Sound Card.
Jun  1 13:13:56 WeatherServer systemd[1]: Reached target Sound Card.
Jun  1 13:13:56 WeatherServer systemd[1]: Started Remount Root and Kernel File Systems.
Jun  1 13:13:56 WeatherServer systemd[1]: Started Various fixups to make systemd work better on Debian.
Jun  1 13:13:56 WeatherServer systemd[1]: Starting Load/Save Random Seed...
Jun  1 13:13:56 WeatherServer systemd[1]: Starting Local File Systems (Pre).
Jun  1 13:13:56 WeatherServer systemd[1]: Reached target Local File Systems (Pre).
Jun  1 13:13:56 WeatherServer systemd[1]: Mounting /mnt/SSD...
Jun  1 13:13:56 WeatherServer systemd[1]: Started Load/Save Random Seed.
Jun  1 13:13:56 WeatherServer systemd[1]: Found device /dev/mmcblk0p1.
Jun  1 13:13:56 WeatherServer systemd[1]: Mounted /mnt/SSD.
Jun  1 13:13:56 WeatherServer systemd[1]: Starting File System Check on /dev/mmcblk0p1...
Jun  1 13:13:56 WeatherServer systemd-fsck[216]: fsck.fat 3.0.27 (2014-11-12)
Jun  1 13:13:56 WeatherServer systemd-fsck[216]: /dev/mmcblk0p1: 101 files, 2621/8057 clusters
Jun  1 13:13:56 WeatherServer systemd[1]: Started File System Check on /dev/mmcblk0p1.
Jun  1 13:13:56 WeatherServer systemd[1]: Mounting /boot...
Jun  1 13:13:56 WeatherServer systemd[1]: Mounted /boot.
Jun  1 13:13:56 WeatherServer systemd[1]: Starting Local File Systems.
Jun  1 13:13:56 WeatherServer systemd[1]: Reached target Local File Systems.
Jun  1 13:13:56 WeatherServer systemd[1]: Starting Tell Plymouth To Write Out Runtime Data...
Jun  1 13:13:56 WeatherServer systemd[1]: Starting Create Volatile Files and Directories...
Jun  1 13:13:56 WeatherServer systemd[1]: Starting Remote File Systems.
Jun  1 13:13:56 WeatherServer systemd[1]: Reached target Remote File Systems.
Jun  1 13:13:56 WeatherServer systemd[1]: Starting Trigger Flushing of Journal to Persistent Storage...
Jun  1 13:13:56 WeatherServer systemd[1]: Starting LSB: Switch to ondemand cpu governor (unless shift key is pressed)...
Jun  1 13:13:56 WeatherServer systemd[1]: Starting LSB: Prepare console...
Jun  1 13:13:56 WeatherServer systemd[1]: Starting LSB: Raise network interfaces....
Jun  1 13:13:56 WeatherServer systemd[1]: Started Tell Plymouth To Write Out Runtime Data.
Jun  1 13:13:56 WeatherServer raspi-config[227]: Checking if shift key is held down:Error opening '/dev/input/event*': No such file or directory
Jun  1 13:13:56 WeatherServer raspi-config[227]: No. Switching to ondemand scaling governor.
Jun  1 13:13:56 WeatherServer systemd[1]: Started Create Volatile Files and Directories.
Jun  1 13:13:56 WeatherServer systemd[1]: Started LSB: Switch to ondemand cpu governor (unless shift key is pressed).
Jun  1 13:13:56 WeatherServer kbd[228]: Setting console screen modes.
Jun  1 13:13:56 WeatherServer systemd[1]: Started Trigger Flushing of Journal to Persistent Storage.
Jun  1 13:13:56 WeatherServer systemd[1]: Starting Update UTMP about System Boot/Shutdown...
Jun  1 13:13:56 WeatherServer kbd[228]: setterm: $TERM is not defined.
Jun  1 13:13:56 WeatherServer systemd[1]: Started LSB: Prepare console.
Jun  1 13:13:56 WeatherServer systemd[1]: Starting LSB: Set console font and keymap...
Jun  1 13:13:56 WeatherServer systemd[1]: Started Update UTMP about System Boot/Shutdown.
Jun  1 13:13:56 WeatherServer console-setup[276]: Setting up console font and keymap...done.
Jun  1 13:13:56 WeatherServer systemd[1]: Started LSB: Set console font and keymap.
Jun  1 13:13:56 WeatherServer networking[230]: Configuring network interfaces...done.
Jun  1 13:13:56 WeatherServer systemd[1]: Started LSB: Raise network interfaces..
Jun  1 13:13:56 WeatherServer systemd[1]: Starting System Initialization.
Jun  1 13:13:56 WeatherServer systemd[1]: Reached target System Initialization.
Jun  1 13:13:56 WeatherServer systemd[1]: Starting Avahi mDNS/DNS-SD Stack Activation Socket.
Jun  1 13:13:56 WeatherServer systemd[1]: Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
Jun  1 13:13:56 WeatherServer systemd[1]: Starting D-Bus System Message Bus Socket.
Jun  1 13:13:56 WeatherServer systemd[1]: Listening on D-Bus System Message Bus Socket.
Jun  1 13:13:56 WeatherServer systemd[1]: Starting Sockets.
Jun  1 13:13:56 WeatherServer systemd[1]: Reached target Sockets.
Jun  1 13:13:56 WeatherServer systemd[1]: Starting Daily Cleanup of Temporary Directories.
Jun  1 13:13:56 WeatherServer systemd[1]: Started Daily Cleanup of Temporary Directories.
Jun  1 13:13:56 WeatherServer systemd[1]: Starting Timers.
Jun  1 13:13:56 WeatherServer systemd[1]: Reached target Timers.
Jun  1 13:13:56 WeatherServer systemd[1]: Started Manage Sound Card State (restore and store).
Jun  1 13:13:56 WeatherServer systemd[1]: Starting Restore Sound Card State...
Jun  1 13:13:56 WeatherServer systemd[1]: Starting Basic System.
Jun  1 13:13:56 WeatherServer systemd[1]: Reached target Basic System.
Jun  1 13:13:56 WeatherServer systemd[1]: Starting Modem Manager...
Jun  1 13:13:56 WeatherServer systemd[1]: Starting Regular background program processing daemon...
Jun  1 13:13:56 WeatherServer systemd[1]: Started Regular background program processing daemon.
Jun  1 13:13:56 WeatherServer systemd[1]: Starting dhcpcd on all interfaces...
Jun  1 13:13:56 WeatherServer systemd[1]: Started Configure Bluetooth Modems connected by UART.
Jun  1 13:13:56 WeatherServer systemd[1]: Starting Enable support for additional executable binary formats...
Jun  1 13:13:56 WeatherServer cron[365]: (CRON) INFO (pidfile fd = 3)
Jun  1 13:13:56 WeatherServer systemd[1]: Started getty on tty2-tty6 if dbus and logind are not available.
Jun  1 13:13:56 WeatherServer systemd[1]: Starting Login Service...
Jun  1 13:13:56 WeatherServer systemd[1]: Starting LSB: Autogenerate and use a swap file...
Jun  1 13:13:56 WeatherServer systemd[1]: Starting LSB: triggerhappy hotkey daemon...
Jun  1 13:13:56 WeatherServer systemd[1]: Starting LSB: Start cumulusmx.sh (CumulusMX) at boot time...
Jun  1 13:13:56 WeatherServer systemd[1]: Starting Avahi mDNS/DNS-SD Stack...
Jun  1 13:13:56 WeatherServer systemd[1]: Starting D-Bus System Message Bus...
Jun  1 13:13:56 WeatherServer systemd[1]: Started D-Bus System Message Bus.
Jun  1 13:13:56 WeatherServer dhcpcd[366]: version 6.7.1 starting
Jun  1 13:13:56 WeatherServer cron[365]: (CRON) INFO (Running @reboot jobs)
Jun  1 13:13:56 WeatherServer dphys-swapfile[369]: Starting dphys-swapfile swapfile setup ...
Jun  1 13:13:56 WeatherServer dhcpcd[366]: dev: loaded udev
Jun  1 13:13:56 WeatherServer triggerhappy[370]: Error opening '/dev/input/event*': No such file or directory
Jun  1 13:13:56 WeatherServer dphys-swapfile[369]: want /var/swap=100MByte, checking existing: keeping it
Jun  1 13:13:56 WeatherServer dhcpcd[366]: eth0: adding address fe80::8bf9:556f:3e96:c46b
Jun  1 13:13:56 WeatherServer avahi-daemon[374]: Found user 'avahi' (UID 105) and group 'avahi' (GID 110).
Jun  1 13:13:56 WeatherServer avahi-daemon[374]: Successfully dropped root privileges.
Jun  1 13:13:56 WeatherServer avahi-daemon[374]: avahi-daemon 0.6.31 starting up.
Jun  1 13:13:56 WeatherServer dphys-swapfile[369]: done.
Jun  1 13:13:56 WeatherServer ModemManager[363]: <info>  ModemManager (version 1.4.0) starting in system bus...
Jun  1 13:13:56 WeatherServer avahi-daemon[374]: Successfully called chroot().
Jun  1 13:13:56 WeatherServer avahi-daemon[374]: Successfully dropped remaining capabilities.
Jun  1 13:13:56 WeatherServer dbus[376]: [system] Successfully activated service 'org.freedesktop.systemd1'
Jun  1 13:13:56 WeatherServer systemd[1]: Started Avahi mDNS/DNS-SD Stack.
Jun  1 13:13:56 WeatherServer systemd[1]: Starting System Logging Service...
Jun  1 13:13:56 WeatherServer avahi-daemon[374]: No service file found in /etc/avahi/services.
Jun  1 13:13:56 WeatherServer systemd[1]: Starting Permit User Sessions...
Jun  1 13:13:56 WeatherServer systemd[1]: Started Restore Sound Card State.
Jun  1 13:13:56 WeatherServer systemd[1]: Started LSB: Autogenerate and use a swap file.
Jun  1 13:13:56 WeatherServer systemd[1]: Started LSB: triggerhappy hotkey daemon.
Jun  1 13:13:56 WeatherServer systemd[1]: Got automount request for /proc/sys/fs/binfmt_misc, triggered by 367 (update-binfmts)
Jun  1 13:13:56 WeatherServer systemd[1]: Mounting Arbitrary Executable File Formats File System...
Jun  1 13:13:56 WeatherServer systemd[1]: Started Login Service.
Jun  1 13:13:56 WeatherServer avahi-daemon[374]: Network interface enumeration completed.
Jun  1 13:13:56 WeatherServer avahi-daemon[374]: Registering HINFO record with values 'ARMV7L'/'LINUX'.
Jun  1 13:13:56 WeatherServer avahi-daemon[374]: Server startup complete. Host name is WeatherServer.local. Local service cookie is 2864397754.
Jun  1 13:13:56 WeatherServer systemd[1]: Started Permit User Sessions.
Jun  1 13:13:56 WeatherServer systemd[1]: Mounted Arbitrary Executable File Formats File System.
Jun  1 13:13:56 WeatherServer systemd[1]: Started Enable support for additional executable binary formats.
Jun  1 13:13:56 WeatherServer kernel: [    0.000000] Booting Linux on physical CPU 0xf00
Jun  1 13:13:56 WeatherServer kernel: [    0.000000] Initializing cgroup subsys cpuset
Jun  1 13:13:56 WeatherServer kernel: [    0.000000] Initializing cgroup subsys cpu
Jun  1 13:13:56 WeatherServer kernel: [    0.000000] Initializing cgroup subsys cpuacct
Jun  1 13:13:56 WeatherServer kernel: [    0.000000] Linux version 4.4.11-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611) ) #888 SMP Mon May 23 20:10:33 BST 2016
Jun  1 13:13:56 WeatherServer kernel: [    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
Jun  1 13:13:56 WeatherServer kernel: [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Jun  1 13:13:56 WeatherServer kernel: [    0.000000] Machine model: Raspberry Pi 2 Model B Rev 1.1
Jun  1 13:13:56 WeatherServer kernel: [    0.000000] cma: Reserved 8 MiB at 0x36800000
Jun  1 13:13:56 WeatherServer kernel: [    0.000000] Memory policy: Data cache writealloc
Jun  1 13:13:56 WeatherServer kernel: [    0.000000] On node 0 totalpages: 225280
Jun  1 13:13:56 WeatherServer kernel: [    0.000000] free_area_init_node: node 0, pgdat 808c0dc0, node_mem_map b6036000
Jun  1 13:13:56 WeatherServer kernel: [    0.000000]   Normal zone: 1980 pages used for memmap
Jun  1 13:13:56 WeatherServer kernel: [    0.000000]   Normal zone: 0 pages reserved
Jun  1 13:13:56 WeatherServer kernel: [    0.000000]   Normal zone: 225280 pages, LIFO batch:31
Jun  1 13:13:56 WeatherServer kernel: [    0.000000] [bcm2709_smp_init_cpus] enter (9520->f3003010)
Jun  1 13:13:56 WeatherServer kernel: [    0.000000] [bcm2709_smp_init_cpus] ncores=4
Jun  1 13:13:56 WeatherServer kernel: [    0.000000] PERCPU: Embedded 13 pages/cpu @b5ff3000 s22592 r8192 d22464 u53248
Jun  1 13:13:56 WeatherServer kernel: [    0.000000] pcpu-alloc: s22592 r8192 d22464 u53248 alloc=13*4096
Jun  1 13:13:56 WeatherServer kernel: [    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
Jun  1 13:13:56 WeatherServer kernel: [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 223300
Jun  1 13:13:56 WeatherServer kernel: [    0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1824 bcm2708_fb.fbheight=984 bcm2709.boardrev=0xa01041 bcm2709.serial=0xb12cb698 smsc95xx.macaddr=B8:27:EB:2C:B6:98 bcm2708_fb.fbswap=1 bcm2709.uart_clock=3000000 bcm2709.disk_led_gpio=47 bcm2709.disk_led_active_low=0 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000  dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
Jun  1 13:13:56 WeatherServer kernel: [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
Jun  1 13:13:56 WeatherServer kernel: [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Jun  1 13:13:56 WeatherServer kernel: [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Jun  1 13:13:56 WeatherServer kernel: [    0.000000] Memory: 874128K/901120K available (6344K kernel code, 432K rwdata, 1712K rodata, 476K init, 764K bss, 18800K reserved, 8192K cma-reserved)
Jun  1 13:13:56 WeatherServer kernel: [    0.000000] Virtual kernel memory layout:
Jun  1 13:13:56 WeatherServer kernel: [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
Jun  1 13:13:56 WeatherServer kernel: [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
Jun  1 13:13:56 WeatherServer kernel: [    0.000000]     vmalloc : 0xb7800000 - 0xff800000   (1152 MB)
Jun  1 13:13:56 WeatherServer kernel: [    0.000000]     lowmem  : 0x80000000 - 0xb7000000   ( 880 MB)
Jun  1 13:13:56 WeatherServer kernel: [    0.000000]     modules : 0x7f000000 - 0x80000000   (  16 MB)
Jun  1 13:13:56 WeatherServer kernel: [    0.000000]       .text : 0x80008000 - 0x807e6420   (8058 kB)
Jun  1 13:13:56 WeatherServer kernel: [    0.000000]       .init : 0x807e7000 - 0x8085e000   ( 476 kB)
Jun  1 13:13:56 WeatherServer kernel: [    0.000000]       .data : 0x8085e000 - 0x808ca0c8   ( 433 kB)
Jun  1 13:13:56 WeatherServer kernel: [    0.000000]        .bss : 0x808cd000 - 0x8098c1ac   ( 765 kB)
Jun  1 13:13:56 WeatherServer kernel: [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
Jun  1 13:13:56 WeatherServer kernel: [    0.000000] Hierarchical RCU implementation.
Jun  1 13:13:56 WeatherServer kernel: [    0.000000] 	Build-time adjustment of leaf fanout to 32.
Jun  1 13:13:56 WeatherServer kernel: [    0.000000] NR_IRQS:16 nr_irqs:16 16
Jun  1 13:13:56 WeatherServer kernel: [    0.000000] Architected cp15 timer(s) running at 19.20MHz (phys).
Jun  1 13:13:56 WeatherServer kernel: [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
Jun  1 13:13:56 WeatherServer kernel: [    0.000011] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
Jun  1 13:13:56 WeatherServer kernel: [    0.000032] Switching to timer-based delay loop, resolution 52ns
Jun  1 13:13:56 WeatherServer kernel: [    0.000353] Console: colour dummy device 80x30
Jun  1 13:13:56 WeatherServer kernel: [    0.001534] console [tty1] enabled
Jun  1 13:13:56 WeatherServer kernel: [    0.001587] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
Jun  1 13:13:56 WeatherServer kernel: [    0.001663] pid_max: default: 32768 minimum: 301
Jun  1 13:13:56 WeatherServer kernel: [    0.002083] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
Jun  1 13:13:56 WeatherServer kernel: [    0.002134] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
Jun  1 13:13:56 WeatherServer kernel: [    0.003361] Disabling cpuset control group subsystem
Jun  1 13:13:56 WeatherServer kernel: [    0.003442] Initializing cgroup subsys io
Jun  1 13:13:56 WeatherServer kernel: [    0.003502] Initializing cgroup subsys memory
Jun  1 13:13:56 WeatherServer kernel: [    0.003580] Initializing cgroup subsys devices
Jun  1 13:13:56 WeatherServer kernel: [    0.003633] Initializing cgroup subsys freezer
Jun  1 13:13:56 WeatherServer kernel: [    0.003687] Initializing cgroup subsys net_cls
Jun  1 13:13:56 WeatherServer kernel: [    0.003784] CPU: Testing write buffer coherency: ok
Jun  1 13:13:56 WeatherServer kernel: [    0.003899] ftrace: allocating 21205 entries in 63 pages
Jun  1 13:13:56 WeatherServer kernel: [    0.056194] CPU0: update cpu_capacity 1024
Jun  1 13:13:56 WeatherServer kernel: [    0.056273] CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00
Jun  1 13:13:56 WeatherServer kernel: [    0.056311] [bcm2709_smp_prepare_cpus] enter
Jun  1 13:13:56 WeatherServer kernel: [    0.056465] Setting up static identity map for 0x8240 - 0x8274
Jun  1 13:13:56 WeatherServer kernel: [    0.058857] [bcm2709_boot_secondary] cpu:1 started (0) 18
Jun  1 13:13:56 WeatherServer kernel: [    0.059293] [bcm2709_secondary_init] enter cpu:1
Jun  1 13:13:56 WeatherServer kernel: [    0.059354] CPU1: update cpu_capacity 1024
Jun  1 13:13:56 WeatherServer kernel: [    0.059362] CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01
Jun  1 13:13:56 WeatherServer kernel: [    0.059944] [bcm2709_boot_secondary] cpu:2 started (0) 17
Jun  1 13:13:56 WeatherServer kernel: [    0.060299] [bcm2709_secondary_init] enter cpu:2
Jun  1 13:13:56 WeatherServer kernel: [    0.060330] CPU2: update cpu_capacity 1024
Jun  1 13:13:56 WeatherServer kernel: [    0.060338] CPU2: thread -1, cpu 2, socket 15, mpidr 80000f02
Jun  1 13:13:56 WeatherServer kernel: [    0.060873] [bcm2709_boot_secondary] cpu:3 started (0) 18
Jun  1 13:13:56 WeatherServer kernel: [    0.061128] [bcm2709_secondary_init] enter cpu:3
Jun  1 13:13:56 WeatherServer kernel: [    0.061157] CPU3: update cpu_capacity 1024
Jun  1 13:13:56 WeatherServer kernel: [    0.061165] CPU3: thread -1, cpu 3, socket 15, mpidr 80000f03
Jun  1 13:13:56 WeatherServer kernel: [    0.061253] Brought up 4 CPUs
Jun  1 13:13:56 WeatherServer kernel: [    0.061365] SMP: Total of 4 processors activated (153.60 BogoMIPS).
Jun  1 13:13:56 WeatherServer kernel: [    0.061397] CPU: All CPU(s) started in HYP mode.
Jun  1 13:13:56 WeatherServer kernel: [    0.061427] CPU: Virtualization extensions available.
Jun  1 13:13:56 WeatherServer kernel: [    0.062350] devtmpfs: initialized
Jun  1 13:13:56 WeatherServer kernel: [    0.074808] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
Jun  1 13:13:56 WeatherServer kernel: [    0.075313] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
Jun  1 13:13:56 WeatherServer kernel: [    0.076399] pinctrl core: initialized pinctrl subsystem
Jun  1 13:13:56 WeatherServer kernel: [    0.077217] NET: Registered protocol family 16
Jun  1 13:13:56 WeatherServer kernel: [    0.083034] DMA: preallocated 4096 KiB pool for atomic coherent allocations
Jun  1 13:13:56 WeatherServer kernel: [    0.091262] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
Jun  1 13:13:56 WeatherServer kernel: [    0.091324] hw-breakpoint: maximum watchpoint size is 8 bytes.
Jun  1 13:13:56 WeatherServer kernel: [    0.091551] Serial: AMBA PL011 UART driver
Jun  1 13:13:56 WeatherServer kernel: [    0.091907] 3f201000.uart: ttyAMA0 at MMIO 0x3f201000 (irq = 87, base_baud = 0) is a PL011 rev2
Jun  1 13:13:56 WeatherServer kernel: [    0.594779] console [ttyAMA0] enabled
Jun  1 13:13:56 WeatherServer kernel: [    0.599073] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
Jun  1 13:13:56 WeatherServer kernel: [    0.676620] bcm2835-dma 3f007000.dma: DMA legacy API manager at f3007000, dmachans=0x1
Jun  1 13:13:56 WeatherServer kernel: [    0.686704] SCSI subsystem initialized
Jun  1 13:13:56 WeatherServer kernel: [    0.690710] usbcore: registered new interface driver usbfs
Jun  1 13:13:56 WeatherServer kernel: [    0.696356] usbcore: registered new interface driver hub
Jun  1 13:13:56 WeatherServer kernel: [    0.701829] usbcore: registered new device driver usb
Jun  1 13:13:56 WeatherServer kernel: [    0.717001] raspberrypi-firmware soc:firmware: Attached to firmware from 2016-05-20 19:05
Jun  1 13:13:56 WeatherServer kernel: [    0.752796] clocksource: Switched to clocksource arch_sys_counter
Jun  1 13:13:56 WeatherServer kernel: [    0.811980] FS-Cache: Loaded
Jun  1 13:13:56 WeatherServer kernel: [    0.815349] CacheFiles: Loaded
Jun  1 13:13:56 WeatherServer kernel: [    0.834872] NET: Registered protocol family 2
Jun  1 13:13:56 WeatherServer kernel: [    0.840488] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
Jun  1 13:13:56 WeatherServer kernel: [    0.847753] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
Jun  1 13:13:56 WeatherServer kernel: [    0.854419] TCP: Hash tables configured (established 8192 bind 8192)
Jun  1 13:13:56 WeatherServer kernel: [    0.860936] UDP hash table entries: 512 (order: 2, 16384 bytes)
Jun  1 13:13:56 WeatherServer kernel: [    0.866958] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
Jun  1 13:13:56 WeatherServer kernel: [    0.873686] NET: Registered protocol family 1
Jun  1 13:13:56 WeatherServer kernel: [    0.878662] RPC: Registered named UNIX socket transport module.
Jun  1 13:13:56 WeatherServer kernel: [    0.884648] RPC: Registered udp transport module.
Jun  1 13:13:56 WeatherServer kernel: [    0.889366] RPC: Registered tcp transport module.
Jun  1 13:13:56 WeatherServer kernel: [    0.894110] RPC: Registered tcp NFSv4.1 backchannel transport module.
Jun  1 13:13:56 WeatherServer kernel: [    0.901904] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
Jun  1 13:13:56 WeatherServer kernel: [    0.911820] futex hash table entries: 1024 (order: 4, 65536 bytes)
Jun  1 13:13:56 WeatherServer kernel: [    0.933846] VFS: Disk quotas dquot_6.6.0
Jun  1 13:13:56 WeatherServer kernel: [    0.938167] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Jun  1 13:13:56 WeatherServer kernel: [    0.947968] FS-Cache: Netfs 'nfs' registered for caching
Jun  1 13:13:56 WeatherServer kernel: [    0.954475] NFS: Registering the id_resolver key type
Jun  1 13:13:56 WeatherServer kernel: [    0.959600] Key type id_resolver registered
Jun  1 13:13:56 WeatherServer kernel: [    0.963831] Key type id_legacy registered
Jun  1 13:13:56 WeatherServer kernel: [    0.971045] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
Jun  1 13:13:56 WeatherServer kernel: [    0.978756] io scheduler noop registered
Jun  1 13:13:56 WeatherServer kernel: [    0.982711] io scheduler deadline registered (default)
Jun  1 13:13:56 WeatherServer kernel: [    0.987970] io scheduler cfq registered
Jun  1 13:13:56 WeatherServer kernel: [    0.994781] BCM2708FB: allocated DMA memory f6c00000
Jun  1 13:13:56 WeatherServer kernel: [    0.999798] BCM2708FB: allocated DMA channel 0 @ f3007000
Jun  1 13:13:56 WeatherServer kernel: [    1.034619] Console: switching to colour frame buffer device 228x61
Jun  1 13:13:56 WeatherServer kernel: [    2.035301] bcm2835-rng 3f104000.rng: hwrng registered
Jun  1 13:13:56 WeatherServer kernel: [    2.040712] vc-cma: Videocore CMA driver
Jun  1 13:13:56 WeatherServer kernel: [    2.044761] vc-cma: vc_cma_base      = 0x00000000
Jun  1 13:13:56 WeatherServer kernel: [    2.049551] vc-cma: vc_cma_size      = 0x00000000 (0 MiB)
Jun  1 13:13:56 WeatherServer kernel: [    2.055069] vc-cma: vc_cma_initial   = 0x00000000 (0 MiB)
Jun  1 13:13:56 WeatherServer kernel: [    2.060860] vc-mem: phys_addr:0x00000000 mem_base=0x3dc00000 mem_size:0x3f000000(1008 MiB)
Jun  1 13:13:56 WeatherServer kernel: [    2.090177] brd: module loaded
Jun  1 13:13:56 WeatherServer kernel: [    2.104599] loop: module loaded
Jun  1 13:13:56 WeatherServer kernel: [    2.108947] vchiq: vchiq_init_state: slot_zero = 0xb6c80000, is_master = 0
Jun  1 13:13:56 WeatherServer kernel: [    2.117814] Loading iSCSI transport class v2.0-870.
Jun  1 13:13:56 WeatherServer kernel: [    2.123795] usbcore: registered new interface driver smsc95xx
Jun  1 13:13:56 WeatherServer kernel: [    2.129703] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
Jun  1 13:13:56 WeatherServer kernel: [    2.336063] Core Release: 2.80a
Jun  1 13:13:56 WeatherServer kernel: [    2.339283] Setting default values for core params
Jun  1 13:13:56 WeatherServer kernel: [    2.344243] Finished setting default values for core params
Jun  1 13:13:56 WeatherServer kernel: [    2.550378] Using Buffer DMA mode
Jun  1 13:13:56 WeatherServer kernel: [    2.553784] Periodic Transfer Interrupt Enhancement - disabled
Jun  1 13:13:56 WeatherServer kernel: [    2.559713] Multiprocessor Interrupt Enhancement - disabled
Jun  1 13:13:56 WeatherServer kernel: [    2.565400] OTG VER PARAM: 0, OTG VER FLAG: 0
Jun  1 13:13:56 WeatherServer kernel: [    2.569839] Dedicated Tx FIFOs mode
Jun  1 13:13:56 WeatherServer kernel: [    2.573901] WARN::dwc_otg_hcd_init:1047: FIQ DMA bounce buffers: virt = 0xb6c14000 dma = 0xf6c14000 len=9024
Jun  1 13:13:56 WeatherServer kernel: [    2.583954] FIQ FSM acceleration enabled for :
Jun  1 13:13:56 WeatherServer kernel: [    2.583954] Non-periodic Split Transactions
Jun  1 13:13:56 WeatherServer kernel: [    2.583954] Periodic Split Transactions
Jun  1 13:13:56 WeatherServer kernel: [    2.583954] High-Speed Isochronous Endpoints
Jun  1 13:13:56 WeatherServer kernel: [    2.583954] Interrupt/Control Split Transaction hack enabled
Jun  1 13:13:56 WeatherServer kernel: [    2.611413] dwc_otg: Microframe scheduler enabled
Jun  1 13:13:56 WeatherServer kernel: [    2.611490] WARN::hcd_init_fiq:413: FIQ on core 1 at 0x804464e4
Jun  1 13:13:56 WeatherServer kernel: [    2.622238] WARN::hcd_init_fiq:414: FIQ ASM at 0x80446854 length 36
Jun  1 13:13:56 WeatherServer kernel: [    2.633329] WARN::hcd_init_fiq:439: MPHI regs_base at 0xb787e000
Jun  1 13:13:56 WeatherServer kernel: [    2.644222] dwc_otg 3f980000.usb: DWC OTG Controller
Jun  1 13:13:56 WeatherServer kernel: [    2.654022] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
Jun  1 13:13:56 WeatherServer kernel: [    2.666184] dwc_otg 3f980000.usb: irq 62, io mem 0x00000000
Jun  1 13:13:56 WeatherServer kernel: [    2.676572] Init: Port Power? op_state=1
Jun  1 13:13:56 WeatherServer kernel: [    2.685227] Init: Power Port (0)
Jun  1 13:13:56 WeatherServer kernel: [    2.693428] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
Jun  1 13:13:56 WeatherServer kernel: [    2.704997] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
Jun  1 13:13:56 WeatherServer kernel: [    2.717003] usb usb1: Product: DWC OTG Controller
Jun  1 13:13:56 WeatherServer kernel: [    2.726522] usb usb1: Manufacturer: Linux 4.4.11-v7+ dwc_otg_hcd
Jun  1 13:13:56 WeatherServer kernel: [    2.737367] usb usb1: SerialNumber: 3f980000.usb
Jun  1 13:13:56 WeatherServer kernel: [    2.747823] hub 1-0:1.0: USB hub found
Jun  1 13:13:56 WeatherServer kernel: [    2.756445] hub 1-0:1.0: 1 port detected
Jun  1 13:13:56 WeatherServer kernel: [    2.765836] dwc_otg: FIQ enabled
Jun  1 13:13:56 WeatherServer kernel: [    2.765852] dwc_otg: NAK holdoff enabled
Jun  1 13:13:56 WeatherServer kernel: [    2.765863] dwc_otg: FIQ split-transaction FSM enabled
Jun  1 13:13:56 WeatherServer kernel: [    2.765906] Module dwc_common_port init
Jun  1 13:13:56 WeatherServer kernel: [    2.766321] usbcore: registered new interface driver usb-storage
Jun  1 13:13:56 WeatherServer kernel: [    2.777471] mousedev: PS/2 mouse device common for all mice
Jun  1 13:13:56 WeatherServer kernel: [    2.788681] bcm2835-cpufreq: min=600000 max=900000
Jun  1 13:13:56 WeatherServer kernel: [    2.798542] sdhci: Secure Digital Host Controller Interface driver
Jun  1 13:13:56 WeatherServer kernel: [    2.809420] sdhci: Copyright(c) Pierre Ossman
Jun  1 13:13:56 WeatherServer kernel: [    2.818839] sdhost: log_buf @ b6c13000 (f6c13000)
Jun  1 13:13:56 WeatherServer kernel: [    2.902837] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
Jun  1 13:13:56 WeatherServer kernel: [    2.913305] sdhci-pltfm: SDHCI platform and OF driver helper
Jun  1 13:13:56 WeatherServer kernel: [    2.924345] ledtrig-cpu: registered to indicate activity on CPUs
Jun  1 13:13:56 WeatherServer kernel: [    2.935233] hidraw: raw HID events driver (C) Jiri Kosina
Jun  1 13:13:56 WeatherServer kernel: [    2.945569] usbcore: registered new interface driver usbhid
Jun  1 13:13:56 WeatherServer kernel: [    2.955836] usbhid: USB HID core driver
Jun  1 13:13:56 WeatherServer kernel: [    2.960459] mmc0: host does not support reading read-only switch, assuming write-enable
Jun  1 13:13:56 WeatherServer kernel: [    2.962458] mmc0: new high speed SDHC card at address 1234
Jun  1 13:13:56 WeatherServer kernel: [    2.963355] mmcblk0: mmc0:1234 SA04G 3.64 GiB
Jun  1 13:13:56 WeatherServer kernel: [    2.965909]  mmcblk0: p1 p2
Jun  1 13:13:56 WeatherServer kernel: [    3.004257] Indeed it is in host mode hprt0 = 00021501
Jun  1 13:13:56 WeatherServer kernel: [    3.004833] Initializing XFRM netlink socket
Jun  1 13:13:56 WeatherServer kernel: [    3.004869] NET: Registered protocol family 17
Jun  1 13:13:56 WeatherServer kernel: [    3.005060] Key type dns_resolver registered
Jun  1 13:13:56 WeatherServer kernel: [    3.005647] Registering SWP/SWPB emulation handler
Jun  1 13:13:56 WeatherServer kernel: [    3.006812] registered taskstats version 1
Jun  1 13:13:56 WeatherServer kernel: [    3.007084] vc-sm: Videocore shared memory driver
Jun  1 13:13:56 WeatherServer kernel: [    3.007096] [vc_sm_connected_init]: start
Jun  1 13:13:56 WeatherServer kernel: [    3.014833] [vc_sm_connected_init]: end - returning 0
Jun  1 13:13:56 WeatherServer kernel: [    3.015187] of_cfs_init
Jun  1 13:13:56 WeatherServer kernel: [    3.015298] of_cfs_init: OK
Jun  1 13:13:56 WeatherServer kernel: [    3.120223] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
Jun  1 13:13:56 WeatherServer kernel: [    3.133089] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
Jun  1 13:13:56 WeatherServer kernel: [    3.156645] devtmpfs: mounted
Jun  1 13:13:56 WeatherServer kernel: [    3.165182] Freeing unused kernel memory: 476K (807e7000 - 8085e000)
Jun  1 13:13:56 WeatherServer kernel: [    3.272872] usb 1-1: new high-speed USB device number 2 using dwc_otg
Jun  1 13:13:56 WeatherServer kernel: [    3.284506] Indeed it is in host mode hprt0 = 00001101
Jun  1 13:13:56 WeatherServer kernel: [    3.493255] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
Jun  1 13:13:56 WeatherServer kernel: [    3.504917] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Jun  1 13:13:56 WeatherServer kernel: [    3.517910] hub 1-1:1.0: USB hub found
Jun  1 13:13:56 WeatherServer kernel: [    3.526492] hub 1-1:1.0: 5 ports detected
Jun  1 13:13:56 WeatherServer kernel: [    3.577172] random: systemd urandom read with 45 bits of entropy available
Jun  1 13:13:56 WeatherServer kernel: [    3.787844] NET: Registered protocol family 10
Jun  1 13:13:56 WeatherServer kernel: [    3.812882] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
Jun  1 13:13:56 WeatherServer kernel: [    3.913594] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
Jun  1 13:13:56 WeatherServer kernel: [    3.926266] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Jun  1 13:13:56 WeatherServer kernel: [    3.940997] uart-pl011 3f201000.uart: no DMA platform data
Jun  1 13:13:56 WeatherServer kernel: [    3.953114] smsc95xx v1.0.4
Jun  1 13:13:56 WeatherServer kernel: [    4.027793] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:2c:b6:98
Jun  1 13:13:56 WeatherServer kernel: [    4.122885] usb 1-1.3: new high-speed USB device number 4 using dwc_otg
Jun  1 13:13:56 WeatherServer kernel: [    4.233616] usb 1-1.3: New USB device found, idVendor=1a40, idProduct=0201
Jun  1 13:13:56 WeatherServer kernel: [    4.245988] usb 1-1.3: New USB device strings: Mfr=0, Product=1, SerialNumber=0
Jun  1 13:13:56 WeatherServer kernel: [    4.258715] usb 1-1.3: Product: USB 2.0 Hub [MTT]
Jun  1 13:13:56 WeatherServer kernel: [    4.269964] hub 1-1.3:1.0: USB hub found
Jun  1 13:13:56 WeatherServer kernel: [    4.279438] hub 1-1.3:1.0: 6 ports detected
Jun  1 13:13:56 WeatherServer kernel: [    4.562872] usb 1-1.3.2: new high-speed USB device number 5 using dwc_otg
Jun  1 13:13:56 WeatherServer kernel: [    4.674816] usb 1-1.3.2: New USB device found, idVendor=05e3, idProduct=0718
Jun  1 13:13:56 WeatherServer kernel: [    4.674829] usb 1-1.3.2: New USB device strings: Mfr=0, Product=1, SerialNumber=2
Jun  1 13:13:56 WeatherServer kernel: [    4.674838] usb 1-1.3.2: Product: USB Storage
Jun  1 13:13:56 WeatherServer kernel: [    4.674848] usb 1-1.3.2: SerialNumber: 000000000033
Jun  1 13:13:56 WeatherServer kernel: [    4.676090] usb-storage 1-1.3.2:1.0: USB Mass Storage device detected
Jun  1 13:13:56 WeatherServer kernel: [    4.677088] scsi host0: usb-storage 1-1.3.2:1.0
Jun  1 13:13:56 WeatherServer kernel: [    4.782860] usb 1-1.3.5: new low-speed USB device number 6 using dwc_otg
Jun  1 13:13:56 WeatherServer kernel: [    4.948607] usb 1-1.3.5: New USB device found, idVendor=1941, idProduct=8021
Jun  1 13:13:56 WeatherServer kernel: [    4.948620] usb 1-1.3.5: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Jun  1 13:13:56 WeatherServer kernel: [    4.985429] hid-generic 0003:1941:8021.0001: hiddev0,hidraw0: USB HID v1.00 Device [HID 1941:8021] on usb-3f980000.usb-1.3.5/input0
Jun  1 13:13:56 WeatherServer kernel: [    5.685392] scsi 0:0:0:0: Direct-Access     SanDisk  SDSSDA120G       0009 PQ: 0 ANSI: 0
Jun  1 13:13:56 WeatherServer kernel: [    5.701169] sd 0:0:0:0: [sda] 234441644 512-byte logical blocks: (120 GB/112 GiB)
Jun  1 13:13:56 WeatherServer kernel: [    5.701750] sd 0:0:0:0: [sda] Write Protect is off
Jun  1 13:13:56 WeatherServer kernel: [    5.701767] sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
Jun  1 13:13:56 WeatherServer kernel: [    5.702342] sd 0:0:0:0: [sda] No Caching mode page found
Jun  1 13:13:56 WeatherServer kernel: [    5.702353] sd 0:0:0:0: [sda] Assuming drive cache: write through
Jun  1 13:13:56 WeatherServer kernel: [    5.706068]  sda: sda1
Jun  1 13:13:56 WeatherServer kernel: [    5.721243] sd 0:0:0:0: [sda] Attached SCSI disk
Jun  1 13:13:56 WeatherServer kernel: [    6.861997] sd 0:0:0:0: Attached scsi generic sg0 type 0
Jun  1 13:13:56 WeatherServer kernel: [    7.120517] bcm2835-wdt 3f100000.watchdog: Broadcom BCM2835 watchdog timer
Jun  1 13:13:56 WeatherServer kernel: [    7.125975] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
Jun  1 13:13:56 WeatherServer kernel: [    7.393689] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
Jun  1 13:13:56 WeatherServer kernel: [    7.600708] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
Jun  1 13:13:56 WeatherServer kernel: [    9.059507] random: nonblocking pool is initialized
Jun  1 13:13:56 WeatherServer kernel: [    9.509217] Adding 102396k swap on /var/swap.  Priority:-1 extents:3 across:200700k SSFS
Jun  1 13:13:56 WeatherServer kernel: [    9.898481] cfg80211: World regulatory domain updated:
Jun  1 13:13:56 WeatherServer kernel: [    9.898508] cfg80211:  DFS Master region: unset
Jun  1 13:13:56 WeatherServer kernel: [    9.898518] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
Jun  1 13:13:56 WeatherServer kernel: [    9.898533] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
Jun  1 13:13:56 WeatherServer kernel: [    9.898544] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
Jun  1 13:13:56 WeatherServer kernel: [    9.898554] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
Jun  1 13:13:56 WeatherServer kernel: [    9.898567] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
Jun  1 13:13:56 WeatherServer kernel: [    9.898579] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
Jun  1 13:13:56 WeatherServer kernel: [    9.898590] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
Jun  1 13:13:56 WeatherServer kernel: [    9.898600] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
Jun  1 13:13:56 WeatherServer kernel: [    9.898611] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
Jun  1 13:13:56 WeatherServer systemd[1]: Started System Logging Service.
Jun  1 13:13:56 WeatherServer avahi-daemon[374]: Joining mDNS multicast group on interface eth0.IPv6 with address fe80::8bf9:556f:3e96:c46b.
Jun  1 13:13:56 WeatherServer dhcpcd[366]: eth0: waiting for carrier
Jun  1 13:13:56 WeatherServer avahi-daemon[374]: New relevant interface eth0.IPv6 for mDNS.
Jun  1 13:13:56 WeatherServer avahi-daemon[374]: Registering new address record for fe80::8bf9:556f:3e96:c46b on eth0.*.
Jun  1 13:13:56 WeatherServer kernel: [   11.195466] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
Jun  1 13:13:56 WeatherServer kernel: [   11.196056] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Jun  1 13:13:56 WeatherServer systemd[1]: Started Modem Manager.
Jun  1 13:13:58 WeatherServer dhcpcd[366]: eth0: carrier acquired
Jun  1 13:13:58 WeatherServer kernel: [   12.710207] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Jun  1 13:13:58 WeatherServer kernel: [   12.714399] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
Jun  1 13:13:58 WeatherServer ModemManager[363]: <warn>  Couldn't find support for device at '/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1': not supported by any plugin
Jun  1 13:13:59 WeatherServer dhcpcd[366]: DUID 00:01:00:01:1e:da:ef:3a:b8:27:eb:2c:b6:98
Jun  1 13:13:59 WeatherServer dhcpcd[366]: eth0: IAID eb:2c:b6:98
Jun  1 13:13:59 WeatherServer dhcpcd[366]: eth0: soliciting an IPv6 router
Jun  1 13:13:59 WeatherServer dhcpcd[366]: eth0: Router Advertisement from fe80::237:b7ff:fec2:7f04
Jun  1 13:13:59 WeatherServer dhcpcd[366]: eth0: requesting DHCPv6 information
Jun  1 13:13:59 WeatherServer dhcpcd[366]: eth0: using static address 192.168.1.250/24
Jun  1 13:13:59 WeatherServer dhcpcd[366]: eth0: adding route to 192.168.1.0/24
Jun  1 13:13:59 WeatherServer dhcpcd[366]: eth0: adding default route via 192.168.1.254
Jun  1 13:13:59 WeatherServer avahi-daemon[374]: Joining mDNS multicast group on interface eth0.IPv4 with address 192.168.1.250.
Jun  1 13:13:59 WeatherServer avahi-daemon[374]: New relevant interface eth0.IPv4 for mDNS.
Jun  1 13:13:59 WeatherServer avahi-daemon[374]: Registering new address record for 192.168.1.250 on eth0.IPv4.
Jun  1 13:13:59 WeatherServer dhcpcd[366]: forked to background, child pid 636
Jun  1 13:13:59 WeatherServer systemd[1]: Started dhcpcd on all interfaces.
Jun  1 13:13:59 WeatherServer systemd[1]: Starting Network.
Jun  1 13:13:59 WeatherServer systemd[1]: Reached target Network.
Jun  1 13:13:59 WeatherServer systemd[1]: Starting OpenBSD Secure Shell server...
Jun  1 13:14:00 WeatherServer systemd[1]: Started OpenBSD Secure Shell server.
Jun  1 13:14:00 WeatherServer systemd[1]: Starting /etc/rc.local Compatibility...
Jun  1 13:14:00 WeatherServer systemd[1]: Starting Network is Online.
Jun  1 13:14:00 WeatherServer systemd[1]: Reached target Network is Online.
Jun  1 13:14:00 WeatherServer systemd[1]: Starting LSB: Monitor and Control Everything IT from Any Smartphone or Tablet...
Jun  1 13:14:00 WeatherServer systemd[1]: Starting LSB: Start NTP daemon...
Jun  1 13:14:00 WeatherServer systemd[1]: Starting LSB: start Samba daemons for the AD DC...
Jun  1 13:14:00 WeatherServer systemd[1]: Starting LSB: Apache2 web server...
Jun  1 13:14:00 WeatherServer systemd[1]: Starting LSB: start Samba NetBIOS nameserver (nmbd)...
Jun  1 13:14:00 WeatherServer systemd[1]: Started /etc/rc.local Compatibility.
Jun  1 13:14:00 WeatherServer systemd[1]: Starting Terminate Plymouth Boot Screen...
Jun  1 13:14:00 WeatherServer systemd[1]: Starting Wait for Plymouth Boot Screen to Quit...
Jun  1 13:14:00 WeatherServer systemd[1]: Started Terminate Plymouth Boot Screen.
Jun  1 13:14:00 WeatherServer systemd[1]: Started Wait for Plymouth Boot Screen to Quit.
Jun  1 13:14:00 WeatherServer systemd[1]: Starting Getty on tty1...
Jun  1 13:14:00 WeatherServer systemd[1]: Started Getty on tty1.
Jun  1 13:14:00 WeatherServer systemd[1]: Starting Serial Getty on ttyAMA0...
Jun  1 13:14:00 WeatherServer systemd[1]: Started Serial Getty on ttyAMA0.
Jun  1 13:14:00 WeatherServer systemd[1]: Starting Login Prompts.
Jun  1 13:14:00 WeatherServer systemd[1]: Reached target Login Prompts.
Jun  1 13:14:00 WeatherServer ntpd[670]: ntpd 4.2.6p5@1.2349-o Mon Nov  2 04:29:47 UTC 2015 (1)
Jun  1 13:14:00 WeatherServer ntpd[684]: proto: precision = 0.782 usec
Jun  1 13:14:00 WeatherServer ntpd[684]: Listen and drop on 0 v4wildcard 0.0.0.0 UDP 123
Jun  1 13:14:00 WeatherServer ntp[641]: Starting NTP server: ntpd.
Jun  1 13:14:00 WeatherServer systemd[1]: Started LSB: Start NTP daemon.
Jun  1 13:14:00 WeatherServer ntpd[684]: Listen and drop on 1 v6wildcard :: UDP 123
Jun  1 13:14:00 WeatherServer ntpd[684]: Listen normally on 2 lo 127.0.0.1 UDP 123
Jun  1 13:14:00 WeatherServer ntpd[684]: Listen normally on 3 eth0 192.168.1.250 UDP 123
Jun  1 13:14:00 WeatherServer ntpd[684]: Listen normally on 4 lo ::1 UDP 123
Jun  1 13:14:00 WeatherServer ntpd[684]: Listen normally on 5 eth0 fe80::8bf9:556f:3e96:c46b UDP 123
Jun  1 13:14:00 WeatherServer ntpd[684]: peers refreshed
Jun  1 13:14:00 WeatherServer ntpd[684]: Listening on routing socket on fd #22 for interface updates
Jun  1 13:14:15 WeatherServer pulseway: Starting Pulseway Daemon version 4.8.3 (2015111801)
Jun  1 13:14:15 WeatherServer systemd[1]: Started LSB: Monitor and Control Everything IT from Any Smartphone or Tablet.
Jun  1 13:14:15 WeatherServer pulseway: Configuration read successfully!
Jun  1 13:14:17 WeatherServer apache2[648]: Starting web server: apache2AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
Jun  1 13:14:18 WeatherServer apache2[648]: .
Jun  1 13:14:18 WeatherServer systemd[1]: Started LSB: Apache2 web server.
Jun  1 13:14:20 WeatherServer systemd[1]: Started LSB: start Samba daemons for the AD DC.
Jun  1 13:14:21 WeatherServer nmbd[651]: Starting NetBIOS name server: nmbd.
Jun  1 13:14:21 WeatherServer systemd[1]: Started LSB: start Samba NetBIOS nameserver (nmbd).
Jun  1 13:14:21 WeatherServer systemd[1]: Starting LSB: start Samba SMB/CIFS daemon (smbd)...
Jun  1 13:14:24 WeatherServer smbd[779]: Starting SMB/CIFS daemon: smbd.
Jun  1 13:14:24 WeatherServer systemd[1]: Started LSB: start Samba SMB/CIFS daemon (smbd).
Jun  1 13:15:18 WeatherServer systemd[1]: Time has been changed
Jun  1 13:15:48 WeatherServer cumulusmx[372]: Starting CumulusMX...
Jun  1 13:15:48 WeatherServer systemd[1]: Started LSB: Start cumulusmx.sh (CumulusMX) at boot time.
Jun  1 13:15:48 WeatherServer systemd[1]: Starting Multi-User System.
Jun  1 13:15:48 WeatherServer systemd[1]: Reached target Multi-User System.
Jun  1 13:15:48 WeatherServer systemd[1]: Starting Graphical Interface.
Jun  1 13:15:48 WeatherServer systemd[1]: Reached target Graphical Interface.
Jun  1 13:15:48 WeatherServer systemd[1]: Starting Update UTMP about System Runlevel Changes...
Jun  1 13:15:48 WeatherServer systemd[1]: Started Update UTMP about System Runlevel Changes.
Jun  1 13:15:48 WeatherServer systemd[1]: Startup finished in 3.309s (kernel) + 1min 6.031s (userspace) = 1min 9.341s.
John Cooper

Cumulus 3 on RPi3 with SSD

http://weather.mountpleasanthouse.uk

Image
jank
Posts: 239
Joined: Sat 13 Jun 2015 5:57 pm
Weather Station: FineOffset WS3080
Operating System: Debian Buster - Raspbian - Raspb
Location: Germany - nearby Kassel

Re: RaspberryPi: CumulusMX init.d System Startup Script

Post by jank »

Hi jpsc

dumb question:
You have inserted the init.d cumulusmx start script into the runlevels ?
(sudo update-rc.d cumulusmx defaults - will insert the Startup Script into the runlevels)

can you paste the result of this command

ls /etc/rc*.d |grep cumulusmx
Do want a Managing Dashboard for CumulusMX on RaspberryPi? cumulusmx.sh
viewtopic.php?f=40&t=17907
Image
User avatar
jpsc
Posts: 179
Joined: Tue 23 Aug 2011 6:06 pm
Weather Station: Davis Vantage Vue, belfryboy USB
Operating System: Raspbian Bullseye
Location: Wye valley, Herefordshire, UK
Contact:

Re: RaspberryPi: CumulusMX init.d System Startup Script

Post by jpsc »

I did

Code: Select all

pi@WeatherServer:~ $ ls /etc/rc*.d |grep cumulusmx
K01cumulusmx
K01cumulusmx
S03cumulusmx
S03cumulusmx
S03cumulusmx
S03cumulusmx
K01cumulusmx
Don't know whet they mean though
John Cooper

Cumulus 3 on RPi3 with SSD

http://weather.mountpleasanthouse.uk

Image
jank
Posts: 239
Joined: Sat 13 Jun 2015 5:57 pm
Weather Station: FineOffset WS3080
Operating System: Debian Buster - Raspbian - Raspb
Location: Germany - nearby Kassel

Re: RaspberryPi: CumulusMX init.d System Startup Script

Post by jank »

Explaining in short words, the way I understood it ?

Runlevel 0: K01cumulusmx
Runlevel 1: K01cumulusmx
Runlevel 2: S03cumulusmx
Runlevel 3: S03cumulusmx
Runlevel 4: S03cumulusmx
Runlevel 5: S03cumulusmx
Runlevel 6: K01cumulusmx
.....will tell the system in which runlevel the init.d Script should being started and stopped.
s= Start , k=kill
CumulusMX should be started in Runlevel 2,3,4,5 and stopped in 6,0,1
These runlevels are being defined in the head of the init script.

In your syslog, nearly at the bottom I can see these lines:

Jun 1 13:15:18 WeatherServer systemd[1]: Time has been changed
Jun 1 13:15:48 WeatherServer cumulusmx[372]: Starting CumulusMX...
Jun 1 13:15:48 WeatherServer systemd[1]: Started LSB: Start cumulusmx.sh (CumulusMX) at boot time.
Jun 1 13:15:48 WeatherServer systemd[1]: Starting Multi-User System.
Jun 1 13:15:48 WeatherServer systemd[1]: Reached target Multi-User System.
Jun 1 13:15:48 WeatherServer systemd[1]: Starting Graphical Interface.
Jun 1 13:15:48 WeatherServer systemd[1]: Reached target Graphical Interface.


I am sure, the init script is being started. and also cumulusmx.sh in this case
Doing the same on my system, after a reboot I can see this
Jun 1 20:51:43 cumulus cumulusmx[460]: Starting CumulusMX...
Jun 1 20:51:43 cumulus systemd[1]: Started LSB: Start cumulusmx.sh (CumulusMX) at boot time.


and as you can see, exactly the same lines as your syslog.

Can you please do a cat /etc/init.d/cumulusmx
At the top of this init script you can find lines like:
CumulusMX_HOME=/CumulusMX
CumulusMX_USER=pi
NAME=CumulusMX

You wrote, that you are running cumulusmx as user root.
is your CumulusMX_USER=root ?

please check this, before we start with deeper debugging. 8-)

Other question: I can also see this line ---> Jun 1 13:15:48 WeatherServer systemd[1]: Starting Graphical Interface.
Are you running your Pi really with a graphical user interface ? With mouse and monitor ? What a waste of resources :D
Jan
Do want a Managing Dashboard for CumulusMX on RaspberryPi? cumulusmx.sh
viewtopic.php?f=40&t=17907
Image
User avatar
jpsc
Posts: 179
Joined: Tue 23 Aug 2011 6:06 pm
Weather Station: Davis Vantage Vue, belfryboy USB
Operating System: Raspbian Bullseye
Location: Wye valley, Herefordshire, UK
Contact:

Re: RaspberryPi: CumulusMX init.d System Startup Script

Post by jpsc »

jank wrote:Explaining in short words, the way I understood it ?
Thanks, makes sense
jank wrote:Can you please do a cat /etc/init.d/cumulusmx

Code: Select all

pi@WeatherServer:~ $ sudo cat /etc/init.d/cumulusmx
#!/bin/bash
# /etc/init.d/cumulusmx
### BEGIN INIT INFO
# Provides:          cumulusmx.sh
# Required-Start:    $remote_fs $syslog
# Required-Stop:     $remote_fs $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Start cumulusmx.sh (CumulusMX) at boot time
# Description:       Enable service provided by daemon.
# chkconfig:         2345 95 05
### END INIT INFO
CumulusMX_HOME=/mnt/SSD/CumulusMX
CumulusMX_USER=root
NAME=CumulusMX
PIDFILE=/tmp/$NAME.pid

case $1 in
  start)
       printf "%-50s" "Starting $NAME..."
       WHOAMI=$(whoami)
       if [ "$CumulusMX_USER" != "$WHOAMI" ]; then
       /bin/su $CumulusMX_USER $CumulusMX_HOME/cumulusmx.sh >/dev/null 2>&1
       else
       $CumulusMX_HOME/cumulusmx.sh >/dev/null 2>&1
       fi
       ;;
  stop)
       echo -e "Stopping $NAME\n"
       $CumulusMX_HOME/cumulusmx.sh -q >/dev/null 2>&1
       ;;
  restart)
        printf "%-50s" "Restarting $NAME"
       $CumulusMX_HOME/cumulusmx.sh -r
       ;;
  force-reload)
       printf "%-50s" "Reloading $NAME"
       $CumulusMX_HOME/cumulusmx.sh -q
       $CumulusMX_HOME/cumulusmx.sh
       ;;
   status)
        printf "%-50s" "Checking $NAME..."
        if [ -f $PIDFILE ]; then
            PID=`cat $PIDFILE`
            if [ -z "`ps axf | grep ${PID} | grep -v grep`" ]; then
                printf "%s\n" "Process dead but pidfile exists"
            else
                echo "Running"
            fi
        else
            printf "%s\n" "Service not running"
        fi
       ;;
   *)
    echo "Usage: /etc/init.d/cumulusmx {start|stop|force-reload|status}"
    exit 1
    ;;
esac
exit 0
jank wrote:please check this, before we start with deeper debugging. 8-)
I think this is OK as when I run it by hand it works.
jank wrote:Are you running your Pi really with a graphical user interface ? With mouse and monitor ? What a waste of resources :D
Jan
No, it's headless, from a recent Jessie Lite download. I access it with SSH, when I plug a screen in I see it sitting at a login prompt.
John Cooper

Cumulus 3 on RPi3 with SSD

http://weather.mountpleasanthouse.uk

Image
jank
Posts: 239
Joined: Sat 13 Jun 2015 5:57 pm
Weather Station: FineOffset WS3080
Operating System: Debian Buster - Raspbian - Raspb
Location: Germany - nearby Kassel

Re: RaspberryPi: CumulusMX init.d System Startup Script

Post by jank »

John

you wrote: when you start it by hand, it works ?
I assume you mean when you start cumulusmx.sh via init.d script, it works ?

/etc/init.d/cumulusmx status
/etc/init.d/cumulusmx stop
/etc/init.d/cumulusmx start


I am not talking about starting the scirpt directly --> /mnt/SSD/CumulusMX/cumulusmx.sh -r
If this does work, please do the following
1. Please stop cumulusmx.sh (/mnt/SSD/CumulusMX/cumulusmx.sh -s)
2. Delete the cumulusmxsh.log (sudo rm /mnt/SSD/CumulusMX/cumulusmxsh.log)
3. reboot the system (sudo reboot)

Once the system is up and running, please have a look if the /mnt/SSD/CumulusMX/cumulusmxsh.log is being created again. (paste the content here)
an before you do any other manual starts, please check if
4. the pid file in /tmp is being created --> ls -al /tmp/CumulusMX.pid (please check the date of the file....is it being created some minutes ago, when you restarted the system?)

5. check if mono is running ---> ps -axu|grep -i mono
6. check if cumulusmx is running ---> ps -axu|grep -i CumulusMX

cheers Jan
Do want a Managing Dashboard for CumulusMX on RaspberryPi? cumulusmx.sh
viewtopic.php?f=40&t=17907
Image
User avatar
jpsc
Posts: 179
Joined: Tue 23 Aug 2011 6:06 pm
Weather Station: Davis Vantage Vue, belfryboy USB
Operating System: Raspbian Bullseye
Location: Wye valley, Herefordshire, UK
Contact:

Re: RaspberryPi: CumulusMX init.d System Startup Script

Post by jpsc »

jank wrote:you wrote: when you start it by hand, it works ?
I assume you mean when you start cumulusmx.sh via init.d script, it works ?

/etc/init.d/cumulusmx status
/etc/init.d/cumulusmx stop
/etc/init.d/cumulusmx start
Yes, they work
jank wrote:If this does work, please do the following
Will do tonight - at work at the moment
John Cooper

Cumulus 3 on RPi3 with SSD

http://weather.mountpleasanthouse.uk

Image
User avatar
jpsc
Posts: 179
Joined: Tue 23 Aug 2011 6:06 pm
Weather Station: Davis Vantage Vue, belfryboy USB
Operating System: Raspbian Bullseye
Location: Wye valley, Herefordshire, UK
Contact:

Re: RaspberryPi: CumulusMX init.d System Startup Script

Post by jpsc »

jank wrote:1. Please stop cumulusmx.sh (/mnt/SSD/CumulusMX/cumulusmx.sh -s)
sudo /mnt/SSD/CumulusMX/cumulusmx.sh -q (whatever)
jank wrote:2. Delete the cumulusmxsh.log (sudo rm /mnt/SSD/CumulusMX/cumulusmxsh.log)
3. reboot the system (sudo reboot)

Once the system is up and running, please have a look if the /mnt/SSD/CumulusMX/cumulusmxsh.log is being created again. (paste the content here)

Code: Select all

Stopping Cumulus now

pi@WeatherServer:~ $ sudo rm /mnt/SSD/CumulusMX/cumulusmxsh.log
pi@WeatherServer:~ $ sudo reboot

Broadcast message from pi@WeatherServer on pts/0 (Thu 2016-06-02 23:32:00 BST):

The system is going down for reboot NOW!

pi@WeatherServer:~ $ Connection to 192.168.1.250 closed by remote host.
Connection to 192.168.1.250 closed.

────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

Session stopped
    - Press <return> to exit tab
    - Press r to restart session
    - Press s to save terminal output to file





RECONNECTING, PLEASE WAIT...





The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Wed Jun  1 13:18:00 2016 from bomb20
pi@WeatherServer:~ $ ls -hls  /mnt/SSD/CumulusMX/cumulusmxsh.log
4.0K -rw-r--r-- 1 root root 162 Jun  2 23:31 /mnt/SSD/CumulusMX/cumulusmxsh.log
pi@WeatherServer:~ $ cat /mnt/SSD/CumulusMX/cumulusmxsh.log
2016-06-02 23:31:29 - CumulusMX 2.5.2.0 (2016-05-02) Script is being called with some Parameter
2016-06-02 23:31:36 - System - CumulusMX is being Stopped with -q
pi@WeatherServer:~ $
Umm, looks wrong -I thought I had waited long enough after the -q
jank wrote:an before you do any other manual starts, please check if
4. the pid file in /tmp is being created --> ls -al /tmp/CumulusMX.pid (please check the date of the file....is it being created some minutes ago, when you restarted the system?)

Code: Select all

pi@WeatherServer:~ $ ls -al /tmp/CumulusMX.pid
ls: cannot access /tmp/CumulusMX.pid: No such file or directory
Nope, not being created
jank wrote:5. check if mono is running ---> ps -axu|grep -i mono

Code: Select all

pi@WeatherServer:~ $ ps -axu|grep -i mono
pi        1532  1.0  0.2   4276  1936 pts/0    S+   23:43   0:00 grep --color=auto -i mono
pi@WeatherServer:~ $
Yep
jank wrote:6. check if cumulusmx is running ---> ps -axu|grep -i CumulusMX

Code: Select all

pi@WeatherServer:~ $ ps -axu|grep -i CumulusMX
pi        1593  0.0  0.2   4276  2000 pts/0    S+   23:44   0:00 grep --color=auto -i CumulusMX
Ooo, is it hanging on startup?

There is nothing in the MXdiags directory. I thought it could be that the SSD is not ready, but that's where the CumulusMX.exe is.

I repeated the reboot with a longer delay, of course the two lines are being written by the shutdown process.
John Cooper

Cumulus 3 on RPi3 with SSD

http://weather.mountpleasanthouse.uk

Image
jank
Posts: 239
Joined: Sat 13 Jun 2015 5:57 pm
Weather Station: FineOffset WS3080
Operating System: Debian Buster - Raspbian - Raspb
Location: Germany - nearby Kassel

Re: RaspberryPi: CumulusMX init.d System Startup Script

Post by jank »

Hi John

I am not sure, but based on the timings in your Logfile,
Jun 1 13:13:56 WeatherServer systemd[1]: Mounting /mnt/SSD...
Jun 1 13:13:56 WeatherServer systemd[1]: Started Load/Save Random Seed.
Jun 1 13:13:56 WeatherServer systemd[1]: Found device /dev/mmcblk0p1.
Jun 1 13:13:56 WeatherServer systemd[1]: Mounted /mnt/SSD.

Jun 1 13:15:48 WeatherServer systemd[1]: Started LSB: Start cumulusmx.sh (CumulusMX) at boot time.

I can not 100% exclude that the SSD is available in the moment, when the init.d is starting CumulusMX

I made several tests with my RaspberryPi2 on with SD Card (no external drive) and it is working :-)
So are you willing to do some tests ?

1. Adding a sleep into the init.d Script to give the system more time until mounting has finnished
sudo nano /etc/init.d/cumulusmx
On top, after the line --> ### END INIT INFO insert
sleep 20
to give the system 20 more seconds to come completely up.
Save with CTRL+o

2. Copying the complete CumulusMX folder form the SSD to the local SDCard , change the paths in the init.d Script and in the cumulusmxsh.conf file and reboot again to see, if it can be properly started when installed on the SD Card which is the boot device

3. And this is the most convenient in my eyes.
Why are you not configuring your Raspberry Pi to boot from the SSD instead the SD Card ?
Not sure if this is possible on a Raspberry pi, but all my BananaPi's are booting from normal SATA harddisks by modifying the /boot/cmdline.txt file.

But start with Testing Option 1 and 2, please
Do want a Managing Dashboard for CumulusMX on RaspberryPi? cumulusmx.sh
viewtopic.php?f=40&t=17907
Image
User avatar
jpsc
Posts: 179
Joined: Tue 23 Aug 2011 6:06 pm
Weather Station: Davis Vantage Vue, belfryboy USB
Operating System: Raspbian Bullseye
Location: Wye valley, Herefordshire, UK
Contact:

Re: RaspberryPi: CumulusMX init.d System Startup Script

Post by jpsc »

jank wrote:So are you willing to do some tests ?
Of course
jank wrote: 1. Adding a sleep into the init.d Script to give the system more time until mounting has finnished

2. Copying the complete CumulusMX folder form the SSD to the local SDCard , change the paths in the init.d Script and in the cumulusmxsh.conf file and reboot again to see, if it can be properly started when installed on the SD Card which is the boot device

3. And this is the most convenient in my eyes.
Why are you not configuring your Raspberry Pi to boot from the SSD instead the SD Card ?
I have had a lot of trouble with corrupted SD cards. The power here goes out, and the SD does not survive sometimes. It is easy to have a clean copy SD that I can slot in and get up and running in moments. (one day I will arrange for a small battery backup)
jank wrote: But start with Testing Option 1 and 2, please
Will do.
John Cooper

Cumulus 3 on RPi3 with SSD

http://weather.mountpleasanthouse.uk

Image
User avatar
jpsc
Posts: 179
Joined: Tue 23 Aug 2011 6:06 pm
Weather Station: Davis Vantage Vue, belfryboy USB
Operating System: Raspbian Bullseye
Location: Wye valley, Herefordshire, UK
Contact:

Re: RaspberryPi: CumulusMX init.d System Startup Script

Post by jpsc »

jank wrote: 1. Adding a sleep into the init.d Script to give the system more time until mounting has finnished
sudo nano /etc/init.d/cumulusmx
On top, after the line --> ### END INIT INFO insert
sleep 20
to give the system 20 more seconds to come completely up.
That did it.

Thanks for all your help.

I'll move the sleep into the start branch.
John Cooper

Cumulus 3 on RPi3 with SSD

http://weather.mountpleasanthouse.uk

Image
Post Reply