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
Domoticz gets unaccessible, PI is accessible, what to check ?
Moderators: leecollings, remb0
-
- Posts: 15
- Joined: Monday 04 January 2016 20:56
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Domoticz gets unaccessible, PI is accessible, what to check ?
Last edited by zanco on Friday 26 February 2016 11:54, edited 2 times in total.
- jcjames13009
- Posts: 33
- Joined: Monday 09 March 2015 15:24
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2023.2
- Location: France / Marseille
- Contact:
Re: Domoticz gets unaccessible, PI is accessible, what to check ?
Hi zanco
Maybe your DOmoticz service went "offline". To check if service in running or is stopped use
If status return is fail
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
Maybe your DOmoticz service went "offline". To check if service in running or is stopped use
Code: Select all
sudo service domoticz.sh status
Code: Select all
"domoticz is not running ... failed!"
Code: Select all
sudo service domoticz.sh restart
Hope it'll help
JC
-
- Posts: 15
- Joined: Monday 04 January 2016 20:56
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Domoticz gets unaccessible, PI is accessible, what to check ?
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
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:
Code: Select all
gssapi_krb5 _2_ mit not found
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
-
- Posts: 15
- Joined: Monday 04 January 2016 20:56
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Domoticz gets unaccessible, PI is accessible, what to check ?
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
Thanks,
Ben
- jcjames13009
- Posts: 33
- Joined: Monday 09 March 2015 15:24
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2023.2
- Location: France / Marseille
- Contact:
Re: Domoticz gets unaccessible, PI is accessible, what to check ?
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
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
Who is online
Users browsing this forum: No registered users and 1 guest