dbus failed to start
hubic-init-script version: 0.4.0
hubic version: 2.1.0 linux
debian 8.6 jessie
hubic.service - LSB: starts the hubiC synchronization client
Loaded: loaded (/etc/init.d/hubic)
Active: failed (Result: exit-code) since jeu. 2016-12-29 16:49:18 CET; 7s ago
Process: 32441 ExecStart=/etc/init.d/hubic start (code=exited, status=3)
déc. 29 16:49:18 marrco hubic[32441]: Starting hubiC failed!
déc. 29 16:49:18 marrco hubic[32441]: dbus failed to start ... failed!
déc. 29 16:49:18 marrco systemd[1]: hubic.service: control process exited, code=exited status=3
déc. 29 16:49:18 marrco systemd[1]: Failed to start LSB: starts the hubiC synchronization client.
déc. 29 16:49:18 marrco systemd[1]: Unit hubic.service entered failed state.
It seems that the dbus cannot be launched.
When I execute :
start-stop-daemon --chuid $USER --exec $DAEMONI get "/usr/bin/dbus-launch is already running" , and when I execute dbus-launchI get the right $DBUS variables.
So all works well when I do manually dbus-launch > /var/run/hubic.run but it doesn't work when I'm using the init script.
Can you point me in the right direction please ? Thx
Shit, never saw this until now... Still a problem or did you sort it out? I have a section dedicated to debugging problems. You might check that out to see where the errors arise. I am travelling until May without a computer so won't be of much help.
https://github.com/fatso83/hubic-init-script/blob/master/README.md#debugging-errors
Hi,
yes it's still a problem but it's very strange : it is working perfectly on first boot, that is : the dbus is ok and written in the hubic.run file. "Debugging" is ok, everything works fine.
But if I stop hubic (using sudo service hubic stop) and then restarting it, I get the aforementioned error (dbus failed to start because "dbus-launch is already running").
I don't know how dbus-launch is supposed to work, even after some google-searching. So at this point I'm just clueless.
Hmm ... thank you for responding. Like you, I am no expert at neither DBUS nor the new init script mechanisms. Not sure how to progress from here, I am afraid, as I don't have time to look into this atm.