Page 1 sur 2

installation sous ubunbtu

Publié : 19 août 2019, 20:07
par arnaud45
Bonsoir j'essaie d'installer domoticz sous ubuntu 18.04. Il est installé, mais je n'arrive pas me connecter lorsque je tape l'adresse IP dans un navigateur j’obtiens pour répons "le site n’autorise pas l'acces" . Dans un terminal si je tape "service domoticz status" j'obtiens :


● domoticz.service - LSB: Home Automation System
Loaded: loaded (/etc/init.d/domoticz.sh; generated)
Active: active (exited) since Mon 2019-08-19 19:40:58 CEST; 24min ago
Docs: man:systemd-sysv-generator(8)
Process: 912 ExecStart=/etc/init.d/domoticz.sh start (code=exited, status=0/SU

août 19 19:40:58 arnaud-IMEDIA-D9029 systemd[1]: Starting LSB: Home Automation S
août 19 19:40:58 arnaud-IMEDIA-D9029 systemd[1]: Started LSB: Home Automation Sy
lines 1-8/8 (END)

Est ce que quelqu'un peut m'aider ?
Cordialement.

Re: installation sous ubunbtu

Publié : 19 août 2019, 20:17
par arnaud45
J'ai essayé ceci:
arnaud@arnaud-IMEDIA-D9029:~$ /domoticz$ ./domoticz
bash: /domoticz$: Aucun fichier ou dossier de ce type
arnaud@arnaud-IMEDIA-D9029:~$ cd domticz
bash: cd: domticz: Aucun fichier ou dossier de ce type
arnaud@arnaud-IMEDIA-D9029:~$ cd domoticz
arnaud@arnaud-IMEDIA-D9029:~/domoticz$ ./domoticz
bash: ./domoticz: Aucun fichier ou dossier de ce type
arnaud@arnaud-IMEDIA-D9029:~/domoticz$ domoticz
domoticz : commande introuvable

Re: installation sous ubunbtu

Publié : 19 août 2019, 20:48
par arnaud45
j'ai également essayé ceci:

arnaud@arnaud-IMEDIA-D9029:~$ sudo netstat -paunt
Connexions Internet actives (serveurs et établies)
Proto Recv-Q Send-Q Adresse locale Adresse distante Etat PID/Program name
tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN 646/systemd-resolve
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 2684/cupsd
tcp 0 0 192.168.1.45:47722 216.58.204.106:443 ESTABLISHED 4224/firefox
tcp 0 0 192.168.1.45:38136 13.249.11.44:443 ESTABLISHED 4224/firefox
tcp 0 0 192.168.1.45:38916 34.211.132.103:443 ESTABLISHED 4224/firefox
tcp 0 0 192.168.1.45:44024 52.33.61.229:443 ESTABLISHED 4224/firefox
tcp 0 0 192.168.1.45:51562 93.184.220.29:80 ESTABLISHED 4224/firefox
tcp 0 0 192.168.1.45:47332 216.58.213.132:443 TIME_WAIT -
tcp 0 0 192.168.1.45:57258 35.224.99.156:80 TIME_WAIT -
tcp 0 0 192.168.1.45:47334 216.58.213.132:443 ESTABLISHED 4224/firefox
tcp6 0 0 ::1:631 :::* LISTEN 2684/cupsd
udp 0 0 0.0.0.0:5353 0.0.0.0:* 737/avahi-daemon: r
udp 0 0 0.0.0.0:60364 0.0.0.0:* 737/avahi-daemon: r
udp 0 0 127.0.0.53:53 0.0.0.0:* 646/systemd-resolve
udp 0 0 0.0.0.0:68 0.0.0.0:* 886/dhclient
udp 0 0 0.0.0.0:631 0.0.0.0:* 2685/cups-browsed
udp6 0 0 :::5353 :::* 737/avahi-daemon: r
udp6 0 0 :::49068 :::* 737/avahi-daemon: r

Re: installation sous ubunbtu

Publié : 19 août 2019, 20:53
par arnaud45
Et également ceci:

arnaud@arnaud-IMEDIA-D9029:~/domoticz$ ls
appveyor.yml History.txt msbuild tinyxpath
cereal httpclient notifications tools
CMakeCache.txt INSTALL.md patches updatebeta
CMakeFiles json plugins updatedomo
CMakeLists.txt License.txt push updaterelease
Config lua README.md webserver
domoticz_release.tgz main scripts www
domoticz.sh makebeta server_cert.pem zip
dzVents makerelease smtpclient zlib
getgit.cmake Manual sqlite
hardware MQTT tcpserver
arnaud@arnaud-IMEDIA-D9029:~/domoticz$ ./domoticz
bash: ./domoticz: Aucun fichier ou dossier de ce type


J'essaie de vous donner un maximum d'information. D'avance merci.

Re: installation sous ubunbtu

Publié : 19 août 2019, 21:02
par Chrominator
On ne sait pas quelle machine supporte ton installation, mais normalement domoticz est un peu construit pour tourner sur un raspberry pi.
Du coup c'est souvent cet utilisateur pi qui porte l'installation.

Sous quel profil as-tu installé Domoticz ?
Par quelle procédure ?
On dirait que tu as voulu compiler à partir du tarball.
Ce n'est pas utile à moins que tu veuilles le compiler avec des options spéciales.

Re: installation sous ubunbtu

Publié : 19 août 2019, 22:15
par Jeff
Si tu suis l'installation du wiki pour linux, cela se passe très bien. Tu dois un moment renommer ton user pour le service domoticz.
https://www.domoticz.com/wiki/Linux
C'est ce que tu as fait ?

Re: installation sous ubunbtu

Publié : 19 août 2019, 22:50
par vil1driver
Salut,

Passe en 19.04 avant toute chose.

Re: installation sous ubunbtu

Publié : 19 août 2019, 23:59
par Chrominator
A moins qu'il ne veuille faire évoluer sa distribution en janvier prochain, la dernière LTS est préférable - 18.04 supportée jusqu'en Avril 2021.

Re: installation sous ubunbtu

Publié : 20 août 2019, 00:08
par vil1driver
Domoticz devient très exigeant niveau dépendances que cette version ne permet pas de satisfaire.

Re: installation sous ubunbtu

Publié : 20 août 2019, 09:33
par arnaud45
Bonjour tout d'abord merci pour vos réponses.
J'essaie de l'installer sur un pc HP.
J'ai essayer la méthode dit facile expliqué sur le wiki, comme ca ne fonctionnait pas j'ai essayé l'autre methode mais je pense que j'ai dut rater quelque chose.
Je suis débutant.
Comment renommer le user est ce dans le fichier /etc/init.d/domoticz.sh ?
Je n'ai pas choisi de profil quand j'ai installé.
Je ne sais pas ce qu'est le tarball.