tl;dr Was läuft beim Start von qcontrol und qcontrold schief, dass ich die Dienste manuell starten muss?
nehmt mir die Überschrift nicht übel aber ich hadere mal wieder mit den Diensten und habe keine Ahnung wo ich ansetzten soll, auch weil ich nicht verstehe was eigentlich das Problem von meinem kleinem süßen qcontrol ist
![Wink ;)](./images/smilies/icon_wink.gif)
Es fängt damit an, dass es nun qcontrold und qcontrol unter services gibt…
Code: Alles auswählen
# service qcontrold status
● qcontrold.service - LSB: Start qcontrol daemon
Loaded: loaded (/etc/init.d/qcontrold; generated; vendor preset: enabled)
Active: inactive (dead)
Docs: man:systemd-sysv-generator(8)
![Wink ;)](./images/smilies/icon_wink.gif)
Code: Alles auswählen
# service qcontrol status
● qcontrol.service - LSB: Change status leds for QNAP Turbo Station devices
Loaded: loaded (/etc/init.d/qcontrol; generated; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2017-06-30 20:21:43 CEST; 4min 23s ago
Docs: man:systemd-sysv-generator(8)
Process: 2138 ExecStart=/etc/init.d/qcontrol start (code=exited, status=255)
Jun 30 20:21:43 nasque systemd[1]: Starting LSB: Change status leds for QNAP Turbo Station devices...
Jun 30 20:21:43 nasque qcontrol[2138]: System boot completed.
Jun 30 20:21:43 nasque qcontrol[2138]: Error connecting to socket: No such file or directory
Jun 30 20:21:43 nasque systemd[1]: qcontrol.service: Control process exited, code=exited status=255
Jun 30 20:21:43 nasque systemd[1]: Failed to start LSB: Change status leds for QNAP Turbo Station devices.
Jun 30 20:21:44 nasque systemd[1]: qcontrol.service: Unit entered failed state.
Jun 30 20:21:44 nasque systemd[1]: qcontrol.service: Failed with result 'exit-code'.
Code: Alles auswählen
# /etc/init.d/qcontrol stop
[ ok ] Stopping qcontrol (via systemctl): qcontrol.service.
Code: Alles auswählen
# /etc/init.d/qcontrol start
[....] Starting qcontrol (via systemctl): qcontrol.serviceJob for qcontrol.service failed because the control process exited with error code.
See "systemctl status qcontrol.service" and "journalctl -xe" for details.
failed!
Code: Alles auswählen
# systemctl status qcontrol.service
● qcontrol.service - LSB: Change status leds for QNAP Turbo Station devices
Loaded: loaded (/etc/init.d/qcontrol; generated; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2017-06-30 20:29:01 CEST; 1min 9s ago
Docs: man:systemd-sysv-generator(8)
Process: 2259 ExecStart=/etc/init.d/qcontrol start (code=exited, status=255)
Jun 30 20:29:01 nasque systemd[1]: Starting LSB: Change status leds for QNAP Turbo Station devices...
Jun 30 20:29:01 nasque qcontrol[2259]: System boot completed.
Jun 30 20:29:01 nasque qcontrol[2259]: Error connecting to socket: No such file or directory
Jun 30 20:29:01 nasque systemd[1]: qcontrol.service: Control process exited, code=exited status=255
Jun 30 20:29:01 nasque systemd[1]: Failed to start LSB: Change status leds for QNAP Turbo Station devices.
Jun 30 20:29:01 nasque systemd[1]: qcontrol.service: Unit entered failed state.
Jun 30 20:29:01 nasque systemd[1]: qcontrol.service: Failed with result 'exit-code'.
Interessanterweise habe ich inzwischen herausgefunden, dass ich zuerst(!) qcontrold über init.d stoppen muss, dann qcontrold darüber starten kann und dann qcontrol ebenso aus und schließlich erfolgreich anschalten kann. Für mich stellt sich nun die Frage, wie schaffe ich es, dass das System das alleine macht?? Das killen der Dienste muss wegen mir gar nicht sein, die Prozesse so zu starten, dass das danach läuft würde mir reichen
![Wink ;)](./images/smilies/icon_wink.gif)