Moin *,
auf einem CentOS7 habe ich das Paket 'eibd' via RPM installiert, allerdings nicht von CentOS/EPEL. Von Hand gestartet läuft alles gut. Ich scheitere aber nun daran, dies via systemd automatisch beim Systemstart einzubinden.
Hierzu habe ich eine Unit erstellt:
Der Start schlägt mit einem Timeout fehl:
Es scheint nicht am User zu liegen. Wenn ich den gegen meinen personaliserten User tausche, bekomme ich die selbe Fehlermeldung.
Wobei der manuelle Aufruf mit diesem User funktioniert:
Was läuft da schief?
TNX
cu, gehrke
auf einem CentOS7 habe ich das Paket 'eibd' via RPM installiert, allerdings nicht von CentOS/EPEL. Von Hand gestartet läuft alles gut. Ich scheitere aber nun daran, dies via systemd automatisch beim Systemstart einzubinden.
Hierzu habe ich eine Unit erstellt:
Code:
[root@smarthome ~]# cat /etc/systemd/system/eibd.service
[Unit]
Description=EIB Daemon
After=network.target
[Service]
ExecStart=/bin/eibd -p /run/eibd.pid -D -S -T -i --eibaddr=1.1.1 --daemon --no-tunnel-client-queuing ipt:knx
Type=forking
PIDFile=/run/eibd.pid
User=knx
[Install]
WantedBy=multi-user.target
Code:
[root@smarthome ~]# date; systemctl start eibd.service
So 3. Jul 13:43:16 CEST 2016
Job for eibd.service failed because a timeout was exceeded. See "systemctl status eibd.service" and "journalctl -xe" for details.
Code:
Jul 03 13:43:16 smarthome.gehrke.local polkitd[609]: Registered Authentication Agent for unix-process:3646:5324904 (system bus name :1.95 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale de_DE.UTF-8)
Jul 03 13:43:16 smarthome.gehrke.local systemd[1]: Starting EIB Daemon...
Jul 03 13:43:17 smarthome.gehrke.local systemd[1]: PID file /run/eibd.pid not readable (yet?) after start.
Jul 03 13:44:47 smarthome.gehrke.local systemd[1]: eibd.service start operation timed out. Terminating.
Jul 03 13:44:47 smarthome.gehrke.local systemd[1]: Failed to start EIB Daemon.
Jul 03 13:44:47 smarthome.gehrke.local systemd[1]: Unit eibd.service entered failed state.
Jul 03 13:44:47 smarthome.gehrke.local systemd[1]: eibd.service failed.
Jul 03 13:44:47 smarthome.gehrke.local polkitd[609]: Unregistered Authentication Agent for unix-process:3646:5324904 (system bus name :1.95, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale de_DE.UTF-8) (disconnected from bus)
Code:
[root@smarthome ~]# systemctl status eibd.service
● eibd.service - EIB Daemon
Loaded: loaded (/etc/systemd/system/eibd.service; enabled; vendor preset: disabled)
Active: failed (Result: timeout) since So 2016-07-03 13:44:47 CEST; 13min ago
Process: 3651 ExecStart=/bin/eibd -p /run/eibd.pid -D -S -T -i --eibaddr=1.1.1 --daemon --no-tunnel-client-queuing ipt:knx (code=exited, status=0/SUCCESS)
Main PID: 2042 (code=exited, status=0/SUCCESS)
Jul 03 13:43:16 smarthome.gehrke.local systemd[1]: Starting EIB Daemon...
Jul 03 13:43:17 smarthome.gehrke.local systemd[1]: PID file /run/eibd.pid not readable (yet?) after start.
Jul 03 13:44:47 smarthome.gehrke.local systemd[1]: eibd.service start operation timed out. Terminating.
Jul 03 13:44:47 smarthome.gehrke.local systemd[1]: Failed to start EIB Daemon.
Jul 03 13:44:47 smarthome.gehrke.local systemd[1]: Unit eibd.service entered failed state.
Jul 03 13:44:47 smarthome.gehrke.local systemd[1]: eibd.service failed.
Jul 03 13:48:07 smarthome.gehrke.local systemd[1]: Stopped EIB Daemon.
Wobei der manuelle Aufruf mit diesem User funktioniert:
Code:
[gehrke@smarthome ~]$ eibd -p /var/run/eibd.pid -D -S -T -i --eibaddr=1.1.1 --daemon --no-tunnel-client-queuing ipt:knx
[gehrke@smarthome ~]$ ps aux | grep eibd
gehrke 3826 0.0 0.1 21876 1080 ? Ss 14:26 0:00 eibd -p /var/run/eibd.pid -D -S -T -i --eibaddr=1.1.1 --daemon --no-tunnel-client-queuing ipt:knx
TNX
cu, gehrke