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

On various Hardware and OS systems: pi / windows / routers / nas, etc

Moderator: leecollings

Post Reply
mrevil08
Posts: 1
Joined: Tuesday 26 November 2019 21:59
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post 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.
sgsdebruijn
Posts: 12
Joined: Tuesday 04 August 2015 16:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post 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.
Visca
Posts: 1
Joined: Tuesday 01 October 2019 15:37
Target OS: Windows
Domoticz version:
Contact:

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

Post 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!
User avatar
sancla
Posts: 105
Joined: Wednesday 01 January 2020 23:01
Target OS: -
Domoticz version:
Contact:

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

Post 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/
Check these howto's: https://sancla.com
derinus
Posts: 3
Joined: Wednesday 21 November 2018 12:24
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post 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
User avatar
erem
Posts: 230
Joined: Tuesday 27 March 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Amsterdam/netherlands
Contact:

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

Post 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
Regards,

Rob
derinus
Posts: 3
Joined: Wednesday 21 November 2018 12:24
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post 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 :?:
User avatar
erem
Posts: 230
Joined: Tuesday 27 March 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Amsterdam/netherlands
Contact:

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

Post by erem »

@derinus

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

Rob
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

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

Post 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..
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
pocock
Posts: 66
Joined: Monday 17 September 2018 9:39
Target OS: Linux
Domoticz version:

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

Post by pocock »

Daniel Pocock, Debian Developer
https://danielpocock.com
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest