Page 1 of 1
Domoticz gets unaccessible, PI is accessible, what to check ?
Posted: Thursday 25 February 2016 19:20
by zanco
Hi,
I am running the latest Domoticz on a Rapsbery Pi 2.
It does run great. I have a working smartmeter, and with the RF unit I can control my lights and sunscreen. So far so good.
Every now and then when I call the Domoticz server (either on smartphone or PC) I only get the gray background, nothing else.
I can connect to the Pi with SSH, give it a reboot, and all is well for another couple of days.
What would be the best thing(s) to check before rebooting the Pi ?
Thanks for your time,
Ben
Re: Domoticz gets unaccessible, PI is accessible, what to check ?
Posted: Friday 26 February 2016 8:48
by jcjames13009
Hi zanco
Maybe your DOmoticz service went "offline". To check if service in running or is stopped use
If status return is fail
Code: Select all
"domoticz is not running ... failed!"
than you have to restart Domoticz using
You'll find in the forum some scripts that check Domoticz status and restart it if it's fail automatically.
Hope it'll help
JC
Re: Domoticz gets unaccessible, PI is accessible, what to check ?
Posted: Friday 26 February 2016 10:40
by zanco
Thanks JC !
Domoticz is not running... failed!
But sadly, restarting Domoticz gives domoticzSegmentationFault.
There must be something more went wrong this time, even SSH gives no access.
Edit: Did run fsck on boot, that "fixed some error" but no results for ssh or Domoticx. I viewed the output on boot, and the same message as when trying to run apt-get update appears:
However, so far, no luck in finding a solution for that.
apt-get install does work, however removing openssh and reinstalling gives still no ssh access.
Edit 2:
sudo apt-get --reinstall install libkrb5support0 seems to have fixed the problem. Both Domoticz and SSH are accessible again.
Edit 3:
This system is making a fool out of me. During testing and re-installing I had the system connected to a monitor and wireless keyboard. After the Edit 2 solution I could connect to SSH and to Domoticz from my smartphone and other PC. I did a nice sudo shutdown and placed the system back near the smartmeter. Now I am back to zero. No SSH, no Domoticz. The PI responds to ping, but has no open ports tells Netscan.
Any help ?
Kind regards,
Ben
Re: Domoticz gets unaccessible, PI is accessible, what to check ?
Posted: Friday 26 February 2016 19:42
by zanco
Hi. If I want to download the image again but want to save my settings from devices, would that be possible ? I hav keyboard and monitor attached and a mounted NAS.
Thanks,
Ben
Re: Domoticz gets unaccessible, PI is accessible, what to check ?
Posted: Sunday 28 February 2016 18:00
by jcjames13009
Hi zanco,
Can't help you more but to save your setting there is an option to backup the Domoticz db and then restore it
Go to "Set-up > Setting > Backup/Restore > Backup database" and then once installed again Go to "Set-up > Setting > Backup/Restore > Restore database"
But not sure where the db will be stored in your configuration as I use to do it from my PC.
Hope it'll help
JC