Page 9 of 9

Re: RaspberryPi: CumulusMX init.d System Startup Script

Posted: Thu Feb 23, 2017 7:12 pm
by novy
Today i formatted the sd again reinstalled RASPBIAN JESSIE only
No berryboot installed this time.
just installed vnc server for control of the pi
all working and starting at boot .

In my last install i did have the cumulusmx.sh file and the cumulusmxsh.conf in my cumulusMX directory but as you say it may have not been installed correctly

I will start over again on a fresh install of cumulusMX now .

Re: RaspberryPi: CumulusMX init.d System Startup Script

Posted: Thu Feb 23, 2017 8:58 pm
by jank
Hiho
normally, here is nothing to install.
copy the Cumulusmx.sh and the cumulusmxsh.conf file into your CumulusMX directory
Make the cumulusmx.sh executable ---> chmod +x cumulusmx.sh
Open cumulusmx.sh with an editor (sudo nano cumulusmx.sh ) and insert the corect path to your CumulusMX installation directory in line 16
Open cumulusmxsh.conf and make some further setting changes (BAckup path, number of backups etc) and save it also
call the cumulusssmx.sh sctipt the first time --> sudo ./cumulusmx.sh -s (-s = Status) it will tell you if CumulusMX is already running)
If it it not running, you can start it by calling: sudo ./cumulusmx.sh (without any parameter) - call the script again and it will ask you to stop CumulusMX
If you want to see what else this script can do for you, use sudo ./cumulusmx.sh -h (for help)
You don
t need any graphical user interface on yourRaspberry pi anymore....just the console....no mouse ....only the keyboard :-)

Have fun........

Re: RaspberryPi: CumulusMX init.d System Startup Script

Posted: Thu Feb 23, 2017 9:54 pm
by novy
Ok ive done a fresh install

Followed the instructions here up to step 3
viewtopic.php?f=27&t=13767

And then here from step 2 on
viewtopic.php?f=27&t=14753

Rebooted the pi and cumulus is running in background uploading data and starting at boot at last haha :)

The only things i did differently this time was not putting anything into crone e and having to remove it later .
Ive possibly not edited path_to_script in this part when i done it at first
sudo chmod +x /path_to_script/cumulusmx.sh
and i was using berryboot also yesterday.

Anyway everything is working perfect now
Cheers guys for your help much appreciated

nov.

Re: RaspberryPi: CumulusMX init.d System Startup Script

Posted: Thu Feb 23, 2017 10:06 pm
by VTHokie74
Great to hear!

Re: RaspberryPi: CumulusMX init.d System Startup Script

Posted: Fri Feb 24, 2017 6:34 pm
by VTHokie74
Novy

I was wondering if you had forgotten the step to make cumulusmx.sh executable the first time?

Re: RaspberryPi: CumulusMX init.d System Startup Script

Posted: Fri Feb 24, 2017 9:37 pm
by novy
possibly that was my problem . i do not remember editing the path the first time round :roll:

its still running anyway

all good :)

Re: RaspberryPi: CumulusMX init.d System Startup Script

Posted: Tue Aug 22, 2017 2:51 pm
by radilly
In case anyone else runs into a nursery-size warning, i.e.

Code: Select all

Warning: Degraded allocation. Consider increasing nursery-size if the warning persists.


I added the following line to my systemd service file

Code: Select all

[Service]
Environment=MONO_GC_PARAMS=nursery-size=8m


I was seeing the message every time I rebooted (but can't recall if a systemctl restart triggered it). Doubling the default nursery-size for mono seems to have stopped the warning without causing other issues I've noticed so far.

This is warning mentioned in
* viewtopic.php?f=27&t=14587 - Degraded allocation warning messages
* viewtopic.php?f=27&t=14338 - Arrgh! Network keeps randomly dropping when I run MX

Cheers,
Bob


Ref: https://stackoverflow.com/questions/184 ... g-persists

Re: RaspberryPi: CumulusMX init.d System Startup Script

Posted: Tue Feb 13, 2018 3:42 pm
by hillyjd
I'm having the same problem with "degraded allocation". What file did you modify? I can't find a systemd service file.