Page 1 of 1

Desktop Raspberry Debian Buster deamon (No such file or directory)

Posted: Wednesday 27 November 2019 11:57
by mrevil08
Dear All,

I am trying to install Domoticz from scratch and are unable to get it working.
OS: Debian Buster Desktop Raspberry

<<<<Installation is fine with no errors>>>
curl -L https://install.domoticz.com | bash
Your system is up to date! Continuing with Domoticz installation...
::: Checking for apt-utils... installed!
::: Checking for whiptail... installed!
::: Checking for git... installed!
::: Checking for curl... installed!
::: Checking for unzip... installed!
::: Checking for wget... installed!
::: Checking for sudo... installed!
::: Checking for cron... installed!
::: Checking for libudev-dev... installed!
::: Checking for libcurl4... installed!
::: Checking for libusb-0.1... installed!
::: Downloading Domoticz
::: Current User: pi
HTTP Port: 8080
HTTPS Port: 443

<<<Troubleshooting>>>>
Domoticz is not reachable, also not with manual start service with or without root access, i find out daemon wont start, cannot find the file.

i@raspberry:~ $ sudo /etc/init.d/domoticz.sh status
● domoticz.service - LSB: Home Automation System
Loaded: loaded (/etc/init.d/domoticz.sh; generated)
Active: active (exited) since Wed 2019-11-27 10:22:52 CET; 1h 5min ago
Docs: man:systemd-sysv-generator(8)
Process: 2689 ExecStart=/etc/init.d/domoticz.sh start (code=exited, status=0/SUCCESS)

Nov 27 10:22:52 raspberry systemd[1]: Starting LSB: Home Automation System...
Nov 27 10:22:52 raspberry domoticz.sh[2689]: start-stop-daemon: unable to start /home/pi/domoticz/domoticz (No such file or directory)
Nov 27 10:22:52 raspberry systemd[1]: Started LSB: Home Automation System.

pi@raspberry:~ $ systemctl daemon-reload
pi@raspberry:~ $ systemctl enable domoticz.service
Failed to enable unit: Unit /run/systemd/generator.late/domoticz.service is transient or generated.

Can anyone help with the installation? my os is up-to-date with apt-get update.
Tryed it many times from scratch with clean OS the installation is not working.

Re: Desktop Raspberry Debian Buster deamon (No such file or directory)

Posted: Thursday 12 December 2019 20:10
by sgsdebruijn
Same problem here, Buster on Vmware.
Also tried the NTP trick, no solution

with sudo service domoticz status the following,

pi@Vm05Domoticz:~ $ sudo service domoticz status
● domoticz.service - LSB: Home Automation System
Loaded: loaded (/etc/init.d/domoticz.sh; generated)
Active: active (exited) since Thu 2019-12-12 20:06:40 CET; 3s ago
Docs: man:systemd-sysv-generator(8)
Process: 1385 ExecStart=/etc/init.d/domoticz.sh start (code=exited, status=0/SUCCESS)

Dec 12 20:06:40 Vm05Domoticz systemd[1]: Starting LSB: Home Automation System...
Dec 12 20:06:40 Vm05Domoticz domoticz.sh[1385]: start-stop-daemon: unable to start /home/pi/domoticz/domoticz (No such file or directory)
Dec 12 20:06:40 Vm05Domoticz systemd[1]: Started LSB: Home Automation System.

Re: Desktop Raspberry Debian Buster deamon (No such file or directory)

Posted: Friday 01 May 2020 11:57
by Visca
Hi,

Do any of you had this issue solved at any point, and how?

I've got the exact same problem and it's driving me mad!

Re: Desktop Raspberry Debian Buster deamon (No such file or directory)

Posted: Friday 01 May 2020 15:39
by sancla
Hey Guys,

I made a guide recently about installing Domoticz on Debian Buster, updated with the latest Domoticz 2020.
I used a virtualised Debian for that, should this be relevant.

Perhaps this can be of use for you:
https://sancla.com/domoticz/domoticz-on ... e-vsphere/

Re: Desktop Raspberry Debian Buster deamon (No such file or directory)

Posted: Monday 01 June 2020 16:11
by derinus
Same issue here. I reinstalled Domoticz but the error remains.

root@raspberrypi:/home/pi/domoticz# ./domoticz
bash: ./domoticz: No such file or directory

Re: Desktop Raspberry Debian Buster deamon (No such file or directory)

Posted: Tuesday 02 June 2020 10:50
by erem
@derinus

did you install domoticz as root?
domoticz installs in the home directory of the user installing the package, almost always username is pi, not root

just my $.02

Re: Desktop Raspberry Debian Buster deamon (No such file or directory)

Posted: Tuesday 02 June 2020 19:36
by derinus
Thanks @erem. I installed in /home/pi/domoticz/ The "domoticz" file exist and are owned by user "pi" (100% sure)

EDIT: Ok I found out what the problem is. :D
I had switched to a 64-bit kernel (still using 32-bit user libs)
After switching back to the 32-bit kernel and running ./updaterelease every was working fine again!

Raspberry OS 64-bit is still in beta. guess I need to wait installing that as well. I wonder if Domoticz runs on arm64 :?:

Re: Desktop Raspberry Debian Buster deamon (No such file or directory)

Posted: Wednesday 10 June 2020 18:16
by erem
@derinus

you can find domoticz compiled for x64 unix (cubie etc) here -> https://domoticaboard.nl/index.php?board=19.0

Re: Desktop Raspberry Debian Buster deamon (No such file or directory)

Posted: Wednesday 10 June 2020 18:25
by waaren
derinus wrote: Tuesday 02 June 2020 19:36 Raspberry OS 64-bit is still in beta. guess I need to wait installing that as well. I wonder if Domoticz runs on arm64 :?:
Yes it does but you have to compile on an arm64 as well.
Binaries compiled on arm64 do execute on 32 bits though..

Re: Desktop Raspberry Debian Buster deamon (No such file or directory)

Posted: Saturday 11 July 2020 10:37
by pocock