Domoticz stopped and does not start anymore
Moderator: leecollings
-
- Posts: 73
- Joined: Sunday 06 March 2016 23:56
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: Schaijk
- Contact:
Domoticz stopped and does not start anymore
Hello,
My Domoticz installation has stopped and does not start anymore. I can't find what the problem is. I attached my Domoticz crashlog. Does someone can help my to see what the problem could by ? I hope I don't have to do a full new installation and configuration.......
Greetings,
Peter
My Domoticz installation has stopped and does not start anymore. I can't find what the problem is. I attached my Domoticz crashlog. Does someone can help my to see what the problem could by ? I hope I don't have to do a full new installation and configuration.......
Greetings,
Peter
- Attachments
-
- domoticz_crash.log
- (21.85 KiB) Downloaded 80 times
-
- Posts: 73
- Joined: Sunday 06 March 2016 23:56
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: Schaijk
- Contact:
Re: Domoticz stopped and does not start anymore
Hello,
When I start Domoticz I see the following,
But I don't see what is running on port 8080 or 443
Greetings,
Peter
When I start Domoticz I see the following,
Code: Select all
2021-01-31 09:30:48.122 Status: Domoticz V2020.2 (build 12896) (c)2012-2021 GizMoCuz
2021-01-31 09:30:48.122 Status: Build Hash: d5c2e6a46-modified, Date: 2021-01-30 10:52:18
2021-01-31 09:30:48.122 Status: Startup Path: /home/pi/domoticz/
2021-01-31 09:30:48.169 Sunrise: 08:17:00 SunSet: 17:25:00
2021-01-31 09:30:48.169 Day length: 09:07:00 Sun at south: 12:51:00
2021-01-31 09:30:48.169 Civil twilight start: 07:41:00 Civil twilight end: 18:01:00
2021-01-31 09:30:48.169 Nautical twilight start: 07:01:00 Nautical twilight end: 18:41:00
2021-01-31 09:30:48.170 Astronomical twilight start: 06:21:00 Astronomical twilight end: 19:21:00
2021-01-31 09:30:48.242 Status: PluginSystem: Started, Python version '3.7.3'.
2021-01-31 09:30:48.247 Active notification Subsystems: email, fcm (2/13)
2021-01-31 09:30:48.251 Error: WebServer(HTTP) startup failed on address 0.0.0.0 with port: 8080: bind: Address already in use
2021-01-31 09:30:48.251 Error: WebServer(HTTP) check if no other application is using port: 8080
2021-01-31 09:30:48.263 Error: WebServer(SSL) startup failed on address 0.0.0.0 with port: 443: bind: Permission denied
2021-01-31 09:30:48.263 Error: WebServer(SSL) check privileges for opening ports below 1024
2021-01-31 09:30:48.264 Error: No servers are configured. Hence mydomoticz will not be started either (if configured)
terminate called without an active exception
2021-01-31 09:30:48.264 Error: Domoticz(pid:2461, tid:2461('domoticz')) received fatal signal 6 (Aborted)
2021-01-31 09:30:48.264 Error: siginfo address=0x99d, address=0xffffffff
2021-01-31 09:30:52.027 Error: Thread 1 (Thread 0x76018010 (LWP 2461)):
2021-01-31 09:30:52.027 Error: #0 __waitpid (options=0, stat_loc=0x7edef920, pid=2466) at ../sysdeps/unix/sysv/linux/waitpid.c:30
2021-01-31 09:30:52.027 Error: #1 __waitpid (pid=2466, stat_loc=0x7edef920, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:25
2021-01-31 09:30:52.027 Error: #2 0x002cd4cc in dumpstack_gdb(bool) ()
2021-01-31 09:30:52.027 Error: #3 0x002cda98 in signal_handler(int, siginfo_t*, void*) ()
2021-01-31 09:30:52.027 Error: #4 <signal handler called>
2021-01-31 09:30:52.027 Error: #5 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
2021-01-31 09:30:52.027 Error: #6 0x769b8230 in __GI_abort () at abort.c:79
2021-01-31 09:30:52.027 Error: #7 0x009cc084 in __gnu_cxx::__verbose_terminate_handler() ()
2021-01-31 09:30:52.028 Error: #8 0x0092f43c in __cxxabiv1::__terminate(void (*)()) ()
2021-01-31 09:30:52.028 Error: #9 0x0092f4b0 in std::terminate() ()
2021-01-31 09:30:52.028 Error: #10 0x001f17e4 in main ()
Aborted
Greetings,
Peter
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Domoticz stopped and does not start anymore
Code: Select all
sudo netstat -tulpn | grep '8080\|433'
Most of the time a
Code: Select all
service domoticz stop
Code: Select all
service domoticz start
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
- erem
- Posts: 230
- Joined: Tuesday 27 March 2018 12:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Location: Amsterdam/netherlands
- Contact:
Re: Domoticz stopped and does not start anymore
sometimes rasbian gets confused.
i believe a reboot of your pi will clear up the process that occupies port 8080
i believe a reboot of your pi will clear up the process that occupies port 8080
Regards,
Rob
Rob
-
- Posts: 73
- Joined: Sunday 06 March 2016 23:56
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: Schaijk
- Contact:
Re: Domoticz stopped and does not start anymore
waaren wrote: ↑Sunday 31 January 2021 11:26Will show you what is on these ports.Code: Select all
sudo netstat -tulpn | grep '8080\|433'
pi@raspberrypi:~ $ sudo netstat -tulpn | grep '8080\|433'
tcp6 0 0 :::8080 :::* LISTEN 551/domoticz
I see this at my fathers Domoticz.
pi@raspberrypi:~ $ sudo netstat -tulpn | grep '8080\|433'
tcp 0 0 127.0.0.1:8080 0.0.0.0:* LISTEN 430/motion
I see this at my Domoticz.
I don`t know of this is normal.
Greetings,
Peter
-
- Posts: 265
- Joined: Monday 05 February 2018 8:42
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 12467
- Location: Netherlands, near Haarlem
- Contact:
Re: Domoticz stopped and does not start anymore
Well, it looks like you have motion running on 8080.
Motion is surveillance software. Motion detection.
You could change the port Domoticz is using in /etc/init.d/domoticz.sh
fir example:
Motion is surveillance software. Motion detection.
You could change the port Domoticz is using in /etc/init.d/domoticz.sh
fir example:
Code: Select all
DAEMON_ARGS="$DAEMON_ARGS -www 8090"
Domoticz 2020.1 (12230) on Raspberry Pi 3B with Raspian Buster. Besides Domoticz, Rpi is running Pi-Hole.
-
- Posts: 73
- Joined: Sunday 06 March 2016 23:56
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: Schaijk
- Contact:
Re: Domoticz stopped and does not start anymore
Hello,
Maybe I see ghosts, but I did watch yesterday a not official stream of Rico Verhoeven. During the match, I received a message from Monit, that Domoticz was stopped. It is not possible that something is installed with a script on my raspberry ?
I don't use motion software. And I did not change anything on my Raspberry myself..........
Greetings.
Maybe I see ghosts, but I did watch yesterday a not official stream of Rico Verhoeven. During the match, I received a message from Monit, that Domoticz was stopped. It is not possible that something is installed with a script on my raspberry ?
I don't use motion software. And I did not change anything on my Raspberry myself..........
Greetings.
-
- Posts: 265
- Joined: Monday 05 February 2018 8:42
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 12467
- Location: Netherlands, near Haarlem
- Contact:
Re: Domoticz stopped and does not start anymore
In that case: check if motion is installed indead:
Do you have a camera attached to your raspberry?
Code: Select all
sudo apt list --installed |grep motion
Domoticz 2020.1 (12230) on Raspberry Pi 3B with Raspian Buster. Besides Domoticz, Rpi is running Pi-Hole.
-
- Posts: 73
- Joined: Sunday 06 March 2016 23:56
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: Schaijk
- Contact:
Re: Domoticz stopped and does not start anymore
Hello,
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
motion/stable,now 4.1.1-1.1+b2 armhf [installed]
So it is installed. I have no camera attached to the raspberry Pi
Greetings,
Peter
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
motion/stable,now 4.1.1-1.1+b2 armhf [installed]
So it is installed. I have no camera attached to the raspberry Pi
Greetings,
Peter
-
- Posts: 265
- Joined: Monday 05 February 2018 8:42
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 12467
- Location: Netherlands, near Haarlem
- Contact:
Re: Domoticz stopped and does not start anymore
Then I would have removed motion. But have a close look on dependencies before saying yes to removal.
If you can remove motion without dependency problems, you should find out why motion is installed in the first place.
But without motion, Domoticz should be able to start.
Code: Select all
sudo apt remove motion
But without motion, Domoticz should be able to start.
Code: Select all
sudo systemctl start domoticz
Domoticz 2020.1 (12230) on Raspberry Pi 3B with Raspian Buster. Besides Domoticz, Rpi is running Pi-Hole.
-
- Posts: 73
- Joined: Sunday 06 March 2016 23:56
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: Schaijk
- Contact:
Re: Domoticz stopped and does not start anymore
Hello,
After the removal from "Motion" The port 8080 error was gone. I even had to place a old database back to get it running. I think that I killed soms stuff while trying to make Domoticz work. Thanks for the help !!
Greetings,
Peter
After the removal from "Motion" The port 8080 error was gone. I even had to place a old database back to get it running. I think that I killed soms stuff while trying to make Domoticz work. Thanks for the help !!
Greetings,
Peter
-
- Posts: 10
- Joined: Tuesday 21 February 2023 18:42
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Domoticz stopped and does not start anymore
Hi I have a similar issue.see attachment.
Are you still online and can help?
Gesendet von meinem CPH2343 mit Tapatalk
Are you still online and can help?
Gesendet von meinem CPH2343 mit Tapatalk
Who is online
Users browsing this forum: No registered users and 1 guest